#1091557 mariadb: FTBFS on i386: make[1]: *** [debian/rules:146: override_dh_auto_test] Error 1

Package:
src:mariadb
Source:
src:mariadb
Submitter:
Lucas Nussbaum
Date:
2025-12-08 19:19:02 UTC
Severity:
normal
Tags:
#1091557#5
Date:
2024-12-28 16:29:31 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, this package failed to build
on i386.

This package currently has binary packages on i386, so this is a regression.

Relevant part (hopefully):
The full build log is available from:
http://qa-logs.debian.net/2024/12/28/mariadb_11.4.4-2_unstable-i386.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1091557#10
Date:
2024-12-29 04:17:28 UTC
From:
To:
This seems to be flaky tests and not inherently a blocker for the i386 rebuild.

These issues seem like a duplicate of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052838 "mariadb:
FTBFS multiple archs: Post-build tests randomly fail on reserved port
due to lacking builder isolation" and are sporadic by nature, so they
will go away on a new rebuild when the build host is less congested.
Also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077524 is a
duplicate of the same issue. I am pinging upstream now if they have
ideas on how to debug this.

#1091557#15
Date:
2025-01-03 20:56:48 UTC
From:
To:
On Sat, Dec 28, 2024 at 08:17:28PM -0800, Otto Kekäläinen wrote:
[...]
[...]

It took 21 hours but I just built this successfully on 32-bit bare
metal! :-)


 dpkg-buildpackage -us -uc -ui -i -b
dpkg-buildpackage: info: source package mariadb
dpkg-buildpackage: info: source version 1:11.4.4-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Otto Kekäläinen <otto@debian.org>
 dpkg-source -i --before-build .
dpkg-buildpackage: info: host architecture i386
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean

...

dpkg-deb: building package 'mariadb-plugin-s3-dbgsym' in '../mariadb-plugin-s3-dbgsym_11.4.4-2_i386.deb'.
 dpkg-genbuildinfo --build=binary -O../mariadb_11.4.4-2_i386.buildinfo
 dpkg-genchanges --build=binary -O../mariadb_11.4.4-2_i386.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source -i --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
Now running lintian mariadb_11.4.4-2_i386.changes ...
W: mariadb-server: executable-not-elf-or-script [usr/bin/wsrep_sst_common]
W: mariadb-test-data: executable-not-elf-or-script [usr/share/mariadb/mariadb-test/main/lowercase_table4.result]
W: libmariadb3: mismatched-override hardening-no-fortify-functions [usr/lib/x86_64-linux-gnu/libmariadb3/plugin/caching_sha2_password.so] [usr/share/lintian/overrides/libmariadb3:2]
W: libmariadb3: mismatched-override hardening-no-fortify-functions [usr/lib/x86_64-linux-gnu/libmariadb3/plugin/dialog.so] [usr/share/lintian/overrides/libmariadb3:3]
W: libmariadb3: mismatched-override hardening-no-fortify-functions [usr/lib/x86_64-linux-gnu/libmariadb3/plugin/sha256_password.so] [usr/share/lintian/overrides/libmariadb3:4]
W: libmariadbd19t64: mismatched-override exit-in-shared-library [usr/lib/x86_64-linux-gnu/libmariadbd.so.19] [usr/share/lintian/overrides/libmariadbd19t64:9]
W: libmariadbd19t64: mismatched-override no-symbols-control-file usr/lib/x86_64-linux-gnu/libmariadbd.so.19 [usr/share/lintian/overrides/libmariadbd19t64:7]
W: mariadb-plugin-mroonga: mismatched-override spelling-error-in-binary nam name [usr/lib/mysql/plugin/ha_mroonga.so] [usr/share/lintian/overrides/mariadb-plugin-mroonga:2]
W: mariadb-server: mismatched-override hardening-no-fortify-functions [usr/lib/x86_64-linux-gnu/security/pam_user_map.so] [usr/share/lintian/overrides/mariadb-server:13]
W: mariadb-test-data: mismatched-override repeated-path-segment rocksdb [usr/share/mariadb/mariadb-test/plugin/rocksdb/rocksdb/] [usr/share/lintian/overrides/mariadb-test-data:15]
N: 0 hints overridden; 8 unused overrides
Finished running lintian.

#1091557#20
Date:
2025-01-16 10:19:32 UTC
From:
To:
Hi,
So lets not have this bug block migration, I've added the version
currently in testing.

Paul

#1091557#29
Date:
2025-04-19 19:32:54 UTC
From:
To:
In https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=amd64&ver=1%3A11.4.5-2%7Eexp1&stamp=1740281411&raw=0
these were passing:

main.bind_address_resolution             w3 [ pass ]     25
main.bind_multiple_addresses_resolution  w3 [ pass ]     34

Could be sporadic.

I am re-enabling the tests permanently to see if this resurfaces
randomly in the future again.

For reference, this is tracked in Debian as

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052838
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077524
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091557

(they are all the same issue but every time it occurs a new is filed)

Upstream issue: https://jira.mariadb.org/browse/MDEV-34788