#1063738 mariadb: FTBFS on armel, armhf, powerpc, x32, hppa: size of array compile_time_assert is negative #1063738
- Package:
- src:mariadb
- Source:
- src:mariadb
- Submitter:
- Date:
- 2024-03-02 09:30:05 UTC
- Severity:
- normal
- Tags:
Source: mariadb
Version: 1:10.11.7-1
Forwarded: https://jira.mariadb.org/browse/MDEV-33429
Tags: confirmed, help, ftbfs
User: debian-arm@lists.debian.org
Usertags: armel, armhf
X-Debbugs-CC: debian-arm@lists.debian.org
User: debian-powerpc@lists.debian.org
Usertags: powerpc
X-Debbugs-CC: debian-powerpc@lists.debian.org
After uploading latest MariaDB 10.11.7 to Debian it was noticed that the builds on armel, armhf, powerpc, x32, hppa fail on:
[ 31%] Building C object tests/CMakeFiles/bug25714.dir/bug25714.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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -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 -std=gnu99 -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT tests/CMakeFiles/bug25714.dir/bug25714.c.o -MF CMakeFiles/bug25714.dir/bug25714.c.o.d -o CMakeFiles/bug25714.dir/bug25714.c.o -c /<<PKGBUILDDIR>>/tests/bug25714.c
In file included from /<<PKGBUILDDIR>>/tests/mysql_client_fw.c:16,
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:
384 | typedef char compile_time_assert[(X) ? 1 : -1] __attribute__((unused)); \
| ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/tests/mysql_client_fw.c:1438:3: note: in expansion of macro ‘compile_time_assert’
1438 | compile_time_assert(sizeof(MYSQL) == 77*sizeof(void*)+656);
| ^~~~~~~~~~~~~~~~~~~
See https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=armel&ver=1%3A10.11.7-1&stamp=1707544526&raw=0 and https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=armhf&ver=1%3A10.11.7-1&stamp=1707545871&raw=0 for full log. I was able to reproduce this on Launchpad.net armhf builder as well, both on Noble and Mantic, so it looks like a regression in MariaDB itself and not in any Debian dependency. These are all 32-bit systems, so it can be related to potential time_t changes in MariaDB.
This has been reported upstream in https://jira.mariadb.org/browse/MDEV-33429
Hello, Bug #1063738 in mariadb reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/cad4f02094460d54b84de68f61ae1d879ab97222 (this message was generated automatically) -- Greetings https://bugs.debian.org/1063738
Hello, Bug #1063738 in mariadb reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/cad4f02094460d54b84de68f61ae1d879ab97222 (this message was generated automatically) -- Greetings https://bugs.debian.org/1063738
Hello, Bug #1063738 in mariadb reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/cad4f02094460d54b84de68f61ae1d879ab97222 (this message was generated automatically) -- Greetings https://bugs.debian.org/1063738
Hello, Bug #1063738 in mariadb reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/cad4f02094460d54b84de68f61ae1d879ab97222 (this message was generated automatically) -- Greetings https://bugs.debian.org/1063738
We believe that the bug you reported is fixed in the latest version of
mariadb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1063738@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Otto Kekäläinen <otto@debian.org> (supplier of updated mariadb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 01 Mar 2024 17:43:11 -0800
Source: mariadb
Architecture: source
Version: 1:10.11.7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Changed-By: Otto Kekäläinen <otto@debian.org>
Closes: 1062841 1063738 1063739
Changes:
mariadb (1:10.11.7-2) unstable; urgency=medium
.
[ Graham Inggs ]
* Rename libraries for 64-bit time_t transition (Closes: #1062841)
.
[ Otto Kekäläinen ]
* Salsa-CI: Adopt new libmariadbd19t64 library name in CI
* Remove obsolete Lintian override:
package-supports-alternative-init-but-no-init.d-script
* Disable more tests not passing for sparc64 on Debian
* Add patch to fix hurd-i386 build failure (Closes: #1063739)
* Add patch to partially revert upstream c432c9ef (Closes: #1063738)
* Disable table_value_constr failing on armhf on Launchpad
* Backport patch for MDEV-32975 (collation fix for PHP connector)
Checksums-Sha1:
6de52bce89e932ca67152d28172b89fd148ca1a2 5056 mariadb_10.11.7-2.dsc
b1e68ce609d0e001065bcda4dfdfec5f4f10dffe 277240 mariadb_10.11.7-2.debian.tar.xz
80913b32a6fd559ba6b5953631c0bb5cb4a00f02 9077 mariadb_10.11.7-2_source.buildinfo
Checksums-Sha256:
901c11461954d186e4836700736f8f459147946b898ceb116f42b9048de615e7 5056 mariadb_10.11.7-2.dsc
fc03d98f896daee2b1be98025c429208c2b19bf0d1ea4cba610871b394b8a640 277240 mariadb_10.11.7-2.debian.tar.xz
2a1cdc6c42de54e4e5f5215f82803e1889a48d1026934fc69fecee7a7bad49a6 9077 mariadb_10.11.7-2_source.buildinfo
Files:
e64d892d371a3033920e1b1ba69c9901 5056 database optional mariadb_10.11.7-2.dsc
04ce9884c3f85413c045a711ad2ac89a 277240 database optional mariadb_10.11.7-2.debian.tar.xz
0020bb826bec1e8b8fd521c4a4c3e2a5 9077 database optional mariadb_10.11.7-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmXi6vwACgkQvthEn87o
2ogryw/+JTY2ibxE75PSmGfc7cxs/t4cXXfz0fY80vpha5FTSEI2L0opEOoUP41M
XbuvtD7kDMaFhF6P2DeBN++lp27z6S+HdDGZu+2ausT9UCnTBZHMwEic8X6aLOml
9FNaneuiwrN2zoBxi1vRhn/ThGlI6HKzDg/LMHrouKJxnZh1h8ePBR1HWH7OyydK
R9HeHGjT9keU+WHrRlp1zAsYDMn6efSW33sKLOysh+RdpnsOM4SJvLQe38gby4Ca
xNdj0rvyLN3HA5xukOs4X7WGY49CRa1DdqXU2cWoxxSs80npWkYacADaAnBdykB7
Pv876P3NTVqVDVgDuI9cmSJcIn0oSUhDoO96MlUHEGgTlDLVTOdTjUpay+hkuJbN
uPgA9ZD7m7/MSuE4GH9bcoL2jyR4lVWePUGfE+I3CiKm6mFm7PsGea8i52N9v5nc
ou4lbkIGbUrcAxjmEg9tQagxp1bzQiCOA/ELqbCOz9DxxPcYRo/mfHkCOQJ5otE2
wIQSj3Z8itm9h1F9DtGgwxAuW9ibzwI0iYyEDAcJ6WTH20FnkNf2eyESAomB+WXX
BjoT8vfiqu3WVVG5a4QgVMp4xF4zE1JSt2WdeUa2GF6OPhdsMNB6gbw8SXXRgmfN
2M4mZ5Lj9itpZFzMIPmalvcCAzQMYX07w/GhLXbuuR0+PIhNkEQ=
=Xbpd
-----END PGP SIGNATURE-----