Package: src:mig
Version: 1.8+git20231217-5
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/mig_1.8+git20231217-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
# ERROR: 0

System information (uname -a): Linux 6.1.0-28-cloud-amd64 #1 SMP 
PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: types
===========

Generating stubs for types...
Compiling stubs for types...
types-server.c: In function ‘_Xalltypes’:
types-server.c:70:27: error: two or more data types in declaration specifiers
   70 |                 boolean_t bool;
      |                           ^~~~
types-server.c:70:31: warning: declaration does not declare anything
   70 |                 boolean_t bool;
      |                               ^
types-server.c:92:109: error: two or more data types in declaration specifiers
   92 |                 (mach_port_t port, char c, int16_t s1, short s2, int i, 
int32_t i32, int64_t i64, boolean_t bool, uint16_t ui16, uint32_t ui32, 
uint64_t ui64);
      |                                                                         
                                    ^~~~
types-server.c:250:130: error: expected identifier before ‘bool’
  250 |         OutP->RetCode = alltypes(In0P->Head.msgh_request_port, In0P->c, 
In0P->s1, In0P->s2, In0P->i, In0P->i32, In0P->i64, In0P->bool, In0P->ui16, 
In0P->ui32, In0P->ui64);
      |                                                                         
                                                         ^~~~
types-server.c:250:25: error: too few arguments to function ‘alltypes’; 
expected 11, have 8
  250 |         OutP->RetCode = alltypes(In0P->Head.msgh_request_port, In0P->c, 
In0P->s1, In0P->s2, In0P->i, In0P->i32, In0P->i64, In0P->bool, In0P->ui16, 
In0P->ui32, In0P->ui64);
      |                         ^~~~~~~~
types-server.c:91:36: note: declared here
   91 |         mig_external kern_return_t alltypes
      |                                    ^~~~~~~~
ERROR: Could not compile stubs for types
FAIL types.defs (exit status: 1)

============================================================================
Testsuite summary for GNU MIG 1.8+git20231217
============================================================================
# TOTAL: 7
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/good/test-suite.log for debugging.
Some test(s) failed.  Please report this to bug-h...@gnu.org,
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[5]: *** [Makefile:549: test-suite.log] Error 1
make[5]: Leaving directory 
'/build/reproducible-path/mig-1.8+git20231217/build/tests/good'
make[4]: *** [Makefile:684: check-TESTS] Error 2
make[4]: Leaving directory 
'/build/reproducible-path/mig-1.8+git20231217/build/tests/good'
make[3]: *** [Makefile:748: check-am] Error 2
make[3]: Leaving directory 
'/build/reproducible-path/mig-1.8+git20231217/build/tests/good'
make[2]: *** [Makefile:339: check-recursive] Error 1
make[2]: Leaving directory 
'/build/reproducible-path/mig-1.8+git20231217/build/tests'
make[1]: *** [Makefile:598: check-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/mig-1.8+git20231217/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 via email to