Package: src:linux-atm
Version: 1:2.5.1-5.1
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/linux-atm_2.5.1-5.1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
In file included from io.c:28:
io.c: In function ‘accept_new’:
../../src/include/atmd.h:23:3: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
   23 |   if (r) (r)->prev = i; r = i; })
      |   ^~
io.c:316:9: note: in expansion of macro ‘Q_INSERT_HEAD’
  316 |         Q_INSERT_HEAD(unidirectional_vccs,vcc);
      |         ^~~~~~~~~~~~~
io.c:316:23: note: ...this statement, but the latter is misleadingly indented 
as if it were guarded by the ‘if’
  316 |         Q_INSERT_HEAD(unidirectional_vccs,vcc);
      |                       ^~~~~~~~~~~~~~~~~~~
../../src/include/atmd.h:23:25: note: in definition of macro ‘Q_INSERT_HEAD’
   23 |   if (r) (r)->prev = i; r = i; })
      |                         ^
../../src/include/atmd.h:23:3: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
   23 |   if (r) (r)->prev = i; r = i; })
      |   ^~
io.c:326:17: note: in expansion of macro ‘Q_INSERT_HEAD’
  326 |                 Q_INSERT_HEAD(entry->vccs,vcc);
      |                 ^~~~~~~~~~~~~
io.c:326:31: note: ...this statement, but the latter is misleadingly indented 
as if it were guarded by the ‘if’
  326 |                 Q_INSERT_HEAD(entry->vccs,vcc);
      |                               ^~~~~
../../src/include/atmd.h:23:25: note: in definition of macro ‘Q_INSERT_HEAD’
   23 |   if (r) (r)->prev = i; r = i; })
      |                         ^
../../src/include/atmd.h:23:3: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
   23 |   if (r) (r)->prev = i; r = i; })
      |   ^~
io.c:344:5: note: in expansion of macro ‘Q_INSERT_HEAD’
  344 |     Q_INSERT_HEAD(unknown_incoming,entry);
      |     ^~~~~~~~~~~~~
io.c:344:19: note: ...this statement, but the latter is misleadingly indented 
as if it were guarded by the ‘if’
  344 |     Q_INSERT_HEAD(unknown_incoming,entry);
      |                   ^~~~~~~~~~~~~~~~
../../src/include/atmd.h:23:25: note: in definition of macro ‘Q_INSERT_HEAD’
   23 |   if (r) (r)->prev = i; r = i; })
      |                         ^
../../src/include/atmd.h:23:3: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
   23 |   if (r) (r)->prev = i; r = i; })
      |   ^~
io.c:346:5: note: in expansion of macro ‘Q_INSERT_HEAD’
  346 |     Q_INSERT_HEAD(entry->vccs,vcc);
      |     ^~~~~~~~~~~~~
io.c:346:19: note: ...this statement, but the latter is misleadingly indented 
as if it were guarded by the ‘if’
  346 |     Q_INSERT_HEAD(entry->vccs,vcc);
      |                   ^~~~~
../../src/include/atmd.h:23:25: note: in definition of macro ‘Q_INSERT_HEAD’
   23 |   if (r) (r)->prev = i; r = i; })
      |                         ^
io.c: In function ‘get_local’:
io.c:622:54: error: passing argument 3 of ‘getsockname’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  622 |     result = getsockname(fd,(struct sockaddr *) addr,&length);
      |                                                      ^~~~~~~
      |                                                      |
      |                                                      size_t * {aka long 
unsigned int *}
In file included from io.c:17:
/usr/include/x86_64-linux-gnu/sys/socket.h:117:47: note: expected ‘socklen_t * 
restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ 
{aka ‘long unsigned int *’}
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
make[4]: *** [Makefile:471: io.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/arpd'
make[3]: *** [Makefile:367: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:413: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:345: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:37: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Reply via email to