Debian Bug report logs - #1097262
librep: ftbfs with GCC-15

version graph

Package: src:librep; Maintainer for src:librep is Jose M Calhariz <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:36:29 UTC

Severity: important

Tags: forky, sid

Found in version librep/0.92.5-3.2

Reply or subscribe to this bug.

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


Report forwarded to Jose M Calhariz <[email protected]>:
Bug#1097262; Package src:librep. (Mon, 17 Feb 2025 17:36:30 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Jose M Calhariz <[email protected]>. (Mon, 17 Feb 2025 17:36:30 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: librep: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:33:35 +0000
Package: src:librep
Version: 0.92.5-3.2
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/librep_0.92.5-3.2_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

[...]
  135 |     return gh_new_procedure (proc_name, fn, 1, 2, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
gh.c: In function 'gh_new_procedure2_0':
gh.c:140:41: error: passing argument 2 of 'gh_new_procedure' from incompatible pointer type [-Wincompatible-pointer-types]
  140 |     return gh_new_procedure (proc_name, fn, 2, 0, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
gh.c: In function 'gh_new_procedure2_1':
gh.c:145:41: error: passing argument 2 of 'gh_new_procedure' from incompatible pointer type [-Wincompatible-pointer-types]
  145 |     return gh_new_procedure (proc_name, fn, 2, 1, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
gh.c: In function 'gh_new_procedure2_2':
gh.c:150:41: error: passing argument 2 of 'gh_new_procedure' from incompatible pointer type [-Wincompatible-pointer-types]
  150 |     return gh_new_procedure (proc_name, fn, 2, 2, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv,  repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv,  repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
gh.c: In function 'gh_new_procedure3_0':
gh.c:155:41: error: passing argument 2 of 'gh_new_procedure' from incompatible pointer type [-Wincompatible-pointer-types]
  155 |     return gh_new_procedure (proc_name, fn, 3, 0, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
gh.c: In function 'gh_new_procedure4_0':
gh.c:160:41: error: passing argument 2 of 'gh_new_procedure' from incompatible pointer type [-Wincompatible-pointer-types]
  160 |     return gh_new_procedure (proc_name, fn, 4, 0, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv,  repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv,  repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
gh.c: In function 'gh_new_procedure5_0':
gh.c:165:41: error: passing argument 2 of 'gh_new_procedure' from incompatible pointer type [-Wincompatible-pointer-types]
  165 |     return gh_new_procedure (proc_name, fn, 5, 0, 0);
      |                                         ^~
      |                                         |
      |                                         repv (*)(repv,  repv,  repv,  repv,  repv) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)}
gh.c:102:53: note: expected 'SCM (*)(void)' {aka 'long unsigned int (*)(void)'} but argument is of type 'repv (*)(repv,  repv,  repv,  repv,  repv)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)'}
  102 | repv gh_new_procedure(const char *proc_name, repv (*fn)(),
      |                                              ~~~~~~~^~~~~
make[3]: *** [Makefile:98: gh.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/librep-0.92.5/src'
make[2]: *** [Makefile:137: all] Error 1
make[2]: Leaving directory '/build/reproducible-path/librep-0.92.5'
dh_auto_build: error: make -j1 returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 255
make[1]: Leaving directory '/build/reproducible-path/librep-0.92.5'
make: *** [debian/rules:20: 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 12:56:58 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.