Package: guix;
Reported by: Nils Gillmann <ng0 <at> n0.is>
Date: Thu, 5 Jul 2018 10:25:02 UTC
Severity: normal
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32058 in the body.
You can then email your comments to 32058 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Thu, 05 Jul 2018 10:25:02 GMT) Full text and rfc822 format available.Nils Gillmann <ng0 <at> n0.is>
:bug-guix <at> gnu.org
.
(Thu, 05 Jul 2018 10:25:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Nils Gillmann <ng0 <at> n0.is> To: bug-guix <at> gnu.org Subject: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Date: Thu, 5 Jul 2018 10:24:34 +0000
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
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Thu, 05 Jul 2018 11:32:02 GMT) Full text and rfc822 format available.Message #8 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Tobias Geerinckx-Rice <me <at> tobias.gr> To: Nils Gillmann <ng0 <at> n0.is> Cc: 32058 <at> debbugs.gnu.org Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Date: Thu, 05 Jul 2018 13:31:53 +0200
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'
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Thu, 05 Jul 2018 13:47:01 GMT) Full text and rfc822 format available.Message #11 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Nils Gillmann <ng0 <at> n0.is> To: Tobias Geerinckx-Rice <me <at> tobias.gr> Cc: 32058 <at> debbugs.gnu.org, Nils Gillmann <ng0 <at> n0.is> Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Date: Thu, 5 Jul 2018 13:47:00 +0000
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'
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Thu, 05 Jul 2018 15:21:02 GMT) Full text and rfc822 format available.Message #14 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Ricardo Wurmus <rekado <at> elephly.net> To: Nils Gillmann <ng0 <at> n0.is> Cc: 32058 <at> debbugs.gnu.org Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Date: Thu, 05 Jul 2018 13:34:33 +0200
Nils Gillmann <ng0 <at> 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
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Thu, 05 Jul 2018 21:04:02 GMT) Full text and rfc822 format available.Message #17 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Nils Gillmann <ng0 <at> n0.is> To: Ricardo Wurmus <rekado <at> elephly.net> Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 32058 <at> debbugs.gnu.org, Nils Gillmann <ng0 <at> n0.is> Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Date: Thu, 5 Jul 2018 21:03:44 +0000
Ricardo Wurmus transcribed 1.7K bytes: > > Nils Gillmann <ng0 <at> 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 >
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Sat, 07 Jul 2018 07:53:01 GMT) Full text and rfc822 format available.Message #20 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Ricardo Wurmus <rekado <at> elephly.net> To: Nils Gillmann <ng0 <at> n0.is> Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 32058 <at> debbugs.gnu.org Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Date: Thu, 05 Jul 2018 22:04:52 +0200
Nils Gillmann <ng0 <at> 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
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Wed, 15 Aug 2018 23:16:02 GMT) Full text and rfc822 format available.Message #23 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Tobias Geerinckx-Rice <me <at> tobias.gr> To: 32058 <at> debbugs.gnu.org Subject: [PATCH] gnu: mysql: Fix build. Date: Thu, 16 Aug 2018 01:15:16 +0200
MySQL demands boost <at> 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
bug-guix <at> gnu.org
:bug#32058
; Package guix
.
(Thu, 16 Aug 2018 15:32:02 GMT) Full text and rfc822 format available.Message #26 received at 32058 <at> debbugs.gnu.org (full text, mbox):
From: Marius Bakke <mbakke <at> fastmail.com> To: Tobias Geerinckx-Rice <me <at> tobias.gr>, 32058 <at> debbugs.gnu.org Subject: Re: bug#32058: [PATCH] gnu: mysql: Fix build. Date: Thu, 16 Aug 2018 17:30:58 +0200
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice <me <at> tobias.gr> writes: > MySQL demands boost <at> 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.
[signature.asc (application/pgp-signature, inline)]
Tobias Geerinckx-Rice <me <at> tobias.gr>
:Nils Gillmann <ng0 <at> n0.is>
:Message #31 received at 32058-done <at> debbugs.gnu.org (full text, mbox):
From: Tobias Geerinckx-Rice <me <at> tobias.gr> To: 32058-done <at> debbugs.gnu.org Subject: Re: bug#32058: [PATCH] gnu: mysql: Fix build. Date: Mon, 20 Aug 2018 20:33:02 +0200
Marius Bakke wrote: > Tobias Geerinckx-Rice <me <at> 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
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Tue, 18 Sep 2018 11:24:04 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.