[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/cdrdao_1.2.5-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
[...]
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1155:46: note: in expansion of macro ‘PRINT’
1155 | if ( q->p2 != NULL ) PRINT(q->p2);
| ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p1->ntype]’; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1158:46: note: in expansion of macro ‘PRINT’
1158 | if ( q->p1 != NULL ) PRINT(q->p1);
| ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p2->ntype]’; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1160:46: note: in expansion of macro ‘PRINT’
1160 | if ( q->p2 != NULL ) PRINT(q->p2);
| ^~~~~
misc.c: In function ‘pRuleRef’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[p->next->ntype]’; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1182:9: note: in expansion of macro ‘PRINT’
1182 | PRINT(p->next);
| ^~~~~
misc.c: In function ‘pToken’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[p->next->ntype]’; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1199:9: note: in expansion of macro ‘PRINT’
1199 | PRINT(p->next);
| ^~~~~
fset.c: In function ‘First’:
misc.c: In function ‘pAction’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[p->next->ntype]’; expected 0, have 1
170 | (*(fpPrint[(p)->ntype]))( p );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1214:9: note: in expansion of macro ‘PRINT’
1214 | PRINT(p->next);
| ^~~~~
syn.h:173:48: error: too many arguments to function ‘fpReach[p->ntype]’; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:1498:17: note: in expansion of macro ‘REACH’
1498 | REACH(p, k, &rk, alt1->fset[k]);
| ^~~~~
syn.h:173:48: error: too many arguments to function ‘fpReach[p->ntype]’; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:1540:41: note: in expansion of macro ‘REACH’
1540 | REACH(p, k, &rk, alt1->fset[k]);
| ^~~~~
syn.h:173:48: error: too many arguments to function ‘fpReach[q->ntype]’; expected 0, have 3
173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );}
| ~^~~~~~~~~~~~~~~~~~~~~~~
fset.c:1542:41: note: in expansion of macro ‘REACH’
1542 | REACH(q, k, &rk, alt2->fset[k]);
| ^~~~~
make[4]: *** [Makefile:411: bits.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:411: fset.o] Error 1
make[4]: *** [Makefile:411: misc.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/cdrdao-1.2.5/pccts/antlr'
make[3]: *** [Makefile:376: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/cdrdao-1.2.5/pccts'
make[2]: *** [Makefile:445: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/cdrdao-1.2.5'
make[1]: *** [Makefile:384: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/cdrdao-1.2.5'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2