Debian Bug report logs - #1096450
coils: ftbfs with GCC-15

version graph

Package: src:coils; Maintainer for src:coils is Debian Med Packaging Team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:09:04 UTC

Severity: important

Tags: forky, sid

Found in version coils/2002-9

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Med Packaging Team <[email protected]>:
Bug#1096450; Package src:coils. (Mon, 17 Feb 2025 17:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Med Packaging Team <[email protected]>. (Mon, 17 Feb 2025 17:09:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: coils: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:07:35 +0000
Package: src:coils
Version: 2002-9
Severity: important
Tags: sid forky
User: [email protected]
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/coils_2002-9_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

[...]
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_clean
make[1]: Entering directory '/build/reproducible-path/coils-2002'
dh_clean ncoils ncoils.1 coils-wrap.1
make[1]: Leaving directory '/build/reproducible-path/coils-2002'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/coils-2002'
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/coils-2002=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. -o ncoils ncoils.c read_matrix.c -lm -D__PKGDATADIR__=\"/usr/share/ncoils\" -Wl,-z,relro -Wl,-z,now
ncoils.c: In function ‘main’:
ncoils.c:75:32: error: too many arguments to function ‘exit_error’; expected 0, have 1
   75 |            if(argv[i][0]!='-') exit_error( env );
      |                                ^~~~~~~~~~  ~~~
In file included from ncoils.c:1:
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c:77:30: error: too many arguments to function ‘exit_error’; expected 0, have 1
   77 |              if((i+1)>=argc) exit_error( env );
      |                              ^~~~~~~~~~  ~~~
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c:81:30: error: too many arguments to function ‘exit_error’; expected 0, have 1
   81 |              if((i+1)>=argc) exit_error( env );
      |                              ^~~~~~~~~~  ~~~
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c:87:30: error: too many arguments to function ‘exit_error’; expected 0, have 1
   87 |              if((i+1)>=argc) exit_error( env );
      |                              ^~~~~~~~~~  ~~~
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c:95:30: error: too many arguments to function ‘exit_error’; expected 0, have 1
   95 |              if((i+1)>=argc) exit_error( env );
      |                              ^~~~~~~~~~  ~~~
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c:99:14: error: too many arguments to function ‘exit_error’; expected 0, have 1
   99 |              exit_error( env );
      |              ^~~~~~~~~~  ~~~
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c:106:14: error: too many arguments to function ‘exit_error’; expected 0, have 1
  106 |              exit_error( env );
      |              ^~~~~~~~~~  ~~~
./ncoils.h:27:6: note: declared here
   27 | void exit_error();
      |      ^~~~~~~~~~
ncoils.c: At top level:
ncoils.c:190:6: error: conflicting types for ‘exit_error’; have ‘void(const char *)’
  190 | void exit_error( const char* __coilsdir ) {
      |      ^~~~~~~~~~
./ncoils.h:27:6: note: previous declaration of ‘exit_error’ with type ‘void(void)’
   27 | void exit_error();
      |      ^~~~~~~~~~
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 1
make[1]: Leaving directory '/build/reproducible-path/coils-2002'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:38:56 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.