Bug#1075272: mig: ftbfs with GCC-14
Package: src:mig
Version: 1.8+git20231217-1
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/mig_1.8+git20231217-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
ERROR: Could not compile stubs for routine
FAIL routine.defs (exit status: 1)
FAIL: types
===========
Generating stubs for types...
Compiling stubs for types...
types-user.c: In function ‘alltypes’:
types-user.c:274:37: error: implicit declaration of function ‘mig_get_reply_port’; did you mean ‘msgh_reply_port’? [-Wimplicit-function-declaration]
274 | InP->Head.msgh_reply_port = mig_get_reply_port();
| ^~~~~~~~~~~~~~~~~~
| msgh_reply_port
types-user.c:283:17: error: implicit declaration of function ‘mig_dealloc_reply_port’ [-Wimplicit-function-declaration]
283 | mig_dealloc_reply_port(InP->Head.msgh_reply_port);
| ^~~~~~~~~~~~~~~~~~~~~~
types-user.c:286:9: error: implicit declaration of function ‘mig_put_reply_port’; did you mean ‘msgh_reply_port’? [-Wimplicit-function-declaration]
286 | mig_put_reply_port(InP->Head.msgh_reply_port);
| ^~~~~~~~~~~~~~~~~~
| msgh_reply_port
ERROR: Could not compile stubs for types
FAIL types.defs (exit status: 1)
FAIL: waittime
==============
Generating stubs for waittime...
Compiling stubs for waittime...
waittime-user.c: In function ‘factorial’:
waittime-user.c:119:37: error: implicit declaration of function ‘mig_get_reply_port’; did you mean ‘msgh_reply_port’? [-Wimplicit-function-declaration]
119 | InP->Head.msgh_reply_port = mig_get_reply_port();
| ^~~~~~~~~~~~~~~~~~
| msgh_reply_port
waittime-user.c:128:17: error: implicit declaration of function ‘mig_dealloc_reply_port’ [-Wimplicit-function-declaration]
128 | mig_dealloc_reply_port(InP->Head.msgh_reply_port);
| ^~~~~~~~~~~~~~~~~~~~~~
waittime-user.c:131:9: error: implicit declaration of function ‘mig_put_reply_port’; did you mean ‘msgh_reply_port’? [-Wimplicit-function-declaration]
131 | mig_put_reply_port(InP->Head.msgh_reply_port);
| ^~~~~~~~~~~~~~~~~~
| msgh_reply_port
ERROR: Could not compile stubs for waittime
FAIL waittime.defs (exit status: 1)
============================================================================
Testsuite summary for GNU MIG 1.8+git20231217
============================================================================
# TOTAL: 7
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 6
# XPASS: 0
# ERROR: 0
============================================================================
See tests/good/test-suite.log
Please report to bug-hurd@gnu.org
============================================================================
make[5]: *** [Makefile:541: test-suite.log] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/tests/good'
make[4]: *** [Makefile:649: check-TESTS] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/tests/good'
make[3]: *** [Makefile:714: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/tests/good'
make[2]: *** [Makefile:335: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
make[1]: *** [Makefile:593: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_test: error: cd build && make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: