[debian-mysql] Bug#1024040: mariadb-10.6: FTBFS on alpha: relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
Otto Kekäläinen
otto at debian.org
Sun Nov 13 22:49:11 GMT 2022
Source: mariadb-10.6
Version: 1:10.6.7-1
Tags: upstream, confirmed, ftbfs
User: debian-alpha at lists.debian.org
Usertags: alpha
X-Debbugs-CC: debian-alpha at lists.debian.org
After upload of mariadb-10.6 1:10.6.7-1 I noticed that alpha builds
at https://buildd.debian.org/status/package.php?p=mariadb-10.6 were
failing:
************************************************************************************
cd /<<PKGBUILDDIR>>/builddir/extra/mariabackup && /usr/bin/cmake -E
cmake_link_script CMakeFiles/mariadb-backup.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time
-D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector
--param=ssp-buffer-size=4 -Wconversion -Wno-sign-conversion -O2 -g
-static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-Wno-uninitialized -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2
-DDBUG_OFF -Wall -Wenum-compare -Wenum-conversion -Wextra
-Wformat-security -Wno-format-truncation -Wno-init-self
-Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual
-Wnon-virtual-dtor -Wvla -Wwrite-strings
-specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro,-z,now -Wl,--export-dynamic
"CMakeFiles/mariadb-backup.dir/xtrabackup.cc.o"
"CMakeFiles/mariadb-backup.dir/innobackupex.cc.o"
"CMakeFiles/mariadb-backup.dir/changed_page_bitmap.cc.o"
"CMakeFiles/mariadb-backup.dir/datasink.cc.o"
"CMakeFiles/mariadb-backup.dir/ds_buffer.cc.o"
"CMakeFiles/mariadb-backup.dir/ds_compress.cc.o"
"CMakeFiles/mariadb-backup.dir/ds_local.cc.o"
"CMakeFiles/mariadb-backup.dir/ds_stdout.cc.o"
"CMakeFiles/mariadb-backup.dir/ds_tmpfile.cc.o"
"CMakeFiles/mariadb-backup.dir/ds_xbstream.cc.o"
"CMakeFiles/mariadb-backup.dir/fil_cur.cc.o"
"CMakeFiles/mariadb-backup.dir/quicklz/quicklz.c.o"
"CMakeFiles/mariadb-backup.dir/read_filt.cc.o"
"CMakeFiles/mariadb-backup.dir/write_filt.cc.o"
"CMakeFiles/mariadb-backup.dir/wsrep.cc.o"
"CMakeFiles/mariadb-backup.dir/xbstream_write.cc.o"
"CMakeFiles/mariadb-backup.dir/backup_mysql.cc.o"
"CMakeFiles/mariadb-backup.dir/backup_copy.cc.o"
"CMakeFiles/mariadb-backup.dir/encryption_plugin.cc.o"
"CMakeFiles/mariadb-backup.dir/__/__/sql/sql_builtin.cc.o"
"CMakeFiles/mariadb-backup.dir/__/__/sql/net_serv.cc.o"
"CMakeFiles/mariadb-backup.dir/__/__/libmysqld/libmysql.c.o" -o
mariadb-backup -pthread -llz4 -lsnappy -lnuma ../../sql/libsql.a
../../sql/libsql_builtins.a ../../vio/libvio.a -lpcre2-8 -lcrypt
../../storage/maria/libaria.a ../../mysys_ssl/libmysys_ssl.a
../../sql/libpartition.a ../../storage/perfschema/libperfschema.a
../../sql/libsql_sequence.a ../../sql/libwsrep.a
../../storage/csv/libcsv.a ../../storage/heap/libheap.a
../../storage/innobase/libinnobase.a -llz4 -lsnappy -lnuma
../../tpool/libtpool.a -luring -lsystemd
../../storage/myisam/libmyisam.a ../../mysys/libmysys.a
../../dbug/libdbug.a ../../strings/libstrings.a ../../mysys/libmysys.a
../../dbug/libdbug.a ../../strings/libstrings.a -lz -lm
../../storage/myisammrg/libmyisammrg.a
../../storage/sequence/libsequence.a
../../plugin/auth_socket/libauth_socket.a
../../plugin/feedback/libfeedback.a -lssl -lcrypto
../../plugin/type_geom/libtype_geom.a
../../plugin/type_inet/libtype_inet.a
../../plugin/user_variables/libuser_variables.a
../../plugin/userstat/libuserstat.a ../../wsrep-lib/src/libwsrep-lib.a
-lpthread -ldl ../../wsrep-lib/wsrep-API/libwsrep_api_v26.a
../../sql/libthread_pool_info.a -pthread
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::interrupted(std::unique_lock<wsrep::mutex>&)
const':
./builddir/sql/./sql/wsrep_client_service.cc:77:(.text+0x140):
relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::cleanup_transaction()':
./builddir/sql/./sql/wsrep_client_service.cc:149:(.text+0x1d8):
relocation truncated to fit: GPREL16 against symbol
`WSREP_PROVIDER_EXISTS_' defined in .sbss section in
../../sql/libwsrep.a(wsrep_mysqld.cc.o)
./builddir/sql/./sql/wsrep_client_service.cc:149:(.text+0x1f4):
relocation truncated to fit: GPREL16 against symbol
`wsrep_emulate_bin_log' defined in .sbss section in
../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`wsrep::server_state::id() const':
./builddir/sql/./wsrep-lib/include/wsrep/server_state.hpp:210:(.text+0x39c):
relocation truncated to fit: GPREL16 against symbol
`Wsrep_server_state::m_instance' defined in .sbss section in
../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::remove_fragments()':
./builddir/sql/./sql/wsrep_client_service.cc:217:(.text+0x3bc):
relocation truncated to fit: GPREL16 against symbol `wsrep_schema'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
./builddir/sql/./sql/wsrep_client_service.cc:222:(.text+0x400):
relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::wait_for_replayers(std::unique_lock<wsrep::mutex>&)':
./builddir/sql/./sql/wsrep_client_service.cc:318:(.text+0x4f0):
relocation truncated to fit: GPREL16 against symbol `wsrep_replaying'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::prepare_data_for_replication()':
./builddir/sql/./sql/wsrep_client_service.cc:125:(.text+0x750):
relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
./builddir/sql/./sql/wsrep_client_service.cc:123:(.text+0x854):
relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::will_replay()':
./builddir/sql/./sql/wsrep_client_service.cc:259:(.text+0xaac):
relocation truncated to fit: GPREL16 against symbol `wsrep_replaying'
defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
`Wsrep_client_service::signal_replayed()':
./builddir/sql/./sql/wsrep_client_service.cc:267:(.text+0xb6c):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make[4]: *** [extra/mariabackup/CMakeFiles/mariadb-backup.dir/build.make:471:
extra/mariabackup/mariadb-backup] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:5311:
extra/mariabackup/CMakeFiles/mariadb-backup.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[1]: *** [debian/rules:120: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:219: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2
************************************************************************************
This is a regression as Alpha builds used to work on MariaD 10.5:
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.5&arch=alpha&ver=1%3A10.5.12-1&stamp=1628596323&raw=0
Neither me nor upstream has any Alpha expertise. Please help by
providing info on this bug report or - preferably - submit a MR to fix
this: https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian
More information about the pkg-mysql-maint
mailing list