Bug#1122327: mariadb: FTBFS on hurd-i386: Internal memory accounting error of 3504 bytes
Source: mariadb
Version: 1:10.11.8-1
Tags: ftbfs, confirmed, help
Severity: wishlist
Affects: src:mariadb
User: debian-hurd@lists.debian.org
Usertags: hurd
X-Debbugs-CC: debian-hurd@lists.debian.org
Before 1:10.11.8-1, the MariaDB build on hurd-i386 did not complete at
all. Since that version the build has the MariaDB build fully passes,
but it fails to start. This is visible in the log (from latest
1:11.8.5-1 build) that completes the build with:
[100%] Linking C executable wsrep_check_version
cd /build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/lib/My/SafeProcess
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/wsrep_check_version.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/mariadb-11.8.5=.
-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 -O3 -g -DNDEBUG -g
-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 -Wframe-larger-than=16384 -Wl,-z,relro -Wl,-z,now
-specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs
-Wl,-z,relro,-z,now
CMakeFiles/wsrep_check_version.dir/wsrep_check_version.c.o -o
wsrep_check_version -pthread -ldl
make[4]: Leaving directory '/build/reproducible-path/mariadb-11.8.5/builddir'
[100%] Built target wsrep_check_version
..but fails to run any test, all failing as if the server didn't start
at all, and emits only a memory warning:
main.thread_id_overflow [ skipped ] Requires debug build
main.type_temporal_mysql56_debug [ skipped ] Requires debug build
main.union_crash-714 [ skipped ] Requires debug build
main.view_debug [ skipped ] Requires debug build
main.windows_debug [ skipped ] Requires debug build
main.winservice_basic [ skipped ] Requires admin privileges
main.winservice_i18n [ skipped ] Requires admin privileges
worker[01] mysql-test-run: WARNING: Check-testcase failed, this could
also be caused by the previous test run by this worker thread
main.connect-abstract [ fail ]
Test ended at 2025-12-01 02:59:35
CURRENT_TEST: main.connect-abstract
Could not execute 'check-testcase' before testcase
'main.connect-abstract' (res: 1):
mysqltest: Logging to
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:19000 (socket
/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/mysqld.1.sock)
as 'root', connection 'default', attempt 0 ...
mysqltest: Could not open connection 'default': 2013 Can't connect to
server (1073741866).
not ok
mysqltest failed but provided no output
- saving '/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/log/main.connect-abstract/'
to '/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/log/main.connect-abstract/'
Retrying test main.connect-abstract, attempt(2/3)...
worker[01] > Restart - not started
***Warnings generated in error logs during shutdown after running
tests: main.connect-abstract
Warning: Internal memory accounting error of 3504 bytes
worker[01] mysql-test-run: WARNING: Check-testcase failed, this could
also be caused by the previous test run by this worker thread
worker[01] > Restart - using different config file
main.connect-abstract [ retry-fail ]
Test ended at 2025-12-01 02:59:39
CURRENT_TEST: main.connect-abstract
CURRENT_TEST: main.connect-abstract
Could not execute 'check-testcase' before testcase
'main.connect-abstract' (res: 1):
mysqltest: Logging to
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:19000 (socket
/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/mysqld.1.sock)
as 'root', connection 'default', attempt 0 ...
mysqltest: Could not open connection 'default': 2013 Can't connect to
server (1073741866).
not ok
- skipping '/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/log/main.connect-abstract/'
Test main.connect-abstract has failed 2 times, no more retries!
worker[01] mysql-test-run: WARNING: Check-testcase failed, this could
also be caused by the previous test run by this worker thread
worker[01] > Restart - using different config file
main.connect [ fail ]
Test ended at 2025-12-01 02:59:41
CURRENT_TEST: main.connect-abstract
CURRENT_TEST: main.connect-abstract
CURRENT_TEST: main.connect
Could not execute 'check-testcase' before testcase 'main.connect' (res: 1):
mysqltest: Logging to
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:19000 (socket
/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/mysqld.1.sock)
as 'root', connection 'default', attempt 0 ...
mysqltest: Could not open connection 'default': 2013 Can't connect to
server (1073741866).
not ok
- skipping '/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/log/main.connect/'
Retrying test main.connect, attempt(2/3)...
worker[01] mysql-test-run: WARNING: Check-testcase failed, this could
also be caused by the previous test run by this worker thread
***Warnings generated in error logs during shutdown after running
tests: main.connect
Warning: Internal memory accounting error of 3504 bytes
main.join_cache_notasan [ fail ]
Test ended at 2025-12-01 02:59:44
CURRENT_TEST: main.connect-abstract
CURRENT_TEST: main.connect-abstract
CURRENT_TEST: main.connect
CURRENT_TEST: main.join_cache_notasan
Could not execute 'check-testcase' before testcase
'main.join_cache_notasan' (res: 1):
mysqltest: Logging to
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in
'/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:19000 (socket
/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/tmp/mysqld.1.sock)
as 'root', connection 'default', attempt 0 ...
mysqltest: Could not open connection 'default': 2013 Can't connect to
server (1073741866).
not ok
- skipping '/build/reproducible-path/mariadb-11.8.5/builddir/mysql-test/var/log/main.join_cache_notasan/'
worker[01] > Restart - using different config file
Retrying test main.join_cache_notasan, attempt(2/3)...
worker[01] mysql-test-run: WARNING: Check-testcase failed, this could
also be caused by the previous test run by this worker thread
worker[01] > Restart - using different config file
...
Only 137 of 1359 completed.
--------------------------------------------------------------------------
The servers were restarted 18 times
Spent 0.000 of 77 seconds executing testcases
Too many failed: Failed 19/19 tests, 0.00% were successful.
Failing test(s): main.connect-abstract main.connect
main.join_cache_notasan main.pool_of_threads main.optimizer_costs2
main.ipv4_and_ipv6 main.ipv4_as_ipv6 main.ipv6
main.bind_multiple_addresses_resolution main.bind_address_resolution
The log files in var/log may give you some hint of what went wrong.
If you want to report this error, MariaDB's bug tracker is found at
https://jira.mariadb.org
Errors/warnings were found in logfiles during server shutdown after running the
following sequence(s) of tests:
main.connect-abstract
main.connect
main.pool_of_threads
main.pool_of_threads
main.optimizer_costs2
main.ipv6
main.bind_multiple_addresses_resolution
main.bind_multiple_addresses_resolution
112 tests were skipped, 0 by the test itself.
mysql-test-run: *** ERROR: there were failing test cases
make[1]: *** [debian/rules:146: override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/reproducible-path/mariadb-11.8.5'
make: *** [debian/rules:232: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2
Reply to: