Subject: bug#32058: closed (Re: bug#32058: [PATCH] gnu: mysql: Fix build.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 20 Aug 2018 18:33:02 +0000

Your bug report

#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32058: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32058
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#32058: [PATCH] gnu: mysql: Fix build.
From: Tobias Geerinckx-Rice <[email-masked]>
To: [email-masked]
Date: Mon, 20 Aug 2018 20:33:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Marius Bakke wrote:
> Tobias Geerinckx-Rice <[email-masked]> 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

Subject: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37
From: Nils Gillmann <[email-masked]>
To: [email-masked]
Date: Thu, 5 Jul 2018 10:24:34 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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