Bug#1096565: edge-addition-planarity-suite: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:11:15 GMT 2025
Package: src:edge-addition-planarity-suite
Version: 3.0.2.0-2.1
Severity: important
Tags: sid forky
User: debian-gcc at 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/edge-addition-planarity-suite_3.0.2.0-2.1_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
[...]
469 | RetVal = theGraph->functions.fpReadPostprocess(theGraph, extraData, extraDataLen);
| ^~~~~~~~ ~~~~~~~~
c/graphFunctionTable.h:45:16: note: declared here
45 | int (*fpReadPostprocess)();
| ^~~~~~~~~~~~~~~~~
c/graphIO.c: In function 'gp_Write':
c/graphIO.c:814:19: error: too many arguments to function 'theGraph->functions.fpWritePostprocess'; expected 0, have 3
814 | RetVal = theGraph->functions.fpWritePostprocess(theGraph, &extraData, &extraDataSize);
| ^~~~~~~~ ~~~~~~~~
c/graphFunctionTable.h:46:16: note: declared here
46 | int (*fpWritePostprocess)();
| ^~~~~~~~~~~~~~~~~~
c/graphIO.c: In function 'gp_WriteToString':
c/graphIO.c:878:23: error: too many arguments to function 'theGraph->functions.fpWritePostprocess'; expected 0, have 3
878 | RetVal = theGraph->functions.fpWritePostprocess(theGraph, &extraData, &extraDataSize);
| ^~~~~~~~ ~~~~~~~~
c/graphFunctionTable.h:46:16: note: declared here
46 | int (*fpWritePostprocess)();
| ^~~~~~~~~~~~~~~~~~
c/graphIO.c: In function '_ReadAdjMatrix':
c/graphIO.c:38:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | fscanf(Infile, " %d ", &N);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:60:27: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | fscanf(Infile, " %1d", &Flag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c: In function '_ReadAdjList':
c/graphIO.c:118:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
118 | fscanf(Infile, " %d ", &N);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:144:19: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
144 | fscanf(Infile, "%d", &indexValue);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:205:26: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
205 | fscanf(Infile, " %d ", &W);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c: In function '_ReadLEDAGraph':
c/graphIO.c:319:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
319 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:320:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
320 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:321:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
321 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:324:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
324 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:331:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
331 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:334:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
334 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c:340:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
340 | fgets(Line, 255, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~
c/graphIO.c: In function 'gp_Read':
c/graphIO.c:405:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
405 | fread(extraData, fileSize - filePos, 1, Infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:905: c/graphEmbed.lo] Error 1
make[2]: *** [Makefile:905: c/graphIO.lo] Error 1
make[2]: Leaving directory '/build/reproducible-path/edge-addition-planarity-suite-3.0.2.0'
make[1]: *** [Makefile:1007: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/edge-addition-planarity-suite-3.0.2.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list