[debian-mysql] Bug#1071428: Acknowledgement (mariadb: FTBFS on x32: size of array compile_time_assert is negative)

Otto Kekäläinen otto at debian.org
Sun Jun 30 22:57:43 BST 2024


The upload of 1:11.4.2-1 still shows essentially the same error:


[ 67%] Building C object
tests/CMakeFiles/mariadb-client-test.dir/mysql_client_test.c.o
cd /<<PKGBUILDDIR>>/builddir/tests && /usr/bin/cc -DHAVE_CONFIG_H
-DMYSQL_CLIENT -D_FILE_OFFSET_BITS=64
-I/<<PKGBUILDDIR>>/libmariadb/include
-I/<<PKGBUILDDIR>>/builddir/libmariadb/include
-I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include
-I/<<PKGBUILDDIR>>/include/providers -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/client -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong
-Wformat -Werror=format-security -fcf-protection -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 -std=gnu99   -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT
tests/CMakeFiles/mariadb-client-test.dir/mysql_client_test.c.o -MF
CMakeFiles/mariadb-client-test.dir/mysql_client_test.c.o.d -o
CMakeFiles/mariadb-client-test.dir/mysql_client_test.c.o -c
/<<PKGBUILDDIR>>/tests/mysql_client_test.c
In file included from /<<PKGBUILDDIR>>/tests/mysql_client_fw.c:17,
                 from /<<PKGBUILDDIR>>/tests/mysql_client_test.c:38:
/<<PKGBUILDDIR>>/tests/mysql_client_fw.c: In function ‘main’:
/<<PKGBUILDDIR>>/include/my_global.h:384:18: error: size of array
‘compile_time_assert’ is negative
  384 |     typedef char compile_time_assert[(X) ? 1 : -1]
__attribute__((unused)); \
      |                  ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/tests/mysql_client_fw.c:1446:3: note: in expansion of
macro ‘compile_time_assert’
 1446 |   compile_time_assert(sizeof(MYSQL) == 1272);
      |   ^~~~~~~~~~~~~~~~~~~
[ 67%] Linking CXX executable mariadb-binlog
cd /<<PKGBUILDDIR>>/builddir/client && /usr/bin/cmake -E
cmake_link_script CMakeFiles/mariadb-binlog.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong
-Wformat -Werror=format-security -fcf-protection -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
-specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro,-z,now "CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o"
-o mariadb-binlog  ../libmariadb/libmariadb/libmariadb.a
../mysys/libmysys.a ../mysys_ssl/libmysys_ssl.a -lssl -lcrypto
../mysys/libmysys.a ../dbug/libdbug.a ../strings/libstrings.a
../mysys/libmysys.a ../dbug/libdbug.a ../strings/libstrings.a -lz -lm
-ldl
make[4]: *** [tests/CMakeFiles/mariadb-client-test.dir/build.make:79:
tests/CMakeFiles/mariadb-client-test.dir/mysql_client_test.c.o] Error
1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:10242:
tests/CMakeFiles/mariadb-client-test.dir/all] Error 2



More information about the pkg-mysql-maint mailing list