Open ottok opened 1 year ago
Status update: This exact same issue is still affecting ia64 builds for latest Galera 26.4.18 in Debian: https://buildd.debian.org/status/fetch.php?pkg=galera-4&arch=ia64&ver=26.4.18-1%7Eexp1&stamp=1713220669&raw=0
However, this latest Galera includes the patch suggested in https://github.com/codership/galera/issues/558#issuecomment-1739863749 so now output should be a bit more verbose:
[ 95%] Linking CXX shared module ../../libgalera_smm.so
cd /<<PKGBUILDDIR>>/obj-ia64-linux-gnu/galera/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/galera_smm.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wall -Wextra -g -O2 -Woverloaded-virtual -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -shared -o ../../libgalera_smm.so CMakeFiles/galera_smm.dir/wsrep_provider.cpp.o libgalera.a -Wl,--version-script=/<<PKGBUILDDIR>>/galera/src/galera-sym.map ../../gcs/src/libgcs.a ../../gcomm/src/libgcomm.a ../../gcache/src/libgcache.a ../../galerautils/src/libgalerautilsxx.a ../../galerautils/src/libgalerautils.a ../../galerautils/src/libgalerautils_log.a -Wl,-Bstatic -lpthread -lrt -Wl,-Bdynamic -lssl -lcrypto
Checking library symbol visibility (hidden)
sh -c "! /usr/bin/objdump -T libgalera_smm.so | grep asio"
00000000003ca400 l DF .text 0000000000000680 _ZN4asio6detail16service_registry6createINS0_9schedulerENS_17execution_contextEEEPNS4_7serviceEPv
0000000000408380 l DF .text 0000000000000590 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3tcpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv
00000000003c1f80 l DF .text 0000000000000220 _ZNK4asio6detail11timer_queueINS0_18chrono_time_traitsINSt6chrono3_V212steady_clockENS_11wait_traitsIS5_EEEEE18wait_duration_msecEl
00000000004170c0 l DF .text 0000000000001430 _ZN4asio6detail25reactive_socket_accept_opINS_12basic_socketINS_2ip3tcpENS_8executorEEES4_N5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN2gu17AsioAcceptorReactERKSt10shared_ptrINSC_15AsioStreamReactEERKSE_INSC_19AsioAcceptorHandlerEERKSt10error_codeEENS8_5list4INS8_5valueISE_ISD_EEENSS_ISG_EENSS_ISK_EEPFNS7_3argILi1EEEvEEEEENS0_18io_object_executorIS5_EEE11do_completeEPvPNS0_19scheduler_operationESP_m
00000000003c0440 l DF .text 0000000000000060 _ZN4asio3ssl5error6detail15stream_categoryD1Ev
00000000003bf640 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_22deadline_timer_serviceINS0_18chrono_time_traitsINSt6chrono3_V212steady_clockENS_11wait_traitsIS6_EEEEEEED1Ev
00000000003dd6c0 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_23reactive_socket_serviceINS_2ip3udpEEEED1Ev
0000000000407680 l DF .text 0000000000000010 _ZN4asio6detail16reactive_wait_opIN5boost3_bi6bind_tIvNS2_4_mfi3mf3IvN2gu15AsioStreamReactERKSt10shared_ptrINS7_12AsioAcceptorEERKS9_INS7_19AsioAcceptorHandlerEERKSt10error_codeEENS3_5list4INS3_5valueIS9_IS8_EEENSN_ISB_EENSN_ISF_EEPFNS2_3argILi1EEEvEEEEENS0_18io_object_executorINS_8executorEEEE10do_performEPNS0_10reactor_opE
00000000003c0240 l DF .text 0000000000000060 _ZN4asio5error6detail14netdb_categoryD1Ev
00000000003c0940 l DF .text 0000000000000060 _ZN4asio22service_already_existsD1Ev
00000000003c0a40 l DF .text 0000000000000050 _ZN4asio6detail7tss_ptrINS0_10call_stackINS0_14thread_contextENS0_16thread_info_baseEE7contextEED1Ev
00000000003e2ac0 l DF .text 0000000000000330 _ZN4asio6detail17executor_functionINS0_7binder2IN5boost3_bi6bind_tIvNS3_4_mfi3mf3IvN2gu13AsioUdpSocketERKSt10shared_ptrINS8_25AsioDatagramSocketHandlerEERKSt10error_codemEENS4_5list4INS4_5valueISA_IS9_EEENSK_ISC_EEPFNS3_3argILi1EEEvEPFNSO_ILi2EEEvEEEEESF_mEESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003c0340 l DF .text 0000000000000060 _ZN4asio5error6detail17addrinfo_categoryD1Ev
00000000003c0740 l DF .text 0000000000000060 _ZN4asio12bad_executorD1Ev
00000000003dd540 l DF .text 0000000000000010 _ZN4asio12placeholders17bytes_transferredEv
00000000003d0f00 l DF .text 0000000000000050 _ZN4asio8executor4implINS_10io_context13executor_typeESaIvEE8dispatchEONS0_8functionE
0000000000416000 l DF .text 00000000000003c0 _ZN4asio6detail17executor_functionINS0_7binder1IN5boost3_bi6bind_tIvNS3_4_mfi3mf3IvN2gu15AsioStreamReactERKSt10shared_ptrINS8_12AsioAcceptorEERKSA_INS8_19AsioAcceptorHandlerEERKSt10error_codeEENS4_5list4INS4_5valueISA_IS9_EEENSO_ISC_EENSO_ISG_EEPFNS3_3argILi1EEEvEEEEESJ_EESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003bf840 l DF .text 0000000000000010 _ZNK4asio8executor4implINS_10io_context13executor_typeESaIvEE6targetEv
00000000004163c0 l DF .text 0000000000000670 _ZN4asio6detail26reactive_socket_connect_opIN5boost3_bi6bind_tIvNS2_4_mfi3mf2IvN2gu15AsioStreamReactERKSt10shared_ptrINS7_17AsioSocketHandlerEERKSt10error_codeEENS3_5list3INS3_5valueIS9_IS8_EEENSJ_ISB_EEPFNS2_3argILi1EEEvEEEEENS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESG_m
00000000003ea800 l DF .text 00000000000016d0 _ZN4asio6detail23reactive_socket_recv_opINS_17mutable_buffers_1EN5boost3_bi6bind_tIvNS3_4_mfi3mf3IvN2gu13AsioUdpSocketERKSt10shared_ptrINS8_25AsioDatagramSocketHandlerEERKSt10error_codemEENS4_5list4INS4_5valueISA_IS9_EEENSK_ISC_EEPFNS3_3argILi1EEEvEPFNSO_ILi2EEEvEEEEENS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESH_m
00000000003c0140 l DF .text 0000000000000060 _ZN4asio5error6detail12ssl_categoryD1Ev
00000000003c0f80 l DF .text 0000000000000040 _ZN4asio8executor4implINS_10io_context13executor_typeESaIvEE15on_work_startedEv
00000000003c0840 l DF .text 0000000000000060 _ZN4asio21invalid_service_ownerD1Ev
00000000003c1d40 l DF .text 0000000000000230 _ZNK4asio6detail11timer_queueINS0_18chrono_time_traitsINSt6chrono3_V212steady_clockENS_11wait_traitsIS5_EEEEE18wait_duration_usecEl
00000000003dd500 l DF .text 0000000000000010 _ZN4asio12placeholders5errorEv
00000000003c0540 l DF .text 0000000000000060 _ZN4asio5error6detail13misc_categoryD1Ev
00000000003e0100 l DF .text 0000000000000840 _ZN4asio6detail28reactive_socket_recv_op_baseINS_17mutable_buffers_1EE10do_performEPNS0_10reactor_opE
00000000003c3640 l DF .text 0000000000000230 _ZN4asio3ssl7context26password_callback_functionEPciiPv
0000000000407740 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_23reactive_socket_serviceINS_2ip3tcpEEEED1Ev
00000000003bf600 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_13epoll_reactorEED1Ev
00000000003c0fc0 l DF .text 00000000000000f0 asio_detail_posix_thread_function
000000000040b340 l DF .text 00000000000003f0 _ZN4asio6detail17executor_functionINS0_15work_dispatcherINS0_7binder1IN5boost3_bi6bind_tIvNS4_4_mfi3mf2IvN2gu15AsioStreamReactERKSt10shared_ptrINS9_17AsioSocketHandlerEERKSt10error_codeEENS5_5list3INS5_5valueISB_ISA_EEENSL_ISD_EEPFNS4_3argILi1EEEvEEEEESG_EEEESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003d0f80 l DF .text 00000000000014e0 _ZN4asio6detail12wait_handlerIN5boost3_bi6bind_tIvNS2_4_mfi3mf2IvN2gu15AsioSteadyTimer4ImplERKSt10shared_ptrINS7_22AsioSteadyTimerHandlerEERKSt10error_codeEENS3_5list3INS3_5valueIPS9_EENSK_ISC_EEPFNS2_3argILi1EEEvEEEEENS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESH_m
000000000040b740 l DF .text 0000000000000340 _ZN4asio6detail17executor_functionINS0_7binder1IN5boost3_bi6bind_tIvNS3_4_mfi3mf2IvN2gu15AsioStreamReactERKSt10shared_ptrINS8_17AsioSocketHandlerEERKSt10error_codeEENS4_5list3INS4_5valueISA_IS9_EEENSK_ISC_EEPFNS3_3argILi1EEEvEEEEESF_EESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003bff40 l DF .text 0000000000000060 _ZN4asio2ip16bad_address_castD1Ev
00000000003c7700 l DF .text 0000000000000360 _ZN4asio6detail17executor_functionINS0_7binder1IN5boost3_bi6bind_tIvNS3_4_mfi3mf2IvN2gu15AsioSteadyTimer4ImplERKSt10shared_ptrINS8_22AsioSteadyTimerHandlerEERKSt10error_codeEENS4_5list3INS4_5valueIPSA_EENSL_ISD_EEPFNS3_3argILi1EEEvEEEEESG_EESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003cd500 l DF .text 0000000000000170 _ZN4asio6detail11timer_queueINS0_18chrono_time_traitsINSt6chrono3_V212steady_clockENS_11wait_traitsIS5_EEEEE16get_ready_timersERNS0_8op_queueINS0_19scheduler_operationEEE
0000000000416a40 l DF .text 0000000000000670 _ZN4asio6detail16reactive_wait_opIN5boost3_bi6bind_tIvNS2_4_mfi3mf2IvN2gu15AsioStreamReactERKSt10shared_ptrINS7_17AsioSocketHandlerEERKSt10error_codeEENS3_5list3INS3_5valueIS9_IS8_EEENSJ_ISB_EEPFNS2_3argILi1EEEvEEEEENS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESG_m
00000000003e2280 l DF .text 00000000000000b0 _ZN4asio6detail13epoll_reactor16descriptor_state11do_completeEPvPNS0_19scheduler_operationERKSt10error_codem
00000000003c54c0 l DF .text 0000000000000650 _ZN4asio6detail17posix_global_implINS_14system_contextEED1Ev
00000000003c0ac0 l DF .text 00000000000000c0 _ZN4asio8executor4implINS_10io_context13executor_typeESaIvEE7destroyEv
00000000003c32c0 l DF .text 0000000000000380 _ZN4asio8executor4implINS_10io_context13executor_typeESaIvEE16on_work_finishedEv
00000000003dd640 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_16resolver_serviceINS_2ip3tcpEEEED1Ev
00000000003c6d80 l DF .text 0000000000000240 _ZN4asio6detail11executor_opINS_8executor8functionESaIvENS0_19scheduler_operationEE11do_completeEPvPS5_RKSt10error_codem
0000000000408140 l DF .text 0000000000000230 _ZN4asio6detail31reactive_socket_connect_op_base10do_performEPNS0_10reactor_opE
00000000003c2f80 l DF .text 0000000000000240 _ZN4asio6detail9schedulerD0Ev
00000000003c4080 l DF .text 0000000000000350 _ZN4asio6detail18completion_handlerISt8functionIFvvEEE11do_completeEPvPNS0_19scheduler_operationERKSt10error_codem
00000000003bf5c0 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_9schedulerEED1Ev
0000000000418500 l DF .text 0000000000000fe0 _ZN4asio6detail16reactive_wait_opIN5boost3_bi6bind_tIvNS2_4_mfi3mf3IvN2gu15AsioStreamReactERKSt10shared_ptrINS7_12AsioAcceptorEERKS9_INS7_19AsioAcceptorHandlerEERKSt10error_codeEENS3_5list4INS3_5valueIS9_IS8_EEENSN_ISB_EENSN_ISF_EEPFNS2_3argILi1EEEvEEEEENS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESK_m
0000000000407c40 l DF .text 00000000000004e0 _ZN4asio6detail30reactive_socket_accept_op_baseINS_12basic_socketINS_2ip3tcpENS_8executorEEES4_E10do_performEPNS0_10reactor_opE
00000000003c9480 l DF .text 00000000000007d0 _ZN4asio6detail16service_registry6createINS0_13epoll_reactorENS_17execution_contextEEEPNS4_7serviceEPv
00000000003c7440 l DF .text 0000000000000070 _ZN4asio3ssl6detail12openssl_initILb1EED1Ev
00000000003bf7c0 l DF .text 0000000000000020 _ZNK4asio8executor4implINS_10io_context13executor_typeESaIvEE11target_typeEv
0000000000415a00 l DF .text 00000000000003c0 _ZN4asio6detail17executor_functionINS0_7binder1IN5boost3_bi6bind_tIvNS3_4_mfi3mf3IvN2gu17AsioAcceptorReactERKSt10shared_ptrINS8_15AsioStreamReactEERKSA_INS8_19AsioAcceptorHandlerEERKSt10error_codeEENS4_5list4INS4_5valueISA_IS9_EEENSO_ISC_EENSO_ISG_EEPFNS3_3argILi1EEEvEEEEESJ_EESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003bf900 l DF .text 0000000000000120 _ZN4asio6detail11timer_queueINS0_18chrono_time_traitsINSt6chrono3_V212steady_clockENS_11wait_traitsIS5_EEEEE14get_all_timersERNS0_8op_queueINS0_19scheduler_operationEEE
00000000003c0640 l DF .text 0000000000000030 _ZNK4asio8executor4implINS_10io_context13executor_typeESaIvEE5cloneEv
00000000003c73c0 l DF .text 0000000000000070 _ZNSt10shared_ptrIN4asio3ssl6detail17openssl_init_base7do_initEED1Ev
00000000003c6540 l DF .text 0000000000000240 _ZN4asio8executor4implINS_10io_context13executor_typeESaIvEE4postEONS0_8functionE
000000000040c180 l DF .text 00000000000005b0 _ZN4asio6detail16service_registry6createINS0_16resolver_serviceINS_2ip3tcpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv
00000000003dd680 l DF .text 0000000000000010 _ZN4asio6detail10service_idINS0_16resolver_serviceINS_2ip3udpEEEED1Ev
0000000000407640 l DF .text 0000000000000010 _ZN4asio6detail16reactive_wait_opIN5boost3_bi6bind_tIvNS2_4_mfi3mf2IvN2gu15AsioStreamReactERKSt10shared_ptrINS7_17AsioSocketHandlerEERKSt10error_codeEENS3_5list3INS3_5valueIS9_IS8_EEENSJ_ISB_EEPFNS2_3argILi1EEEvEEEEENS0_18io_object_executorINS_8executorEEEE10do_performEPNS0_10reactor_opE
00000000003c0040 l DF .text 0000000000000060 _ZN4asio6detail15system_categoryD1Ev
0000000000053400 l DF .text 0000000000001180 _GLOBAL__sub_I_gu_asio_stream_engine.cpp
0000000000051cc0 l DF .text 00000000000010c0 _GLOBAL__sub_I_gu_asio_stream_react.cpp
0000000000401040 l DF .text 00000000000004c0 _ZN4asio6detail17executor_functionINS0_7binder1IZN2gu15AsioStreamReact15connect_handlerERKSt10shared_ptrINS3_17AsioSocketHandlerEERKSt10error_codeEUlSC_E_SA_EESaIvEE11do_completeEPNS0_22executor_function_baseEb
0000000000403940 l DF .text 00000000000004b0 _ZN4asio6detail17executor_functionINS0_7binder1IZN2gu15AsioStreamReact24server_handshake_handlerERKSt10shared_ptrINS3_12AsioAcceptorEERKS5_INS3_19AsioAcceptorHandlerEERKSt10error_codeEUlSG_E_SE_EESaIvEE11do_completeEPNS0_22executor_function_baseEb
00000000003ebf40 l DF .text 0000000000000010 _ZN4asio6detail16reactive_wait_opIZN2gu15AsioStreamReact15connect_handlerERKSt10shared_ptrINS2_17AsioSocketHandlerEERKSt10error_codeEUlSB_E_NS0_18io_object_executorINS_8executorEEEE10do_performEPNS0_10reactor_opE
0000000000405580 l DF .text 0000000000001020 _ZN4asio6detail16reactive_wait_opIZN2gu15AsioStreamReact15connect_handlerERKSt10shared_ptrINS2_17AsioSocketHandlerEERKSt10error_codeEUlSB_E_NS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESB_m
00000000003ec140 l DF .text 0000000000000010 _ZN4asio6detail16reactive_wait_opIZN2gu15AsioStreamReact24server_handshake_handlerERKSt10shared_ptrINS2_12AsioAcceptorEERKS4_INS2_19AsioAcceptorHandlerEERKSt10error_codeEUlSF_E_NS0_18io_object_executorINS_8executorEEEE10do_performEPNS0_10reactor_opE
0000000000404500 l DF .text 0000000000001070 _ZN4asio6detail16reactive_wait_opIZN2gu15AsioStreamReact24server_handshake_handlerERKSt10shared_ptrINS2_12AsioAcceptorEERKS4_INS2_19AsioAcceptorHandlerEERKSt10error_codeEUlSF_E_NS0_18io_object_executorINS_8executorEEEE11do_completeEPvPNS0_19scheduler_operationESF_m
0000000000050b40 l DF .text 0000000000001170 _GLOBAL__sub_I_gu_asio_datagram.cpp
000000000004fbc0 l DF .text 0000000000000f80 _GLOBAL__sub_I_gu_asio.cpp
00000000003b11c0 l DF .text 00000000000000a0 _ZN4asio3ssl6detail17password_callbackIN5boost3_bi6bind_tINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS3_4_mfi4cmf0ISB_N12_GLOBAL__N_119SSLPasswordCallbackEEENS4_5list1INS4_5valueIPSF_EEEEEEE4callEmNS0_12context_base16password_purposeE
000000000004cc80 l DF .text 0000000000000710 _GLOBAL__sub_I_asio_udp.cpp
000000000004c300 l DF .text 0000000000000710 _GLOBAL__sub_I_asio_tcp.cpp
000000000004bd40 l DF .text 00000000000005c0 _GLOBAL__sub_I_asio_protonet.cpp
make[3]: *** [galera/src/CMakeFiles/galera_smm.dir/build.make:113: libgalera_smm.so] Error 1
make[3]: *** Deleting file 'libgalera_smm.so'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-ia64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1840: galera/src/CMakeFiles/galera_smm.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 95%] Building CXX object galera/src/CMakeFiles/galera_smm_static.dir/key_data.cpp.o
cd /<<PKGBUILDDIR>>/obj-ia64-linux-gnu/galera/src && /usr/bin/c++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG=1 -DGALERA_HAVE_SSL -DGALERA_MULTIMASTER -DGALERA_ONLY_ALIGNED -DGALERA_REV=\"0bc393fb\" -DGALERA_VER=\"4.18\" -DGU_CRC32C_NO_HARDWARE -DHAVE_ASIO_HPP -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_BYTESWAP_H -DHAVE_COMMON_H -DHAVE_ENDIAN_H -DHAVE_STD_ARRAY -DHAVE_STD_UNORDERED_MAP -DNDEBUG -DOPENSSL_HAS_SET_ECDH_AUTO -D_XOPEN_SOURCE=600 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/common -I/<<PKGBUILDDIR>>/galera/src -I/<<PKGBUILDDIR>>/galerautils/src -I/<<PKGBUILDDIR>>/gcache/src -I/<<PKGBUILDDIR>>/gcomm/src -I/<<PKGBUILDDIR>>/gcs/src -I/<<PKGBUILDDIR>>/wsrep/src -isystem /<<PKGBUILDDIR>>/asio -Wall -Wextra -g -O2 -Woverloaded-virtual -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -Wno-conversion -Wno-unused-parameter -MD -MT galera/src/CMakeFiles/galera_smm_static.dir/key_data.cpp.o -MF CMakeFiles/galera_smm_static.dir/key_data.cpp.o.d -o CMakeFiles/galera_smm_static.dir/key_data.cpp.o -c /<<PKGBUILDDIR>>/galera/src/key_data.cpp
[ 95%] Linking CXX static library libgalera_smm_static.a
cd /<<PKGBUILDDIR>>/obj-ia64-linux-gnu/galera/src && /usr/bin/cmake -P CMakeFiles/galera_smm_static.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-ia64-linux-gnu/galera/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/galera_smm_static.dir/link.txt --verbose=1
/usr/bin/ar qc libgalera_smm_static.a CMakeFiles/galera_smm_static.dir/wsrep_provider.cpp.o CMakeFiles/galera_smm_static.dir/key_data.cpp.o
/usr/bin/ranlib libgalera_smm_static.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-ia64-linux-gnu'
[ 95%] Built target galera_smm_static
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-ia64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-ia64-linux-gnu'
dh_auto_build: error: cd obj-ia64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:25: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
It seems that the symbol visibility on ia64 platform is a bit special. The symbol visibility check should be fixed to take this into account:
diff --git a/galera/src/CMakeLists.txt b/galera/src/CMakeLists.txt
index 23cc4a3d..f8f5080d 100644
--- a/galera/src/CMakeLists.txt
+++ b/galera/src/CMakeLists.txt
@@ -129,7 +129,7 @@ endif()
if (GALERA_VERSION_SCRIPT)
add_custom_command(TARGET galera_smm POST_BUILD
COMMAND
- sh -c "! ${CMAKE_OBJDUMP} -T libgalera_smm.so | grep asio"
+ sh -c "! ${CMAKE_OBJDUMP} -T libgalera_smm.so | grep asio | grep -v ' l '"
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
COMMENT "Checking library symbol visibility (hidden)"
VERBATIM)
@ottok @denis-protivensky
Thanks for the patch, I applied it in https://salsa.debian.org/mariadb-team/galera-4/-/merge_requests/19 and waiting now for ia64 builder machine access to test it. Overall Galera build success in Debian on multiple architectures is great, so no worries about this.
I uploaded to https://buildd.debian.org/status/package.php?p=galera-4 as 26.4.16-2 with the https://github.com/codership/galera/commit/4433dbf94bbb8318ca5b7b84fbc4f0f070e66377 included.
The ia64 build is now failing visibly in https://buildd.debian.org/status/fetch.php?pkg=galera-4&arch=ia64&ver=26.4.16-2&stamp=1697689924&raw=0 with
ia64 is an in-official Debian platform, so fixing it is low priority. MariaDB does however fully build and run on ia64, so being ia64-compatible is probably not too hard to achieve.