Debian Bug report logs - #1098189
yiyantang: ftbfs with GCC-15

version graph

Package: src:yiyantang; Maintainer for src:yiyantang is xiao sheng wen <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 18:06:45 UTC

Severity: important

Tags: forky, sid

Found in version yiyantang/0.7.0-10

Reply or subscribe to this bug.

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


Report forwarded to xiao sheng wen <[email protected]>:
Bug#1098189; Package src:yiyantang. (Mon, 17 Feb 2025 18:06:46 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to xiao sheng wen <[email protected]>. (Mon, 17 Feb 2025 18:06:46 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: yiyantang: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 18:03:17 +0000
Package: src:yiyantang
Version: 0.7.0-10
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/yiyantang_0.7.0-10_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

[...]
xmalloc.c:35:7: note: ‘malloc’ is declared in header ‘<stdlib.h>’
xmalloc.c:36:7: warning: conflicting types for built-in function ‘realloc’; expected ‘void *(void *, long unsigned int)’ [-Wbuiltin-declaration-mismatch]
   36 | VOID *realloc ();
      |       ^~~~~~~
xmalloc.c:36:7: note: ‘realloc’ is declared in header ‘<stdlib.h>’
xmalloc.c:37:6: warning: conflicting types for built-in function ‘free’; expected ‘void(void *)’ [-Wbuiltin-declaration-mismatch]
   37 | void free ();
      |      ^~~~
xmalloc.c:37:6: note: ‘free’ is declared in header ‘<stdlib.h>’
xmalloc.c: In function ‘fixup_null_alloc’:
xmalloc.c:71:1: warning: old-style function definition [-Wold-style-definition]
   71 | fixup_null_alloc (n)
      | ^~~~~~~~~~~~~~~~
xmalloc.c:78:9: error: too many arguments to function ‘malloc’; expected 0, have 1
   78 |     p = malloc ((size_t) 1);
      |         ^~~~~~  ~~~~~~~~~~
xmalloc.c:35:7: note: declared here
   35 | VOID *malloc ();
      |       ^~~~~~
xmalloc.c: In function ‘xmalloc’:
xmalloc.c:87:1: warning: old-style function definition [-Wold-style-definition]
   87 | xmalloc (n)
      | ^~~~~~~
xmalloc.c:92:7: error: too many arguments to function ‘malloc’; expected 0, have 1
   92 |   p = malloc (n);
      |       ^~~~~~  ~
xmalloc.c:35:7: note: declared here
   35 | VOID *malloc ();
      |       ^~~~~~
xmalloc.c: In function ‘xcalloc’:
xmalloc.c:101:1: warning: old-style function definition [-Wold-style-definition]
  101 | xcalloc (n, s)
      | ^~~~~~~
xmalloc.c:106:7: error: too many arguments to function ‘calloc’; expected 0, have 2
  106 |   p = calloc (n, s);
      |       ^~~~~~  ~
xmalloc.c:34:7: note: declared here
   34 | VOID *calloc ();
      |       ^~~~~~
xmalloc.c: In function ‘xrealloc’:
xmalloc.c:117:1: warning: old-style function definition [-Wold-style-definition]
  117 | xrealloc (p, n)
      | ^~~~~~~~
xmalloc.c:123:7: error: too many arguments to function ‘realloc’; expected 0, have 2
  123 |   p = realloc (p, n);
      |       ^~~~~~~  ~
xmalloc.c:36:7: note: declared here
   36 | VOID *realloc ();
      |       ^~~~~~~
xmalloc.c: In function ‘xstrdup’:
xmalloc.c:132:1: warning: old-style function definition [-Wold-style-definition]
  132 | xstrdup (str)
      | ^~~~~~~
make[3]: *** [Makefile:201: xmalloc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
loop.c: In function ‘loop’:
loop.c:118:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  118 |                                 write (ptym, ibuf, ret);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
loop.c:163:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  163 |                                         write (STDOUT_FILENO, tbuf2, ret);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/build/reproducible-path/yiyantang-0.7.0/src'
make[2]: *** [Makefile:182: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/yiyantang-0.7.0'
make[1]: *** [Makefile:326: all-recursive-am] Error 2
make[1]: Leaving directory '/build/reproducible-path/yiyantang-0.7.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
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:51:46 2025; Machine Name: bembo

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.