Package: src:xbuffy
Version: 3.3.bl.3.dfsg-11
Severity: important
Tags: sid forky
User: debian-...@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/xbuffy_3.3.bl.3.dfsg-11_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

[...]
  187 | void CheckBox(i)
      |      ^~~~~~~~
nntp.c:207:17: error: too many arguments to function ‘DynDelete’; expected 0, 
have 2
  207 |                 DynDelete(newsBox->articles, 
DynHigh(newsBox->articles));
      |                 ^~~~~~~~~ ~~~~~~~~~~~~~~~~~
In file included from xbuffy.h:25,
                 from nntp.c:31:
libdyn/dyn.h:54:27: note: declared here
   54 | int             DynAdd(), DynDelete(), DynDestroy(), DynDebug();
      |                           ^~~~~~~~~
nntp.c:269:33: error: too many arguments to function ‘DynAdd’; expected 0, have 
2
  269 |                                 DynAdd(newsBox->articles, &tempArt);
      |                                 ^~~~~~ ~~~~~~~~~~~~~~~~~
libdyn/dyn.h:54:17: note: declared here
   54 | int             DynAdd(), DynDelete(), DynDestroy(), DynDebug();
      |                 ^~~~~~
nntp.c:276:9: error: too many arguments to function ‘DynAdd’; expected 0, have 2
  276 |         DynAdd(newsBox->articles, &tempArt);
      |         ^~~~~~ ~~~~~~~~~~~~~~~~~
libdyn/dyn.h:54:17: note: declared here
   54 | int             DynAdd(), DynDelete(), DynDestroy(), DynDebug();
      |                 ^~~~~~
nntp.c: In function ‘insideBox’:
nntp.c:281:5: warning: old-style function definition [-Wold-style-definition]
  281 | int insideBox(x, firstNum, lastNum)
      |     ^~~~~~~~~
nntp.c: In function ‘CountNNTP’:
nntp.c:291:5: warning: old-style function definition [-Wold-style-definition]
  291 | int CountNNTP(newsBox, headerString, beenTouched)
      |     ^~~~~~~~~
nntp.c:372:31: error: too many arguments to function ‘DynGet’; expected 0, have 
2
  372 |         artP = (Articles_t *) DynGet(newsBox->articles, 0);
      |                               ^~~~~~ ~~~~~~~~~~~~~~~~~
libdyn/dyn.h:56:17: note: declared here
   56 | DynPtr          DynGet();
      |                 ^~~~~~
xbuffy.c: In function ‘CheckBox’:
nntp.c:389:41: error: too many arguments to function ‘DynInsert’; expected 0, 
have 4
  389 |                                         DynInsert(headerString, 
((DynHigh(headerString) > 0) ? (DynHigh(headerString) + 1) : 0), from, 
NEWstrlen(from));
      |                                         ^~~~~~~~~ ~~~~~~~~~~~~
libdyn/dyn.h:55:17: note: declared here
   55 | int             DynInsert(), DynParanoid();
      |                 ^~~~~~~~~
nntp.c:390:41: error: too many arguments to function ‘DynInsert’; expected 0, 
have 4
  390 |                                         DynInsert(headerString, 
((DynHigh(headerString) > 0) ? (DynHigh(headerString) + 1) : 0), subject, 
NEWstrlen(subject));
      |                                         ^~~~~~~~~ ~~~~~~~~~~~~
libdyn/dyn.h:55:17: note: declared here
   55 | int             DynInsert(), DynParanoid();
      |                 ^~~~~~~~~
xbuffy.c:239:17: warning: ignoring return value of ‘system’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  239 |                 system(currentBox->audioCmd);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
nntp.c: In function ‘initNNTP’:
nntp.c:118:9: warning: ignoring return value of ‘fgets’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
  118 |         fgets(line, sizeof(line), NNTP_fIn);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xbuffy.c: In function ‘ExecuteCommand’:
xbuffy.c:753:9: warning: ignoring return value of ‘system’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  753 |         system(currentBox->command);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
nntp.c: In function ‘CountNNTP’:
nntp.c:337:9: warning: ignoring return value of ‘fgets’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
  337 |         fgets(line, sizeof(line), NNTP_fIn);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: xbuffy.o] Error 1
make[1]: *** [<builtin>: nntp.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/xbuffy-3.3.bl.3.dfsg'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to