Summary: | dev-db/mysql-8.0.32-r2 fail to build with dev-libs/protobuf-22.5-r1: undefined symbol: absl::lts_20230125::base_internal::SpinLockWait | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Novak <che> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | che, chris, dennis, gentoo-bgz, jay, luke, mbucas, prote, s7mon, spikyatlinux |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 919815 | ||
Bug Blocks: | |||
Attachments: |
/var/tmp/portage/dev-db/mysql-8.0.32-r2/temp/environment
/var/tmp/portage/dev-db/mysql-8.0.32-r2/temp/build.log jayf-build-failure jayf-emerge-info |
Description
Petr Novak
2024-06-13 07:47:24 UTC
Created attachment 895731 [details]
/var/tmp/portage/dev-db/mysql-8.0.32-r2/temp/environment
# emerge -pqv '=dev-db/mysql-8.0.32-r2::gentoo'
[ebuild R ] dev-db/mysql-8.0.32-r2 USE="perl server -cjk -cracklib -debug -jemalloc -latin1 -numa -profiling -router (-selinux) -tcmalloc -test"
Created attachment 895732 [details]
/var/tmp/portage/dev-db/mysql-8.0.32-r2/temp/build.log
I can confirm this bug is happening on my machine and the versions match up. The error is not identical but appears to be the LTO-flavored version of this log. Attaching my emerge --info and build log. Created attachment 895783 [details]
jayf-build-failure
Created attachment 895784 [details]
jayf-emerge-info
dev-db/mysql-8.0.36 works As a workaround you could use the bundeled protobuf as outlined in https://bugs.gentoo.org/912797#c11 MYCMAKEARGS="-DWITH_PROTOBUF=bundled" emerge mysql (In reply to Florian "adlerweb" Knodt from comment #7) > As a workaround you could use the bundeled protobuf as outlined in > https://bugs.gentoo.org/912797#c11 > > MYCMAKEARGS="-DWITH_PROTOBUF=bundled" emerge mysql Can't recompile mysql too /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/xprotocol_plugin.dir/message_field_chain.cc.o: undefined reference to symbol '_ZN4absl12lts_2023012513base_internal12SpinLockWaitEPSt6atomicIjEiPKNS1_22SpinLockWaitTransitionENS1_14SchedulingModeE' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libabsl_spinlock_wait.so.2301.0.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [plugin/x/protocol/plugin/CMakeFiles/xprotocol_plugin.dir/build.make:132: runtime_output_directory/xprotocol_plugin] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build' make[1]: *** [CMakeFiles/Makefile2:7497: plugin/x/protocol/plugin/CMakeFiles/xprotocol_plugin.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build' make: *** [Makefile:156: all] Error 2 Actually trying this workaround. Compile in progress |