[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097299: marked as done (linux-atm: ftbfs with GCC-15)



Your message dated Fri, 26 Sep 2025 01:50:11 +0000
with message-id <E1v1xb9-00EyRu-2j@fasolo.debian.org>
and subject line Bug#1097299: fixed in linux-atm 1:2.5.1-9
has caused the Debian Bug report #1097299,
regarding linux-atm: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1097299: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097299
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux-atm
Version: 1:2.5.1-7
Severity: important
Tags: sid forky
User: debian-gcc@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/linux-atm_2.5.1-7_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

[...]
  386 |         if ((itf = kernel_init(mac_addr, itf)) < 0 ) {
      |                                ^~~~~~~~
      |                                |
      |                                char *
In file included from main.c:56:
kernel.h:31:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’
   31 | int kernel_init(unsigned char *mac_addr, int itf);
      |                 ~~~~~~~~~~~~~~~^~~~~~~~
main.c:436:33: warning: pointer targets in passing argument 1 of ‘init_lec_params’ differ in signedness [-Wpointer-sign]
  436 |                 init_lec_params(mac_addr, elan_name, listen_addr.sas_addr.prv,
      |                                 ^~~~~~~~
      |                                 |
      |                                 char *
In file included from main.c:52:
join.h:6:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’
    6 | void init_lec_params(unsigned char *mac_addr, char *elan_name,
      |                      ~~~~~~~~~~~~~~~^~~~~~~~
main.c:417:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  417 |         write(fd, pidbuf, strlen(pidbuf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT address.o -MD -MP -MF .deps/address.Tpo -c -o address.o address.c
mv -f .deps/address.Tpo .deps/address.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT frames.o -MD -MP -MF .deps/frames.Tpo -c -o frames.o frames.c
frames.c: In function ‘handle_frame’:
frames.c:319:28: warning: pointer targets in passing argument 1 of ‘validate_frame’ differ in signedness [-Wpointer-sign]
  319 |         if (validate_frame(buff, size) < 0)
      |                            ^~~~
      |                            |
      |                            char *
frames.c:60:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’
   60 | int validate_frame(unsigned char *buff, int size)
      |                    ~~~~~~~~~~~~~~~^~~~
mv -f .deps/frames.Tpo .deps/frames.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c
mv -f .deps/display.Tpo .deps/display.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT kernel.o -MD -MP -MF .deps/kernel.Tpo -c -o kernel.o kernel.c
mv -f .deps/kernel.Tpo .deps/kernel.Po
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes  -Wl,-z,relro -o zeppelin join.o conn.o main.o address.o frames.o display.o kernel.o ../../src/lib/libatm.la 
libtool: link: gcc -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -o .libs/zeppelin join.o conn.o main.o address.o frames.o display.o kernel.o  ../../src/lib/.libs/libatm.so
make[4]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1/src/led'
Making all in lane
make[4]: Entering directory '/build/reproducible-path/linux-atm-2.5.1/src/lane'
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT mem.o -MD -MP -MF .deps/mem.Tpo -c -o mem.o mem.c
mv -f .deps/mem.Tpo .deps/mem.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
In file included from load.c:29:
load_lex.h:27:10: error: two or more data types in declaration specifiers
   27 |   Bool_t bool;
      |          ^~~~
load_lex.h:27:14: warning: declaration does not declare anything
   27 |   Bool_t bool;
      |              ^
load.c: In function ‘load_vars’:
load.c:501:29: error: expected identifier before ‘bool’
  501 |                    g_return.bool==BL_TRUE?"True":"False");
      |                             ^~~~
load.c:502:51: error: expected identifier before ‘bool’
  502 |         set_var_bool(curr_unit, varname, g_return.bool);
      |                                                   ^~~~
make[4]: *** [Makefile:508: load.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1/src/lane'
make[3]: *** [Makefile:371: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1/src'
make[2]: *** [Makefile:419: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1'
make[1]: *** [Makefile:351: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1'
make: *** [debian/rules:39: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: linux-atm
Source-Version: 1:2.5.1-9
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
linux-atm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1097299@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated linux-atm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 26 Sep 2025 03:11:36 +0200
Source: linux-atm
Architecture: source
Version: 1:2.5.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1097299 1105455
Changes:
 linux-atm (1:2.5.1-9) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with GCC 15.  (Closes: #1097299)
   * Fix building with make --shuffle=reverse.  (Closes: #1105455)
   * Enable all hardening flags.
Checksums-Sha1:
 13ad5bb54fdbb1d6e51918b9beeddfc4994e5295 2138 linux-atm_2.5.1-9.dsc
 74b3900a6be5338e921c3cd44e1c7df7ef9cb94d 14268 linux-atm_2.5.1-9.debian.tar.xz
 ea32833b750442d46e1cff4ee72a0b25025e6dc8 5448 linux-atm_2.5.1-9_source.buildinfo
Checksums-Sha256:
 95a9e87b131cf180e36e2d9628063d30caf434a582cda31540bdf1facbc732f1 2138 linux-atm_2.5.1-9.dsc
 7bb0f226085c56f0ee44b7311ebea3285b97ecf572a152dee995f15cd6e55899 14268 linux-atm_2.5.1-9.debian.tar.xz
 0e0276b7c3df01c16927667d460c5a97dcdb84a78a3822975fc8a7d4bdad9d72 5448 linux-atm_2.5.1-9_source.buildinfo
Files:
 8a133eda1dd5d7d2a356fcaf41333483 2138 net optional linux-atm_2.5.1-9.dsc
 55399b1ee9ba61ed5e46caaa66dd77c5 14268 net optional linux-atm_2.5.1-9.debian.tar.xz
 32091a551da879545b60c60363179cf8 5448 net optional linux-atm_2.5.1-9_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmjV6tIQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCL6CEACLZe4Hf2t+OcigLuovXxHYJZyu2uSopuOl
G7f4fwQWOq737yoOKFij1ZFZJIt+OwO5BckPIiAnIr+HjgjEW2K8IAt6wJh70DvB
st6UPPaSjL1n7fvw3Uj5t59HQQ0rqGYATq9D1j8iXlcIvC2xdzICLhwBy6iFl1OM
ENX5SxNUna/7yyWOZ5XhKxay1zfVNTH9BaTLkq9CicWrFQPtsY85lxE5gsYFyvHk
QLxHcyXFne1U1VJoYS2NwJ13XhrT3VPHZQpkoRe0W70i6o6LiyzSJByisgFveRS+
WMQYSv3SkY4EpVdbRDm6HAp6xTW7PvpMPK2djKon9/UR0eApfxa8oy/iWKzFOLcx
V/ydEGSz8JAhgjCD0PKSPzb4tC2PuME35OQmua1a9tsoxbx84v82Rz6B/LJt9Mc+
EbJuLYiymmkObreW6v6VCd/Nq1GHdTKD353a+gaNgcUR8/LNBnTca/strWV8ZRmS
LSEOGbVrfYX3AxG7psoB/8k1woOQFtRSnbNpJtfqtGz0GO9bjrJoBNcton/YWuni
Ao0DPaIA9JPAOCrA4kEufUL1N5WiHCRE793jja+y3e4csGO5NpdqsU6npXGRo7p4
1ixwAir/h7kgB5jp/phKzotzrRd1zgLCr3uVDsMZGyaoqJKHdkkJbpHERPVdG2S8
vAGsMZ9HGQ==
=1ETY
-----END PGP SIGNATURE-----

Attachment: pgpcgEG1_bpug.pgp
Description: PGP signature


--- End Message ---

Reply to: