MySQL++

Ticket Change Details
Login
Overview

Artifact ID: c5b4c683c1864a9937927f3cef43a0c25554d840d44c7ea161c7225931b6879e
Ticket: 703152e2da0c96f18970cc860dc5d6c16b4c3675
build error with MySQL 8.3
User & Date: anonymous 2024-01-17 23:13:02
Changes

  1. foundin changed to: "3.3.0"
  2. icomment:
    Hi, Homebrew maintainer here.
    We are seeing a build error when trying to build with MySQL 8.3.0 due to some API deprecations - https://dev.mysql.com/doc/relnotes/mysql/8.3/en/news-8-3-0.html#mysqld-8-3-0-deprecation-removal
    
    ```
    
    024-01-17T12:12:10.7876370Z clang++ -std=gnu++11 -c -o mysqlpp_cpool.o -I. -I/opt/homebrew/opt/mysql-client/include/mysql -dynamic -fPIC -DPIC  -g -O2 -fno-common ./lib/cpool.cpp
    2024-01-17T12:12:10.7877430Z In file included from ./lib/connection.cpp:30:
    2024-01-17T12:12:10.7878130Z ./lib/dbdriver.h:395:11: error: use of undeclared identifier 'mysql_kill'
    2024-01-17T12:12:10.7878750Z                 return !mysql_kill(&mysql_, tid);
    2024-01-17T12:12:10.7879150Z                         ^
    2024-01-17T12:12:10.7879730Z ./lib/dbdriver.h:495:11: error: use of undeclared identifier 'mysql_refresh'
    2024-01-17T12:12:10.7880400Z                 return !mysql_refresh(&mysql_, options);
    2024-01-17T12:12:10.7880820Z                         ^
    2024-01-17T12:12:10.7881860Z clang++ -std=gnu++11 -c -o mysqlpp_datetime.o -I. -I/opt/homebrew/opt/mysql-client/include/mysql -dynamic -fPIC -DPIC  -g -O2 -fno-common ./lib/datetime.cpp
    2024-01-17T12:12:10.7883580Z clang++ -std=gnu++11 -c -o mysqlpp_dbdriver.o -I. -I/opt/homebrew/opt/mysql-client/include/mysql -dynamic -fPIC -DPIC  -g -O2 -fno-common ./lib/dbdriver.cpp
    2024-01-17T12:12:10.7885380Z clang++ -std=gnu++11 -c -o mysqlpp_field_names.o -I. -I/opt/homebrew/opt/mysql-client/include/mysql -dynamic -fPIC -DPIC  -g -O2 -fno-common ./lib/field_names.cpp
    2024-01-17T12:12:10.7886480Z In file included from ./lib/dbdriver.cpp:27:
    2024-01-17T12:12:10.7887160Z ./lib/dbdriver.h:395:11: error: use of undeclared identifier 'mysql_kill'
    2024-01-17T12:12:10.7887770Z                 return !mysql_kill(&mysql_, tid);
    2024-01-17T12:12:10.7888170Z                         ^
    2024-01-17T12:12:10.7888750Z ./lib/dbdriver.h:495:11: error: use of undeclared identifier 'mysql_refresh'
    2024-01-17T12:12:10.7889420Z                 return !mysql_refresh(&mysql_, options);
    2024-01-17T12:12:10.7889840Z                         ^
    2024-01-17T12:12:10.7890140Z 2 errors generated.
    ```
    
    It looks like this project has not had any recent development, so we will likely have to deprecate.
    
    https://github.com/Homebrew/homebrew-core/pull/160037
    
  3. login: "anonymous"
  4. mimetype: "text/x-markdown"
  5. private_contact changed to: "b5781ffa8b11c8d6f443ae83340b5a9927af8958"
  6. severity changed to: "Critical"
  7. status changed to: "Open"
  8. title changed to: "build error with MySQL 8.3"
  9. type changed to: "Build Failure"