[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/motif_2.3.8-4_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
[...]
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:243:43: note: (near initialization for ‘headerproc[4]’)
makestrs.c:133:1: note: ‘SPARCABIWriteHeader’ declared here
133 | SPARCABIWriteHeader (FILE* f, File* phile)
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:243:64: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(FILE *, File *)’ {aka ‘void (*)(FILE *, struct _File *)’} [-Wincompatible-pointer-types]
243 | SPARCABIWriteHeader, FunctionWriteHeader };
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:243:64: note: (near initialization for ‘headerproc[5]’)
makestrs.c:145:1: note: ‘FunctionWriteHeader’ declared here
145 | FunctionWriteHeader (FILE* f, File* phile)
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:270:6: error: too many arguments to function ‘headerproc[abi]’; expected 0, have 2
270 | (*headerproc[abi])(f, phile);
| ~^~~~~~~~~~~~~~~~~ ~
makestrs.c: In function ‘WriteSource’:
makestrs.c:408:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
408 | DefaultWriteSource, ArrayperWriteSource,
| ^~~~~~~~~~~~~~~~~~
makestrs.c:408:9: note: (near initialization for ‘sourceproc[0]’)
makestrs.c:386:1: note: ‘DefaultWriteSource’ declared here
386 | DefaultWriteSource (int abi)
| ^~~~~~~~~~~~~~~~~~
makestrs.c:408:29: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
408 | DefaultWriteSource, ArrayperWriteSource,
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:408:29: note: (near initialization for ‘sourceproc[1]’)
makestrs.c:363:1: note: ‘ArrayperWriteSource’ declared here
363 | ArrayperWriteSource (int abi)
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:409:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
409 | IntelABIWriteSource, IntelABIBCWriteSource,
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:409:9: note: (near initialization for ‘sourceproc[2]’)
makestrs.c:293:1: note: ‘IntelABIWriteSource’ declared here
293 | IntelABIWriteSource (int abi)
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:409:30: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
409 | IntelABIWriteSource, IntelABIBCWriteSource,
| ^~~~~~~~~~~~~~~~~~~~~
makestrs.c:409:30: note: (near initialization for ‘sourceproc[3]’)
makestrs.c:312:1: note: ‘IntelABIBCWriteSource’ declared here
312 | IntelABIBCWriteSource (int abi)
| ^~~~~~~~~~~~~~~~~~~~~
makestrs.c:410:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
410 | DefaultWriteSource, FunctionWriteSource };
| ^~~~~~~~~~~~~~~~~~
makestrs.c:410:9: note: (near initialization for ‘sourceproc[4]’)
makestrs.c:386:1: note: ‘DefaultWriteSource’ declared here
386 | DefaultWriteSource (int abi)
| ^~~~~~~~~~~~~~~~~~
makestrs.c:410:29: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
410 | DefaultWriteSource, FunctionWriteSource };
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:410:29: note: (near initialization for ‘sourceproc[5]’)
makestrs.c:340:1: note: ‘FunctionWriteSource’ declared here
340 | FunctionWriteSource (int abi)
| ^~~~~~~~~~~~~~~~~~~
makestrs.c:433:6: error: too many arguments to function ‘sourceproc[abi]’; expected 0, have 1
433 | (*sourceproc[abi])(abi);
| ~^~~~~~~~~~~~~~~~~ ~~~
make[3]: *** [Makefile:414: makestrs.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/motif-2.3.8/config/util'
make[2]: *** [Makefile:402: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/motif-2.3.8/config'
make[1]: *** [Makefile:464: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/motif-2.3.8'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2