* bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 @ 2018-07-05 10:24 Nils Gillmann 2018-07-05 11:31 ` Tobias Geerinckx-Rice ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Nils Gillmann @ 2018-07-05 10:24 UTC (permalink / raw) To: 32058 Since I do not have the time to work on this, but there seems to be no open bug: mysql started a couple of commits ago (since last core-updates merge?) to fail its build. [ 62%] Linking CXX shared module group_replication.so cd /tmp/guix-build-mysql-5.7.21.drv-0/build/rapid/plugin/group_replication && /gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -E cmake_link_script CMakeFiles/group_replication.dir/link.txt --verbose=1 /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/c++ -fPIC -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -fPIC -shared -o group_replication.so CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/pax_msg.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_memory.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_vp_str.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_cfg.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_cache.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_transport.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/node_address.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_msg_queue.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_statistics.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/app_data.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/site_def.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_recover.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/task.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/bitset.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/simset.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/node_set.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_interface.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/node_list.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/task_debug.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/sock_probe.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/task_net.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/synode_no.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_detector.c.o CMakeFiles/group_replication.dir/xdr_gen/xcom_vp_xdr.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gcs_logging.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/xplatform/my_xp_cond.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/xplatform/my_xp_thread.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/xplatform/my_xp_mutex.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/xplatform/my_xp_util.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gcs_view.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gcs_types.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gcs_message.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gcs_member_identifier.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gcs_group_identifier.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/gcs_interface_factory.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_communication_interface.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_control_interface.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_group_management.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_internal_message.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_networking.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_utils.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_state_exchange.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_group_member_information.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_message_stages.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_view_identifier.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_interface.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_notification.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_message_stage_lz4.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_statistics_interface.cc.o CMakeFiles/group_replication.dir/src/applier.cc.o CMakeFiles/group_replication.dir/src/auto_increment.cc.o CMakeFiles/group_replication.dir/src/certifier.cc.o CMakeFiles/group_replication.dir/src/channel_observation_manager.cc.o CMakeFiles/group_replication.dir/src/delayed_plugin_initialization.cc.o CMakeFiles/group_replication.dir/src/gcs_event_handlers.cc.o CMakeFiles/group_replication.dir/src/gcs_logger.cc.o CMakeFiles/group_replication.dir/src/gcs_operations.cc.o CMakeFiles/group_replication.dir/src/gcs_plugin_messages.cc.o CMakeFiles/group_replication.dir/src/gcs_view_modification_notifier.cc.o CMakeFiles/group_replication.dir/src/group_partition_handling.cc.o CMakeFiles/group_replication.dir/src/member_info.cc.o CMakeFiles/group_replication.dir/src/observer_server_actions.cc.o CMakeFiles/group_replication.dir/src/observer_server_channels.cc.o CMakeFiles/group_replication.dir/src/observer_server_state.cc.o CMakeFiles/group_replication.dir/src/observer_trans.cc.o CMakeFiles/group_replication.dir/src/pipeline_factory.cc.o CMakeFiles/group_replication.dir/src/pipeline_stats.cc.o CMakeFiles/group_replication.dir/src/plugin.cc.o CMakeFiles/group_replication.dir/src/plugin_psi.cc.o CMakeFiles/group_replication.dir/src/plugin_utils.cc.o CMakeFiles/group_replication.dir/src/ps_information.cc.o CMakeFiles/group_replication.dir/src/read_mode_handler.cc.o CMakeFiles/group_replication.dir/src/recovery.cc.o CMakeFiles/group_replication.dir/src/recovery_channel_state_observer.cc.o CMakeFiles/group_replication.dir/src/applier_channel_state_observer.cc.o CMakeFiles/group_replication.dir/src/asynchronous_channels_state_observer.cc.o CMakeFiles/group_replication.dir/src/recovery_message.cc.o CMakeFiles/group_replication.dir/src/recovery_state_transfer.cc.o CMakeFiles/group_replication.dir/src/replication_threads_api.cc.o CMakeFiles/group_replication.dir/src/single_primary_message.cc.o CMakeFiles/group_replication.dir/src/member_version.cc.o CMakeFiles/group_replication.dir/src/compatibility_module.cc.o CMakeFiles/group_replication.dir/src/handlers/applier_handler.cc.o CMakeFiles/group_replication.dir/src/handlers/certification_handler.cc.o CMakeFiles/group_replication.dir/src/handlers/event_cataloger.cc.o CMakeFiles/group_replication.dir/src/sql_service/sql_resultset.cc.o CMakeFiles/group_replication.dir/src/sql_service/sql_service_context.cc.o CMakeFiles/group_replication.dir/src/sql_service/sql_service_context_base.cc.o CMakeFiles/group_replication.dir/src/sql_service/sql_service_interface.cc.o CMakeFiles/group_replication.dir/src/sql_service/sql_command_test.cc.o CMakeFiles/group_replication.dir/src/sql_service/sql_service_command.cc.o -Wl,-rpath,:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -lpthread ../../../archive_output_directory/libmysqlservices.a ../../../archive_output_directory/liblz4_lib.a -lssl -lcrypto -ldl -lpthread make[2]: Leaving directory '/tmp/guix-build-mysql-5.7.21.drv-0/build' [ 62%] Built target group_replication make[1]: Leaving directory '/tmp/guix-build-mysql-5.7.21.drv-0/build' make: *** [Makefile:166: all] Error 2 Backtrace: 4 (primitive-load "/gnu/store/k67zrr43w7fzg5p0afaca39f952?") In ice-9/eval.scm: 191:35 3 (_ _) In srfi/srfi-1.scm: 640:9 2 (for-each #<procedure a341c0 at /gnu/store/qzsljkcllc0?> ?) In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm: 799:31 1 (_ _) In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm: 616:6 0 (invoke _ . _) /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:616:6: In procedure invoke: Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "2") exit-status: 2 term-signal: #f stop-signal: #f] 68f800>)'. builder for `/gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv' failed with exit code 1 @ build-failed /gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv - 1 builder for `/gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv' failed with exit code 1 derivation '/gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv' offloaded to 'cult.of.n0.is' failed: build of `/gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv' failed @ build-failed /gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv - 1 builder for `/gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv' failed with exit code 100 guix build: error: build failed: build of `/gnu/store/jp88v9kdlbgj63z8q6g8fq0wsdnm52ba-mysql-5.7.21.drv' failed ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 2018-07-05 10:24 bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Nils Gillmann @ 2018-07-05 11:31 ` Tobias Geerinckx-Rice 2018-07-05 13:47 ` Nils Gillmann 2018-07-05 11:34 ` Ricardo Wurmus 2018-08-15 23:15 ` bug#32058: [PATCH] gnu: mysql: Fix build Tobias Geerinckx-Rice 2 siblings, 1 reply; 9+ messages in thread From: Tobias Geerinckx-Rice @ 2018-07-05 11:31 UTC (permalink / raw) To: Nils Gillmann; +Cc: 32058 ng0, Thanks! Nils Gillmann wrote: > Since I do not have the time to work on this, but there seems to > be no open bug: > > mysql started a couple of commits ago (since last core-updates > merge?) to fail > its build. I noticed this yesterday, too. In the meantime, I've tried updating MySQL to 5.7.22 (one never knows) and poking at some random bits but that didn't help. > [build output snipped] There's actually an error message[0]. Did it not show up in your logs? I'd consider that a bug too. If I had to guess I'd say that a GCC bump's to blame. Or maybe Boost, though that seems unlikely. Unfortunately, I also don't have the time to debug this now or indeed the next month. Kind regards, T G-R [0]: /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc: In function ‘void handle_gis_exception(const char*)’: /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected unqualified-id before ‘&’ token catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected ‘)’ before ‘&’ token /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected ‘{’ before ‘&’ token /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:82: error: expected primary-expression before ‘)’ token catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:42:3: error: expected primary-expression before ‘catch’ catch (const boost::geometry::empty_input_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:46:3: error: expected primary-expression before ‘catch’ catch (const boost::geometry::inconsistent_turns_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:50:3: error: expected primary-expression before ‘catch’ catch (const boost::geometry::exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:54:3: error: expected primary-expression before ‘catch’ catch (const std::bad_alloc &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:58:3: error: expected primary-expression before ‘catch’ catch (const std::domain_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:62:3: error: expected primary-expression before ‘catch’ catch (const std::length_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:66:3: error: expected primary-expression before ‘catch’ catch (const std::invalid_argument &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:70:3: error: expected primary-expression before ‘catch’ catch (const std::out_of_range &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:74:3: error: expected primary-expression before ‘catch’ catch (const std::overflow_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:78:3: error: expected primary-expression before ‘catch’ catch (const std::range_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:82:3: error: expected primary-expression before ‘catch’ catch (const std::underflow_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:86:3: error: expected primary-expression before ‘catch’ catch (const std::logic_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:90:3: error: expected primary-expression before ‘catch’ catch (const std::runtime_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:94:3: error: expected primary-expression before ‘catch’ catch (const std::exception &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:98:3: error: expected primary-expression before ‘catch’ catch (...) ^ make[2]: *** [sql/CMakeFiles/sql.dir/build.make:583: sql/CMakeFiles/sql.dir/item_geofunc_internal.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/guix-build-mysql-5.7.21.drv-0/build' ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 2018-07-05 11:31 ` Tobias Geerinckx-Rice @ 2018-07-05 13:47 ` Nils Gillmann 2018-07-05 20:04 ` Ricardo Wurmus 0 siblings, 1 reply; 9+ messages in thread From: Nils Gillmann @ 2018-07-05 13:47 UTC (permalink / raw) To: Tobias Geerinckx-Rice; +Cc: 32058, Nils Gillmann Tobias Geerinckx-Rice transcribed 5.0K bytes: > ng0, > > Thanks! > > Nils Gillmann wrote: > > Since I do not have the time to work on this, but there seems to be no > > open bug: > > > > mysql started a couple of commits ago (since last core-updates merge?) > > to fail > > its build. > > I noticed this yesterday, too. In the meantime, I've tried updating MySQL to > 5.7.22 (one never knows) and poking at some random bits but that didn't > help. > > > [build output snipped] > > There's actually an error message[0]. Did it not show up in your logs? I'd > consider that a bug too. Odd. I think this was by accident. Here it is: [ 72%] Building CXX object rapid/plugin/x/CMakeFiles/mysqlx.dir/src/expr_generator.cc.o cd /tmp/guix-build-mysql-5.7.21.drv-0/build/rapid/plugin/x && /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_NO_AUTO_PTR -DHAVE_CONFIG_H -DHAVE_LIBEVENT1 -DHAVE_OPENSSL -DMYSQL_DYNAMIC_PLUGIN -DXP LUGIN_LOG_PROTOBUF -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dmysqlx_EXPORTS -I/tmp/guix-build-mysql-5.7.21.drv-0/build/include -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/extra/rapidjson/include -I/tmp/guix-build-mysql-5.7.21.drv-0/buil d/libbinlogevents/include -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/libbinlogevents/export -isystem /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/extra/protobuf/protobuf-2.6.1/src -I/tmp/guix-build-mysql-5.7.21.drv-0/build/rapid/ plugin/x -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x/protocol/errors -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x/src -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x -I/tmp/guix-bui ld-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x/ngs/include -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/include -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x/include/mysql -I/tmp/guix-build-mysql-5.7.21.drv-0/bui ld/rapid/plugin/x/generated -I/gnu/store/4n6v2zp5mslq2784j878dmfzzj4vvmza-openssl-1.0.2o/include -I/gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/include -isystem /gnu/store/l6hqfwr1hcbn9rg56bwn2d41g2ai36h2-boost-1.66.0/include -i system /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/libevent -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/libbinlogevents/include -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7. 21/sql/auth -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/regex -I/tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x/mysqlxtest_src/common -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parame ter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -fPIC -I/tmp/guix-build-mysql-5.7.21.drv-0/build/rapid/plugin/x/generated/protobuf_lite -o CMakeFiles/mysqlx.dir/src/expr_generator.cc.o -c /tmp/guix-buil d-mysql-5.7.21.drv-0/mysql-5.7.21/rapid/plugin/x/src/expr_generator.cc /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc: In function ‘void handle_gis_exception(const char*)’: /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected unqualified-id before ‘&’ token catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected ‘)’ before ‘&’ token /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected ‘{’ before ‘&’ token /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:82: error: expected primary-expression before ‘)’ token catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:42:3: error: expected primary-expression before ‘catch’ catch (const boost::geometry::empty_input_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:46:3: error: expected primary-expression before ‘catch’ ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:50:3: error: expected primary-expression before ‘catch’ catch (const boost::geometry::exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:54:3: error: expected primary-expression before ‘catch’ catch (const std::bad_alloc &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:58:3: error: expected primary-expression before ‘catch’ catch (const std::domain_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:62:3: error: expected primary-expression before ‘catch’ catch (const std::length_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:66:3: error: expected primary-expression before ‘catch’ catch (const std::invalid_argument &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:70:3: error: expected primary-expression before ‘catch’ catch (const std::out_of_range &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:74:3: error: expected primary-expression before ‘catch’ catch (const std::overflow_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:78:3: error: expected primary-expression before ‘catch’ catch (const std::range_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:82:3: error: expected primary-expression before ‘catch’ catch (const std::underflow_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:86:3: error: expected primary-expression before ‘catch’ catch (const std::logic_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:90:3: error: expected primary-expression before ‘catch’ catch (const std::runtime_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:94:3: error: expected primary-expression before ‘catch’ catch (const std::exception &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:98:3: error: expected primary-expression before ‘catch’ catch (...) ^ make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/build.make:1116: libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc_internal.cc.o] Error 1 make[2]: Leaving directory '/tmp/guix-build-mysql-5.7.21.drv-0/build' make[1]: *** [CMakeFiles/Makefile2:8268: libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... > If I had to guess I'd say that a GCC bump's to blame. Or maybe Boost, though > that seems unlikely. > > Unfortunately, I also don't have the time to debug this now or indeed the > next month. > > Kind regards, > > T G-R > > [0]: > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc: > In function ‘void handle_gis_exception(const char*)’: > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: > error: expected unqualified-id before ‘&’ token > catch (const > boost::geometry::detail::self_get_turn_points::self_ip_exception &) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: > error: expected ‘)’ before ‘&’ token > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: > error: expected ‘{’ before ‘&’ token > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:82: > error: expected primary-expression before ‘)’ token > catch (const > boost::geometry::detail::self_get_turn_points::self_ip_exception &) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:42:3: > error: expected primary-expression before ‘catch’ > catch (const boost::geometry::empty_input_exception &) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:46:3: > error: expected primary-expression before ‘catch’ > catch (const boost::geometry::inconsistent_turns_exception &) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:50:3: > error: expected primary-expression before ‘catch’ > catch (const boost::geometry::exception &) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:54:3: > error: expected primary-expression before ‘catch’ > catch (const std::bad_alloc &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:58:3: > error: expected primary-expression before ‘catch’ > catch (const std::domain_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:62:3: > error: expected primary-expression before ‘catch’ > catch (const std::length_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:66:3: > error: expected primary-expression before ‘catch’ > catch (const std::invalid_argument &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:70:3: > error: expected primary-expression before ‘catch’ > catch (const std::out_of_range &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:74:3: > error: expected primary-expression before ‘catch’ > catch (const std::overflow_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:78:3: > error: expected primary-expression before ‘catch’ > catch (const std::range_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:82:3: > error: expected primary-expression before ‘catch’ > catch (const std::underflow_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:86:3: > error: expected primary-expression before ‘catch’ > catch (const std::logic_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:90:3: > error: expected primary-expression before ‘catch’ > catch (const std::runtime_error &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:94:3: > error: expected primary-expression before ‘catch’ > catch (const std::exception &e) > ^ > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:98:3: > error: expected primary-expression before ‘catch’ > catch (...) > ^ > make[2]: *** [sql/CMakeFiles/sql.dir/build.make:583: > sql/CMakeFiles/sql.dir/item_geofunc_internal.cc.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory '/tmp/guix-build-mysql-5.7.21.drv-0/build' ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 2018-07-05 13:47 ` Nils Gillmann @ 2018-07-05 20:04 ` Ricardo Wurmus 2018-07-05 21:03 ` Nils Gillmann 0 siblings, 1 reply; 9+ messages in thread From: Ricardo Wurmus @ 2018-07-05 20:04 UTC (permalink / raw) To: Nils Gillmann; +Cc: 32058 Nils Gillmann <ng0@n0.is> writes: > Tobias Geerinckx-Rice transcribed 5.0K bytes: >> ng0, >> >> Thanks! >> >> Nils Gillmann wrote: >> > Since I do not have the time to work on this, but there seems to be no >> > open bug: >> > >> > mysql started a couple of commits ago (since last core-updates merge?) >> > to fail >> > its build. >> >> I noticed this yesterday, too. In the meantime, I've tried updating MySQL to >> 5.7.22 (one never knows) and poking at some random bits but that didn't >> help. >> >> > [build output snipped] >> >> There's actually an error message[0]. Did it not show up in your logs? I'd >> consider that a bug too. > > Odd. I think this was by accident. Here it is: This happens when building in parallel; the actual error that caused the build to terminate could have occurred hundreds of lines earlier when another independent make processes is still running. Anyway, thanks for providing the error message. > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc: In function ‘void > handle_gis_exception(const char*)’: > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected > unqualified-id before ‘&’ token > catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) The Internet tells me that mysql is very picky about which versions of boost it build with. We use boost 1.66.0 now. The mysql package definition contains this comment: ;; Mysql wants boost-1.59.0 specifically and then we proceed to just replace 59 for whatever minor version it is we are using. Should we just upgrade to the latest version 8.0.11? -- Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 2018-07-05 20:04 ` Ricardo Wurmus @ 2018-07-05 21:03 ` Nils Gillmann 0 siblings, 0 replies; 9+ messages in thread From: Nils Gillmann @ 2018-07-05 21:03 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: 32058, Nils Gillmann Ricardo Wurmus transcribed 1.7K bytes: > > Nils Gillmann <ng0@n0.is> writes: > > > Tobias Geerinckx-Rice transcribed 5.0K bytes: > >> ng0, > >> > >> Thanks! > >> > >> Nils Gillmann wrote: > >> > Since I do not have the time to work on this, but there seems to be no > >> > open bug: > >> > > >> > mysql started a couple of commits ago (since last core-updates merge?) > >> > to fail > >> > its build. > >> > >> I noticed this yesterday, too. In the meantime, I've tried updating MySQL to > >> 5.7.22 (one never knows) and poking at some random bits but that didn't > >> help. > >> > >> > [build output snipped] > >> > >> There's actually an error message[0]. Did it not show up in your logs? I'd > >> consider that a bug too. > > > > Odd. I think this was by accident. Here it is: > > This happens when building in parallel; the actual error that caused the > build to terminate could have occurred hundreds of lines earlier when > another independent make processes is still running. > > Anyway, thanks for providing the error message. > > > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc: In function ‘void > > handle_gis_exception(const char*)’: > > /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.cc:37:81: error: expected > > unqualified-id before ‘&’ token > > catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) > > The Internet tells me that mysql is very picky about which versions of > boost it build with. We use boost 1.66.0 now. > > The mysql package definition contains this comment: > > ;; Mysql wants boost-1.59.0 specifically > > and then we proceed to just replace 59 for whatever minor version it is > we are using. > > Should we just upgrade to the latest version 8.0.11? It's worth a try. Given that we just have 4 dependent packages for mysql it could simply be applied. Since mariadb usually just works in place of mysql (https://mariadb.com/kb/en/library/mariadb-vs-mysql-compatibility/), could we attempt to replace and support mysql in kodi with mariadb? They seem to support mariadb (https://kodi.wiki/view/MySQL): MySQL Protocol & MariaDB When setting up shared Library databases either MySQL or Maria DB can be used as they both use the same MySQL protocol. Since many Linux distributions have dropped including MySQL and now instead now ship MariaDB it is being more common to use MariaDB for shared Library databases. > -- > Ricardo > ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 2018-07-05 10:24 bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Nils Gillmann 2018-07-05 11:31 ` Tobias Geerinckx-Rice @ 2018-07-05 11:34 ` Ricardo Wurmus 2018-08-15 23:15 ` bug#32058: [PATCH] gnu: mysql: Fix build Tobias Geerinckx-Rice 2 siblings, 0 replies; 9+ messages in thread From: Ricardo Wurmus @ 2018-07-05 11:34 UTC (permalink / raw) To: Nils Gillmann; +Cc: 32058 Nils Gillmann <ng0@n0.is> writes: > Since I do not have the time to work on this, but there seems to be no open bug: > > mysql started a couple of commits ago (since last core-updates merge?) to fail > its build. It looks like you omitted the actual error message that caused make to exit. -- Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: [PATCH] gnu: mysql: Fix build. 2018-07-05 10:24 bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Nils Gillmann 2018-07-05 11:31 ` Tobias Geerinckx-Rice 2018-07-05 11:34 ` Ricardo Wurmus @ 2018-08-15 23:15 ` Tobias Geerinckx-Rice 2018-08-16 15:30 ` Marius Bakke 2 siblings, 1 reply; 9+ messages in thread From: Tobias Geerinckx-Rice @ 2018-08-15 23:15 UTC (permalink / raw) To: 32058 MySQL demands boost@1.59.0, and lying about it no longer works: sql/item_geofunc_internal.cc: In function ‘void handle_gis_exception(const char*)’: sql/item_geofunc_internal.cc:37:81: error: expected unqualified-id before ‘&’ token catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) ^ [...] * gnu/packages/databases.scm (boost-for-mysql): New variable. (mysql)[inputs]: Use that instead of the regular boost. [arguments]: Remove now-unnecessary ‘patch-boost-version’ phase. --- ng0, Ricardo, I went on holiday and forgot about this bug. A healthy sign. Here's the straightforward fix to unbreak the current build. I suggest we get 5.x working soon (I'll bump it to 5.7.23 if this fix is acceptable) and update to 8.x later, when/if somebody's willing to work on it. I'm not. Kind regards, T G-R gnu/packages/databases.scm | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 87c925a6b..cb77edeaf 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -548,6 +548,22 @@ RDBMS systems (which are deep in functionality).") ;; Some parts are licensed under the Apache License license:asl2.0)))) +(define boost-for-mysql + (package + (inherit boost) + (version "1.59.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/boost/boost/" version "/boost_" + (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version) + ".tar.bz2")) + (sha256 + (base32 + "1jj1aai5rdmd72g90a3pd8sw9vi32zad46xv5av8fhnr48ir6ykj")))))) + +;; XXX When updating, check whether boost-for-mysql is still needed. +;; It might suffice to patch ‘cmake/boost.cmake’ as done in the past. (define-public mysql (package (name "mysql") @@ -588,15 +604,6 @@ RDBMS systems (which are deep in functionality).") "-DINSTALL_MYSQLTESTDIR=" "-DINSTALL_SQLBENCHDIR=") #:phases (modify-phases %standard-phases - (add-after - 'unpack 'patch-boost-version - (lambda _ - ;; Mysql wants boost-1.59.0 specifically - (substitute* "cmake/boost.cmake" - (("59") - ,(match (string-split (package-version boost) #\.) - ((_ minor . _) minor)))) - #t)) (add-after 'install 'remove-extra-binaries (lambda* (#:key outputs #:allow-other-keys) @@ -611,7 +618,7 @@ RDBMS systems (which are deep in functionality).") `(("bison" ,bison) ("perl" ,perl))) (inputs - `(("boost" ,boost) + `(("boost" ,boost-for-mysql) ("libaio" ,libaio) ("ncurses" ,ncurses) ("openssl" ,openssl) -- 2.18.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* bug#32058: [PATCH] gnu: mysql: Fix build. 2018-08-15 23:15 ` bug#32058: [PATCH] gnu: mysql: Fix build Tobias Geerinckx-Rice @ 2018-08-16 15:30 ` Marius Bakke 2018-08-20 18:33 ` Tobias Geerinckx-Rice 0 siblings, 1 reply; 9+ messages in thread From: Marius Bakke @ 2018-08-16 15:30 UTC (permalink / raw) To: Tobias Geerinckx-Rice, 32058 [-- Attachment #1: Type: text/plain, Size: 869 bytes --] Tobias Geerinckx-Rice <me@tobias.gr> writes: > MySQL demands boost@1.59.0, and lying about it no longer works: > > sql/item_geofunc_internal.cc: In function ‘void handle_gis_exception(const char*)’: > sql/item_geofunc_internal.cc:37:81: error: expected unqualified-id before ‘&’ token > catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) > ^ > [...] > > * gnu/packages/databases.scm (boost-for-mysql): New variable. > (mysql)[inputs]: Use that instead of the regular boost. > [arguments]: Remove now-unnecessary ‘patch-boost-version’ phase. Ouch. Boost is a *huge* library, but now that we no longer use the MySQL package as the main MySQL library (e.g. for Qt), giving it a different boost version seems reasonable to me. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32058: [PATCH] gnu: mysql: Fix build. 2018-08-16 15:30 ` Marius Bakke @ 2018-08-20 18:33 ` Tobias Geerinckx-Rice 0 siblings, 0 replies; 9+ messages in thread From: Tobias Geerinckx-Rice @ 2018-08-20 18:33 UTC (permalink / raw) To: 32058-done Marius Bakke wrote: > Tobias Geerinckx-Rice <me@tobias.gr> writes: [...] >> * gnu/packages/databases.scm (boost-for-mysql): New variable. >> (mysql)[inputs]: Use that instead of the regular boost. >> [arguments]: Remove now-unnecessary ‘patch-boost-version’ >> phase. > > Ouch. Boost is a *huge* library, but now that we no longer use > the > MySQL package as the main MySQL library (e.g. for Qt), giving it > a > different boost version seems reasonable to me. Pushed in 7cbf06d8c2935abfc6c688cf3f9b99e0e5393960, bumped in 8ecf3f7ea515d555e978bea3c1610d44345a44ee. Thanks! T G-R ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-08-20 18:33 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-07-05 10:24 bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Nils Gillmann 2018-07-05 11:31 ` Tobias Geerinckx-Rice 2018-07-05 13:47 ` Nils Gillmann 2018-07-05 20:04 ` Ricardo Wurmus 2018-07-05 21:03 ` Nils Gillmann 2018-07-05 11:34 ` Ricardo Wurmus 2018-08-15 23:15 ` bug#32058: [PATCH] gnu: mysql: Fix build Tobias Geerinckx-Rice 2018-08-16 15:30 ` Marius Bakke 2018-08-20 18:33 ` Tobias Geerinckx-Rice
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).