Details
-
Bug
-
Status: Stalled (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.5(EOL), 10.6, 10.11, 11.4, 11.8, 12.3
-
Model Identifier: MacPro5,1
macOS 15.7.1 24G231 x86_64.
Xcode 26.1.1 17B100
Command Line Tools 26.1.0.0.1.1761104275
Model Identifier: Mac14,3
macOS 26.2 25C56 arm64
Xcode not installed
Command Line Tools 26.2.0.0.1.1764812424
MacPorts https://guide.macports.org/
Description
mariadb-LTS : update versions, boost188, new LTS ports 11.8, 12.3#28680
When switching from PortGroup cmake 1.0 to 1.1 the following issues appeared :
make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/my_json_writer.cc.o] Error 1 |
make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2 |
make[2]: *** [sql/CMakeFiles/sql.dir/my_json_writer.cc.o] Error 1 |
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2 |
make: *** [all] Error 2 |
DEBUG: Error code: CHILDSTATUS 49126 2 |
mariadb-12.3.1/sql/my_json_writer.cc:260:31: error: use of undeclared identifier 'named_item_expected' |
mariadb-12.3.1/sql/my_json_writer.cc:260:19: error: use of undeclared identifier 'got_name' |
mariadb-12.3.1/sql/my_json_writer.cc:293:31: error: use of undeclared identifier 'named_item_expected' |
mariadb-12.3.1/sql/my_json_writer.cc:293:19: error: use of undeclared identifier 'got_name' |
It seems to be caused by missing :
#if !defined(NDEBUG) || defined(JSON_WRITER_UNIT_TEST) |
...
|
#endif
|
around the VALIDITY_ASSERT parts of the two functions :
Json_writer::add_unquoted_str
|
Json_writer::add_str
|
in sql/my_json_writer.cc
Patch-files for all the LTS versions can be found in the above PR28680