From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 05 06:24:08 2018 Received: (at submit) by debbugs.gnu.org; 5 Jul 2018 10:24:08 +0000 Received: from localhost ([127.0.0.1]:47253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb1Qm-0003dX-4s for submit@debbugs.gnu.org; Thu, 05 Jul 2018 06:24:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb1Qk-0003cw-38 for submit@debbugs.gnu.org; Thu, 05 Jul 2018 06:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb1Qd-00070U-BG for submit@debbugs.gnu.org; Thu, 05 Jul 2018 06:24:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fb1Qd-000702-5w for submit@debbugs.gnu.org; Thu, 05 Jul 2018 06:23:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb1Qb-0005Mj-7n for bug-guix@gnu.org; Thu, 05 Jul 2018 06:23:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb1QZ-0006op-6Q for bug-guix@gnu.org; Thu, 05 Jul 2018 06:23:57 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:60608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fb1QY-0006id-Rs for bug-guix@gnu.org; Thu, 05 Jul 2018 06:23:55 -0400 Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id d4e9d15f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 5 Jul 2018 10:23:52 +0000 (UTC) Date: Thu, 5 Jul 2018 10:24:34 +0000 From: Nils Gillmann To: bug-guix@gnu.org Subject: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Message-ID: <20180705102434.odt3hlp3ghsxsmfs@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) 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 f= ail 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 cm= ake_link_script CMakeFiles/group_replication.dir/link.txt --verbose=3D1 /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/c++ -fPIC -fPIC = -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-para= meter -O3 -g -fabi-version=3D2 -fno-omit-frame-pointer -fno-strict-aliasing= -DDBUG_OFF -fPIC -shared -o group_replication.so CMakeFiles/group_repli= cation.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 C= MakeFiles/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/xco= m/xcom/xcom_cache.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bind= ings/xcom/xcom/xcom_transport.c.o CMakeFiles/group_replication.dir/libmysql= gcs/src/bindings/xcom/xcom/node_address.c.o CMakeFiles/group_replication.di= r/libmysqlgcs/src/bindings/xcom/xcom/xcom_msg_queue.c.o CMakeFiles/group_re= plication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_statistics.c.o CMakeF= iles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/app_data.c.o = CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/site_de= f.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/x= com_ssl_transport.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bind= ings/xcom/xcom/xcom_recover.c.o CMakeFiles/group_replication.dir/libmysqlgc= s/src/bindings/xcom/xcom/task.c.o CMakeFiles/group_replication.dir/libmysql= gcs/src/bindings/xcom/xcom/bitset.c.o CMakeFiles/group_replication.dir/libm= ysqlgcs/src/bindings/xcom/xcom/simset.c.o CMakeFiles/group_replication.dir/= libmysqlgcs/src/bindings/xcom/xcom/node_set.c.o CMakeFiles/group_replicatio= n.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_interface.c.o CMakeFiles/grou= p_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/node_list.c.o CMakeFil= es/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/task_debug.c.o = CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/sock_pr= obe.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom= /task_net.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xco= m/xcom/synode_no.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindi= ngs/xcom/xcom/xcom_detector.c.o CMakeFiles/group_replication.dir/xdr_gen/xc= om_vp_xdr.c.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/gc= s_logging.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/interface/x= platform/my_xp_cond.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/i= nterface/xplatform/my_xp_thread.cc.o CMakeFiles/group_replication.dir/libmy= sqlgcs/src/interface/xplatform/my_xp_mutex.cc.o CMakeFiles/group_replicatio= n.dir/libmysqlgcs/src/interface/xplatform/my_xp_util.cc.o CMakeFiles/group_= replication.dir/libmysqlgcs/src/interface/gcs_view.cc.o CMakeFiles/group_re= plication.dir/libmysqlgcs/src/interface/gcs_types.cc.o CMakeFiles/group_rep= lication.dir/libmysqlgcs/src/interface/gcs_message.cc.o CMakeFiles/group_re= plication.dir/libmysqlgcs/src/interface/gcs_member_identifier.cc.o CMakeFil= es/group_replication.dir/libmysqlgcs/src/interface/gcs_group_identifier.cc.= o CMakeFiles/group_replication.dir/libmysqlgcs/src/gcs_interface_factory.cc= =2Eo CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xco= m_communication_interface.cc.o CMakeFiles/group_replication.dir/libmysqlgcs= /src/bindings/xcom/gcs_xcom_control_interface.cc.o CMakeFiles/group_replica= tion.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_group_management.cc.o CMake= Files/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_internal_mess= age.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs= _xcom_networking.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/src/bind= ings/xcom/gcs_xcom_utils.cc.o CMakeFiles/group_replication.dir/libmysqlgcs/= src/bindings/xcom/gcs_xcom_state_exchange.cc.o CMakeFiles/group_replication= =2Edir/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 CM= akeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/gcs_xcom_stati= stics_interface.cc.o CMakeFiles/group_replication.dir/src/applier.cc.o CMak= eFiles/group_replication.dir/src/auto_increment.cc.o CMakeFiles/group_repli= cation.dir/src/certifier.cc.o CMakeFiles/group_replication.dir/src/channel_= observation_manager.cc.o CMakeFiles/group_replication.dir/src/delayed_plugi= n_initialization.cc.o CMakeFiles/group_replication.dir/src/gcs_event_handle= rs.cc.o CMakeFiles/group_replication.dir/src/gcs_logger.cc.o CMakeFiles/gro= up_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_part= ition_handling.cc.o CMakeFiles/group_replication.dir/src/member_info.cc.o C= MakeFiles/group_replication.dir/src/observer_server_actions.cc.o CMakeFiles= /group_replication.dir/src/observer_server_channels.cc.o CMakeFiles/group_r= eplication.dir/src/observer_server_state.cc.o CMakeFiles/group_replication.= dir/src/observer_trans.cc.o CMakeFiles/group_replication.dir/src/pipeline_f= actory.cc.o CMakeFiles/group_replication.dir/src/pipeline_stats.cc.o CMakeF= iles/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_st= ate_observer.cc.o CMakeFiles/group_replication.dir/src/applier_channel_stat= e_observer.cc.o CMakeFiles/group_replication.dir/src/asynchronous_channels_= state_observer.cc.o CMakeFiles/group_replication.dir/src/recovery_message.c= c.o CMakeFiles/group_replication.dir/src/recovery_state_transfer.cc.o CMake= Files/group_replication.dir/src/replication_threads_api.cc.o CMakeFiles/gro= up_replication.dir/src/single_primary_message.cc.o CMakeFiles/group_replica= tion.dir/src/member_version.cc.o CMakeFiles/group_replication.dir/src/compa= tibility_module.cc.o CMakeFiles/group_replication.dir/src/handlers/applier_= handler.cc.o CMakeFiles/group_replication.dir/src/handlers/certification_ha= ndler.cc.o CMakeFiles/group_replication.dir/src/handlers/event_cataloger.cc= =2Eo CMakeFiles/group_replication.dir/src/sql_service/sql_resultset.cc.o CM= akeFiles/group_replication.dir/src/sql_service/sql_service_context.cc.o CMa= keFiles/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 CM= akeFiles/group_replication.dir/src/sql_service/sql_service_command.cc.o -Wl= ,-rpath,:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -lpthr= ead ../../../archive_output_directory/libmysqlservices.a ../../../archive_o= utput_directory/liblz4_lib.a -lssl -lcrypto -ldl -lpthread=20 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 # ?) In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu= -build-system.scm: 799:31 1 (_ _) In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/uti= ls.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 `(#)'. 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' o= ffloaded to 'cult.of.n0.is' failed: build of `/gnu/store/jp88v9kdlbgj63z8q6= g8fq0wsdnm52ba-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/jp88v9kdlbgj63z8q6g8f= q0wsdnm52ba-mysql-5.7.21.drv' failed From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 05 07:32:01 2018 Received: (at 32058) by debbugs.gnu.org; 5 Jul 2018 11:32:01 +0000 Received: from localhost ([127.0.0.1]:47278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb2US-0000tk-MT for submit@debbugs.gnu.org; Thu, 05 Jul 2018 07:32:00 -0400 Received: from tobias.gr ([51.15.135.5]:39096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb2UQ-0000rI-Gc for 32058@debbugs.gnu.org; Thu, 05 Jul 2018 07:31:59 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id b967f934; Thu, 5 Jul 2018 11:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=references :from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=kRL61uCgK9CpHbOH1Dye04oAVzXkqHdlZPDTZudxG9E=; b=cFAr6qUUW+4+ pSkPInk9+cYfyQxZtpqwv0eubdK9X6QQ6G4j2QwesI4yXub+79FjGZzEVaioILKu +EzxTJ95qf/AIiuK8Tri2AljpIbb7S7DtnsRCoSsexXersSTDjXQjzW3pCmVTH9D 8mlbG4BLYqr5VsRSsEFKnbSl7ea3dKZw8JkIrR/zi3y2WULMsd2H1hW0D6Q+KHSo 4O0mpjpN05Z57ZC2g62jrnkY+HRCG77/ViMi0L/K2ZuUehOuHVp1vUG6CAn1bEsE B8O0oBl0ENwXPp/vUnQidW2z7DAJcvGzbUsMQUbZKteSh3N3ljy71P9Zh7JTJ2yw QDvFDQR2yg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 841b9c44 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 5 Jul 2018 11:31:55 +0000 (UTC) References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> User-agent: mu4e 1.0; emacs 26.1 From: Tobias Geerinckx-Rice To: Nils Gillmann Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 In-reply-to: <20180705102434.odt3hlp3ghsxsmfs@abyayala> Date: Thu, 05 Jul 2018 13:31:53 +0200 Message-ID: <87y3epnck6.fsf@lapdog.tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32058 Cc: 32058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) ng0, Thanks! Nils Gillmann wrote: > Since I do not have the time to work on this, but there seems to=20 > be no open bug: > > mysql started a couple of commits ago (since last core-updates=20 > merge?) to fail > its build. I noticed this yesterday, too. In the meantime, I've tried=20 updating MySQL to 5.7.22 (one never knows) and poking at some=20 random bits but that didn't help. > [build output snipped] There's actually an error message[0]. Did it not show up in your=20 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=20 Boost, though that seems unlikely. Unfortunately, I also don't have the time to debug this now or=20 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.c= c:=20 In function =E2=80=98void handle_gis_exception(const char*)=E2=80=99: /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:37:81:=20 error: expected unqualified-id before =E2=80=98&=E2=80=99 token catch (const=20 boost::geometry::detail::self_get_turn_points::self_ip_exception=20 &) = ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:37:81:=20 error: expected =E2=80=98)=E2=80=99 before =E2=80=98&=E2=80=99 token /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:37:81:=20 error: expected =E2=80=98{=E2=80=99 before =E2=80=98&=E2=80=99 token /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:37:82:=20 error: expected primary-expression before =E2=80=98)=E2=80=99 token catch (const=20 boost::geometry::detail::self_get_turn_points::self_ip_exception=20 &) = ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:42:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const boost::geometry::empty_input_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:46:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const boost::geometry::inconsistent_turns_exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:50:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const boost::geometry::exception &) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:54:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::bad_alloc &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:58:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::domain_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:62:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::length_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:66:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::invalid_argument &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:70:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::out_of_range &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:74:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::overflow_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:78:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::range_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:82:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::underflow_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:86:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::logic_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:90:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::runtime_error &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:94:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (const std::exception &e) ^ /tmp/guix-build-mysql-5.7.21.drv-0/mysql-5.7.21/sql/item_geofunc_internal.c= c:98:3:=20 error: expected primary-expression before =E2=80=98catch=E2=80=99 catch (...) ^ make[2]: *** [sql/CMakeFiles/sql.dir/build.make:583:=20 sql/CMakeFiles/sql.dir/item_geofunc_internal.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory=20 '/tmp/guix-build-mysql-5.7.21.drv-0/build' From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 05 09:46:24 2018 Received: (at 32058) by debbugs.gnu.org; 5 Jul 2018 13:46:24 +0000 Received: from localhost ([127.0.0.1]:47339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb4aW-0004JZ-0T for submit@debbugs.gnu.org; Thu, 05 Jul 2018 09:46:24 -0400 Received: from static.195.114.201.195.clients.your-server.de ([195.201.114.195]:45244 helo=conspiracy.of.n0.is) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb4aS-0004JO-BL for 32058@debbugs.gnu.org; Thu, 05 Jul 2018 09:46:21 -0400 Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id 29be8599 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 5 Jul 2018 13:46:18 +0000 (UTC) Date: Thu, 5 Jul 2018 13:47:00 +0000 From: Nils Gillmann To: Tobias Geerinckx-Rice Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Message-ID: <20180705134700.ircz6fz3cuzb5cks@abyayala> References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> <87y3epnck6.fsf@lapdog.tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y3epnck6.fsf@lapdog.tobias.gr> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32058 Cc: 32058@debbugs.gnu.org, Nils Gillmann X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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' From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 05 11:20:39 2018 Received: (at 32058) by debbugs.gnu.org; 5 Jul 2018 15:20:39 +0000 Received: from localhost ([127.0.0.1]:47913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb63j-0006b4-9Y for submit@debbugs.gnu.org; Thu, 05 Jul 2018 11:20:39 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb63h-0006aw-Q7 for 32058@debbugs.gnu.org; Thu, 05 Jul 2018 11:20:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1530790476; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=317; bh=AYt6cB2cBnDAPkxxhHIIAUjXIxmVPQF21Ykw8xHoxco=; b=eqrOvi1UxaPAFaK7NeiYfZ14frFmgjWHd4HwyT12myHz7c5Sjpo/uCncuF7zY1LD 25EiH/8fDueGNSX9PR1tk9JLyYLYBbCJ5XEGA99e3bcSbSHGt0zSgUEiHa7xnSz8WBL Lir3RvvzIuGhZRg5vuyfiKaWFPZy4TIkqHQVHpsg= Received: from localhost (141.80.247.162 [141.80.247.162]) by mx.zohomail.com with SMTPS id 1530790476255814.2145966293674; Thu, 5 Jul 2018 04:34:36 -0700 (PDT) References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Nils Gillmann Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 In-reply-to: <20180705102434.odt3hlp3ghsxsmfs@abyayala> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 05 Jul 2018 13:34:33 +0200 Message-ID: <87601t29x2.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32058 Cc: 32058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nils Gillmann 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 05 17:03:07 2018 Received: (at 32058) by debbugs.gnu.org; 5 Jul 2018 21:03:07 +0000 Received: from localhost ([127.0.0.1]:48025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbBP9-00068B-CI for submit@debbugs.gnu.org; Thu, 05 Jul 2018 17:03:07 -0400 Received: from static.195.114.201.195.clients.your-server.de ([195.201.114.195]:53370 helo=conspiracy.of.n0.is) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbBP7-000682-3U for 32058@debbugs.gnu.org; Thu, 05 Jul 2018 17:03:05 -0400 Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id 25f708ab (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 5 Jul 2018 21:03:02 +0000 (UTC) Date: Thu, 5 Jul 2018 21:03:44 +0000 From: Nils Gillmann To: Ricardo Wurmus Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 Message-ID: <20180705210344.damzidj3uq6dko3v@abyayala> References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> <87y3epnck6.fsf@lapdog.tobias.gr> <20180705134700.ircz6fz3cuzb5cks@abyayala> <87601ttpnf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87601ttpnf.fsf@elephly.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32058 Cc: Tobias Geerinckx-Rice , 32058@debbugs.gnu.org, Nils Gillmann X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus transcribed 1.7K bytes: > > Nils Gillmann 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 > From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 07 03:52:30 2018 Received: (at 32058) by debbugs.gnu.org; 7 Jul 2018 07:52:30 +0000 Received: from localhost ([127.0.0.1]:49052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbi16-00027N-8c for submit@debbugs.gnu.org; Sat, 07 Jul 2018 03:52:30 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbi13-00027E-IE for 32058@debbugs.gnu.org; Sat, 07 Jul 2018 03:52:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1530821096; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1761; bh=+Wvg5jNAj7FRERpUby0z8nzWVbdLHMUZ5qO9IMxek/8=; b=aQ0pko88cIzuKzNTI5wLiLHbK/d1RuJUO0HL1hfwBTQS36u4JDeb9Zugo2ULt7Lu fsSR25qRA264THwCWoG7eKz6ZVQTSlmG+BhibVmY85BXH+AcjCzQdYtVawIN8ZqIKkz gUxwDVtnk/51Tj91nHE12pUDiuIOAgjVmHmASqpA= Received: from localhost (port-92-200-123-54.dynamic.qsc.de [92.200.123.54]) by mx.zohomail.com with SMTPS id 153082109603135.22707261106086; Thu, 5 Jul 2018 13:04:56 -0700 (PDT) References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> <87y3epnck6.fsf@lapdog.tobias.gr> <20180705134700.ircz6fz3cuzb5cks@abyayala> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Nils Gillmann Subject: Re: bug#32058: mysql build fails on d88b29d6b78482cdb05ac714984f6a27195e3d37 In-reply-to: <20180705134700.ircz6fz3cuzb5cks@abyayala> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 05 Jul 2018 22:04:52 +0200 Message-ID: <87601ttpnf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32058 Cc: Tobias Geerinckx-Rice , 32058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nils Gillmann 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 MySQ= L 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 =E2=80=98void > handle_gis_exception(const char*)=E2=80=99: > /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 =E2=80=98&=E2=80=99 token > catch (const boost::geometry::detail::self_get_turn_points::self_ip_ex= ception &) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 15 19:15:03 2018 Received: (at 32058) by debbugs.gnu.org; 15 Aug 2018 23:15:03 +0000 Received: from localhost ([127.0.0.1]:52132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq50I-0001zK-PY for submit@debbugs.gnu.org; Wed, 15 Aug 2018 19:15:03 -0400 Received: from tobias.gr ([51.15.135.5]:58374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq50H-0001ye-0u for 32058@debbugs.gnu.org; Wed, 15 Aug 2018 19:15:01 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f847d9b6 for <32058@debbugs.gnu.org>; Wed, 15 Aug 2018 23:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=7+RQ/4H0Y E/l5tRimUo6DOuJm7Icta5O+iJ+RGcM2m8=; b=NlnpkE3KBlLxL22kr3+2MW6Jy NIWf+ciWqK4fhz/uIGMBPqQ9gISEJfYfk3CEvEILzJw6AvfzkR0LN0lGEojmYxin kUgZK449wkV5DuHBdRbhlr9TGpcJYowQtH5K6ueJRIXme5eAQBV0ZRAIcKKcB5af l2p9rQmOhP25aO6CKhYewqMhVGUkSfQ4iiHDr6+TafOC2q0nV22bDxQGjADl1NcF 7XnH4lEslLuX7pZp6CweGYbgt1HDf2tyCFGRia5Hp0P0nCxTMv/WZj3RtYi7e7f+ dO1jsjNPyFkXrw3fEd1xongXFAUcIZmxyGBm+BgthjgAr/elkeRDomrQhs82g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1d4e4f65 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <32058@debbugs.gnu.org>; Wed, 15 Aug 2018 23:14:57 +0000 (UTC) From: Tobias Geerinckx-Rice To: 32058@debbugs.gnu.org Subject: [PATCH] gnu: mysql: Fix build. Date: Thu, 16 Aug 2018 01:15:16 +0200 Message-Id: <20180815231516.10758-1-me@tobias.gr> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32058 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 16 11:31:05 2018 Received: (at 32058) by debbugs.gnu.org; 16 Aug 2018 15:31:05 +0000 Received: from localhost ([127.0.0.1]:52744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqKEq-0001Vo-Jb for submit@debbugs.gnu.org; Thu, 16 Aug 2018 11:31:04 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqKEn-0001VO-AD for 32058@debbugs.gnu.org; Thu, 16 Aug 2018 11:31:01 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1344F21FC9; Thu, 16 Aug 2018 11:31:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 16 Aug 2018 11:31:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=jg9mAQJa1HsSKsLCTTqnTcaD+62pBMBxyYvi9jhIoCg=; b=DAz7SLHv N3+T5DrOCrgU+PoJxo2Inj4MWyPW659QI6DFrKI33uMF67lT6Fr03chUiyxLuFy6 t0lplNwafdlKJ+gaGcSP04z92Br2YfRHNizOHg+GE25HSwLWkFqpLsZ+pgoHC7PP Bemvy7Y5XqGszYpLTz18KRfWDTk30OaNmcEf+bSzWTVH62+01QDIXjiFhk8RiSHt 0wUCkVDsDNG4WjURD0v5u4rLfrX7dKDAK/sxL7bhLT3vNEcgjLA5erkjMMgOKdtU OcnmZKY3rvNuBksB151mCFRSj+GybLw6M8ehMdL43MUICekSPpoerA+D6SRPIT1h mMHfTl7n6lXjMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=jg9mAQJa1HsSKsLCTTqnTcaD+62pB MBxyYvi9jhIoCg=; b=d56Dz4vy/Sv0OG36OduBwhI6/vh1ZYa4eKPzUUyeXfH9k VuRlxf4vp3EKOMmsy6SnF/v5AvIHPyShzzE5cgSxXvjYAvdWqd0HbLL7qvmvJGlc 0p2DoqyHxweQDX0hoTBnXLQOm+8CQVmMJ8wsXvbt7Xoq8qqoReQVEhsuUpWbirS3 zq9R3iBByPEsfLpDvda3gGzTul5+UAPDkuoDaANIsuU0bUU0xDGPGHIUUKuqcnjM ekIHxmBmc8gnjB7r8axuSOmjPHI5/4NVU1qJclhRslLRCEe5Ie7lRdWnb02b0wVz 5riIJ6c3vl+BwjfS2tH2gNfLz5yUyyGx4kemjxVBQ== X-ME-Proxy: X-ME-Sender: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 2C43B1028A; Thu, 16 Aug 2018 11:31:00 -0400 (EDT) From: Marius Bakke To: Tobias Geerinckx-Rice , 32058@debbugs.gnu.org Subject: Re: bug#32058: [PATCH] gnu: mysql: Fix build. In-Reply-To: <20180815231516.10758-1-me@tobias.gr> References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> <20180815231516.10758-1-me@tobias.gr> User-Agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Thu, 16 Aug 2018 17:30:58 +0200 Message-ID: <87wosq8h1p.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32058 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice writes: > MySQL demands boost@1.59.0, and lying about it no longer works: > > sql/item_geofunc_internal.cc: In function =E2=80=98void handle_gis_except= ion(const char*)=E2=80=99: > sql/item_geofunc_internal.cc:37:81: error: expected unqualified-id before= =E2=80=98&=E2=80=99 token > catch (const boost::geometry::detail::self_get_turn_points::self_ip_ex= ception &) > = ^ > [...] > > * gnu/packages/databases.scm (boost-for-mysql): New variable. > (mysql)[inputs]: Use that instead of the regular boost. > [arguments]: Remove now-unnecessary =E2=80=98patch-boost-version=E2=80=99= 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlt1mLIACgkQoqBt8qM6 VPqz1Qf+MAE0jgVjrf4tv8hUg3AZ9ItD1bS8E2NjKC9l92TK0BZ3otSFf+TqN/MP pagHHyha07AeCf7HT1Vb5GqLJLpQPdhMcQE/+WjjeEan+4g21sHnjhcvV4mtiUao 1GLF8art+PdEmsg/jz06cy+4ldUcOnCI8iJ9M/RpICPokZidCcYI+KvUUhL++OiK eB+Anu2k1UOGvN328RZqmoV83BQQAvUSO0UMibxNIUB3TnxHtbJt2riqY9hAzXT/ NFjXXShGU2ZhZ9sZo/p/2SPx39qkzp/f9yROFV0HXK4Nx0oswjeu7lH7CpO0IWel 8eLGuvh3pjN4/3trLp+TWpYDb2hw1Q== =BRYj -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 20 14:32:46 2018 Received: (at 32058-done) by debbugs.gnu.org; 20 Aug 2018 18:32:46 +0000 Received: from localhost ([127.0.0.1]:55871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1froys-0008Ex-M2 for submit@debbugs.gnu.org; Mon, 20 Aug 2018 14:32:46 -0400 Received: from tobias.gr ([51.15.135.5]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1froyp-0008En-LM for 32058-done@debbugs.gnu.org; Mon, 20 Aug 2018 14:32:44 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 2c502915 for <32058-done@debbugs.gnu.org>; Mon, 20 Aug 2018 18:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=references :from:to:subject:in-reply-to:date:message-id:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=hjq6/aymFKKxqkXFHvSWPuGiVop3oyTAjZwGHFgY0mU=; b=eoiuipVBvWhk XAmHeEpYtNk1acfiCn+AhFxLDqRdXAFD0zpNnQ/ikj4Q6uVa8QJi2nLLmuOyGS06 rCL8lTTG7Qdb9Ho2ZqIt9eLIYxYUedd+qfX0IGUCbLEMLyvmD+oj3cnOEBAdGEwq Aci+Zv8XFceYHf+SJ23aE0ZO3h78FHQ1QMp3UZ9PAk56eJgC47bQWYlzgU4CF7Iv +JDlD7sVBQhmJTdPBqVLsr+2I2J4oTTb7VkP1jN2/R3k3e5wSeDwhkqPgd6pUcRC Wu0ePypQ0ixuoOiAzSli1q/TxeeJqICC5sr/2yzcAejNitBH2JEscYns6P/f4F3r BgV8B/mzIg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 22c5c221 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <32058-done@debbugs.gnu.org>; Mon, 20 Aug 2018 18:32:40 +0000 (UTC) References: <20180705102434.odt3hlp3ghsxsmfs@abyayala> <20180815231516.10758-1-me@tobias.gr> <87wosq8h1p.fsf@fastmail.com> From: Tobias Geerinckx-Rice To: 32058-done@debbugs.gnu.org Subject: Re: bug#32058: [PATCH] gnu: mysql: Fix build. In-reply-to: <87wosq8h1p.fsf@fastmail.com> Date: Mon, 20 Aug 2018 20:33:02 +0200 Message-ID: <876004sxb5.fsf@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32058-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Marius Bakke wrote: > Tobias Geerinckx-Rice writes: [...] >> * gnu/packages/databases.scm (boost-for-mysql): New variable. >> (mysql)[inputs]: Use that instead of the regular boost. >> [arguments]: Remove now-unnecessary =E2=80=98patch-boost-version=E2=80= =99=20 >> phase. > > Ouch. Boost is a *huge* library, but now that we no longer use=20 > the > MySQL package as the main MySQL library (e.g. for Qt), giving it=20 > a > different boost version seems reasonable to me. Pushed in 7cbf06d8c2935abfc6c688cf3f9b99e0e5393960, bumped in 8ecf3f7ea515d555e978bea3c1610d44345a44ee. Thanks! T G-R From unknown Fri Jun 20 07:24:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 18 Sep 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator