#1133428 aspectc++: ftbfs with GCC-16

#1133428#5
Date:
2026-04-13 13:01:19 UTC
From:
To:
Hi,

aspectc++ fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/aspectc++_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]



DIFF BETWEEN FILES 'dep/Test.ref.d' and 'dep/Test.d':

1,2c1,4
< Test.o: ../../../../tests/src/Test.cc /usr/include/stdc-predef.h \
<  ../../../../tests/src/trace.ah /usr/include/stdio.h \
---
4,7d5
<  /usr/include/features.h /usr/include/features-time64.h \
<  /usr/include/aarch64-linux-gnu/bits/wordsize.h \
<  /usr/include/aarch64-linux-gnu/bits/timesize.h \
<  /usr/include/aarch64-linux-gnu/sys/cdefs.h \
9,14c7
<  /usr/include/aarch64-linux-gnu/gnu/stubs.h \
<  /usr/include/aarch64-linux-gnu/gnu/stubs-lp64.h \
<  /usr/lib/gcc/aarch64-linux-gnu/16/include/stddef.h \
<  /usr/lib/gcc/aarch64-linux-gnu/16/include/stdarg.h \
<  /usr/include/aarch64-linux-gnu/bits/types.h \
<  /usr/include/aarch64-linux-gnu/bits/typesizes.h \
---
15a9,13
18,21d15
<  /usr/include/aarch64-linux-gnu/bits/types/__fpos64_t.h \
<  /usr/include/aarch64-linux-gnu/bits/types/__FILE.h \
<  /usr/include/aarch64-linux-gnu/bits/types/FILE.h \
<  /usr/include/aarch64-linux-gnu/bits/types/struct_FILE.h \
23,27c17,26
<  /usr/include/aarch64-linux-gnu/bits/stdio_lim.h \
<  /usr/include/aarch64-linux-gnu/bits/floatn.h \
<  /usr/include/aarch64-linux-gnu/bits/floatn-common.h \
<  ../../../../tests/src/Test.h \
<  ../../../../tests/src/../additional_includes/test_include.h
---
STDERR:
-------


make[1]: Leaving directory '/build/reproducible-path/aspectc++-2.5/Ag++'
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installchangelogs
dh_installdocs
dh_install -Xlicence_1_0.txt
dh_install: warning: Cannot find (any matches for) "Puma/lib/linux-release/libPuma.a" (tried in ., debian/tmp)

dh_install: warning: libpuma-dev missing files: Puma/lib/linux-release/libPuma.a
dh_install: error: missing files, aborting
make: *** [debian/rules:139: binary-arch] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2