[debian-mysql] Bug#1030630: mariadb: FTBFS on sparc64: /bin/sh: Bad address

Otto Kekäläinen otto at debian.org
Sun Feb 5 21:43:25 GMT 2023


Source: mariadb
Version: 1:10.11.1-2
Tags: ftbfs
X-Debbugs-CC: debian-sparc at lists.debian.org
User: debian-sparc at lists.debian.org
Usertags: sparc64

In previous upload of MariaDB 1:10.11.1-1 the sparc64 build compiled
but then failed on test as reported in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029163

That bug was fixed with in
https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/340b190ac8a38dc60e176b136966229d40d14b2b
for multiple architectures.

In latest upload sparc64 no longer builds but build fails on:

[ 54%] Building C object
plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/ref10/fe_invert.c.o
cd /<<PKGBUILDDIR>>/builddir/plugin/auth_ed25519 && /usr/bin/cc
-DHAVE_CONFIG_H -DMYSQL_DYNAMIC_PLUGIN -D_FILE_OFFSET_BITS=64
-Dauth_ed25519_EXPORTS -I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include
-I/<<PKGBUILDDIR>>/include/providers
-I/<<PKGBUILDDIR>>/plugin/auth_ed25519 -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/sql -I/<<PKGBUILDDIR>>/unittest/mytap -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -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 -O2 -g -static-libgcc
-fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized
-fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall
-Wdeclaration-after-statement -Wenum-compare -Wenum-conversion -Wextra
-Wformat-security -Wmissing-braces -Wno-format-truncation
-Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Wvla
-Wwrite-strings -fPIC   -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -MD
-MT plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/ref10/fe_invert.c.o
-MF CMakeFiles/auth_ed25519.dir/ref10/fe_invert.c.o.d -o
CMakeFiles/auth_ed25519.dir/ref10/fe_invert.c.o -c
/<<PKGBUILDDIR>>/plugin/auth_ed25519/ref10/fe_invert.c
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -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 -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
-Wmissing-braces -Wno-format-truncation -Wno-init-self
-Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual
-Wnon-virtual-dtor -Wvla -Wwrite-strings -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro,-z,now -shared  -o ha_test_sql_discovery.so
CMakeFiles/test_sql_discovery.dir/test_sql_discovery.cc.o
../../libservices/libmysqlservices.a
/usr/bin/make  -f
plugin/auth_examples/CMakeFiles/dialog_examples.dir/build.make
plugin/auth_examples/CMakeFiles/dialog_examples.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/builddir'
cd /<<PKGBUILDDIR>>/builddir && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/plugin/auth_examples
/<<PKGBUILDDIR>>/builddir
/<<PKGBUILDDIR>>/builddir/plugin/auth_examples
/<<PKGBUILDDIR>>/builddir/plugin/auth_examples/CMakeFiles/dialog_examples.dir/DependInfo.cmake
--color=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
[ 54%] Building C object
plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/ref10/fe_isnegative.c.o
cd /<<PKGBUILDDIR>>/builddir/plugin/auth_ed25519 && /usr/bin/cc
-DHAVE_CONFIG_H -DMYSQL_DYNAMIC_PLUGIN -D_FILE_OFFSET_BITS=64
-Dauth_ed25519_EXPORTS -I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include
-I/<<PKGBUILDDIR>>/include/providers
-I/<<PKGBUILDDIR>>/plugin/auth_ed25519 -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/sql -I/<<PKGBUILDDIR>>/unittest/mytap -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -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 -O2 -g -static-libgcc
-fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized
-fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall
-Wdeclaration-after-statement -Wenum-compare -Wenum-conversion -Wextra
-Wformat-security -Wmissing-braces -Wno-format-truncation
-Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Wvla
-Wwrite-strings -fPIC   -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -MD
-MT plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/ref10/fe_isnegative.c.o
-MF CMakeFiles/auth_ed25519.dir/ref10/fe_isnegative.c.o.d -o
CMakeFiles/auth_ed25519.dir/ref10/fe_isnegative.c.o -c
/<<PKGBUILDDIR>>/plugin/auth_ed25519/ref10/fe_isnegative.c
make[4]: /bin/sh: Bad address
make[4]: *** [plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/build.make:191:
plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/ref10/fe_isnegative.c.o]
Error 127
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:7424:
plugin/auth_ed25519/CMakeFiles/auth_ed25519.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....

Either there is something permanentelly wrong with the builder (I
restarted the build several times with the same result) or the changes
in previous upload fixed other architectures but regressed sparc64.



More information about the pkg-mysql-maint mailing list