#1096865 isatapd: ftbfs with GCC-15

Package:
src:isatapd
Source:
src:isatapd
Submitter:
Matthias Klose
Date:
2025-10-05 12:10:01 UTC
Severity:
normal
Tags:
#1096865#5
Date:
2025-02-17 17:20:49 UTC
From:
To:
[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/isatapd_0.9.7-5_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

[...]
checking for arpa/inet.h... yes
checking for netinet/ip.h... yes
checking for netinet/icmp6.h... yes
checking for linux/socket.h... yes
checking for sys/utsname.h... yes
checking for getopt.h... yes
checking for pid_t... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for GNU libc compatible malloc... yes
checking for ioctl... yes
checking for getopt_long... yes
checking for syslog... yes
checking for fcntl... yes
checking if 1=2... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/isatapd-0.9.7'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/isatapd-0.9.7'
Making all in .
make[3]: Entering directory '/build/reproducible-path/isatapd-0.9.7'
make[3]: Leaving directory '/build/reproducible-path/isatapd-0.9.7'
Making all in src
make[3]: Entering directory '/build/reproducible-path/isatapd-0.9.7/src'
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/isatapd-0.9.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/isatapd-0.9.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o isatap.o isatap.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/isatapd-0.9.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tunnel.o tunnel.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/isatapd-0.9.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o rdisc.o rdisc.c
isatap.c: In function ‘run_solicitation_loop’:
isatap.c:412:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
  412 |         signal(SIGHUP, sighup_handler_child);
      |                        ^~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        void (*)(void)
In file included from isatap.c:20:
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
isatap.c:342:13: note: ‘sighup_handler_child’ declared here
  342 | static void sighup_handler_child() {
      |             ^~~~~~~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make[3]: *** [Makefile:375: isatap.o] Error 1
make[3]: *** Waiting for unfinished jobs....
tunnel.c: In function ‘tunnel_add’:
tunnel.c:85:9: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
   85 |         strncpy(p.name, dev, IFNAMSIZ);
      |         ^
tunnel.c: In function ‘tunnel_del’:
tunnel.c:176:9: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  176 |         strncpy(p.name, dev, IFNAMSIZ);
      |         ^
make[3]: Leaving directory '/build/reproducible-path/isatapd-0.9.7/src'
make[2]: *** [Makefile:372: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/isatapd-0.9.7'
make[1]: *** [Makefile:313: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/isatapd-0.9.7'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1096865#14
Date:
2025-10-03 15:28:58 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for isatapd (versioned as 0.9.7-5.1) and uploaded
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian

#1096865#23
Date:
2025-10-05 12:07:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
isatapd, 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 1096865@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated isatapd 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)
Format: 1.8
Date: Fri, 03 Oct 2025 18:25:23 +0300
Source: isatapd
Architecture: source
Version: 0.9.7-5.1
Distribution: unstable
Urgency: medium
Maintainer: Bernhard Schmidt <berni@debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1096865
Changes:
 isatapd (0.9.7-5.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with GCC 15. (Closes: #1096865)
Checksums-Sha1:
 9a7e8fbc68e30648e167300b576e410532426371 1837 isatapd_0.9.7-5.1.dsc
 186fb43711063d27d8382f178298b157d9e4a7f9 5096 isatapd_0.9.7-5.1.debian.tar.xz
Checksums-Sha256:
 8cfe52af59142a03599f4aa311e423cc02e40a93e0040fcc375e3c4a8c9f4631 1837 isatapd_0.9.7-5.1.dsc
 9ad8c24b525de38d52b719c62235c8d394af543a2cca2987d94388a313aa35ad 5096 isatapd_0.9.7-5.1.debian.tar.xz
Files:
 f5f36e6697592c15db81592373f11615 1837 net optional isatapd_0.9.7-5.1.dsc
 69df268d59d4987475a0642a124afabe 5096 net optional isatapd_0.9.7-5.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjf66QACgkQiNJCh6LY
mLFmTA//cEe7rzezElHPjEQ3FTeaUodfuXHep65T8+Nk5+2gQM47sMFOK9viuWmI
PP096FE3MW2oY51F88rYSsELr8Lpqox9g1v4OuxdwXg4PdFyn0d1I1F5M//VdWsl
VULh96EcEMMl6+SZlogh4NzvWWhB9DZ/d2ICe47fvEAd/6pwTk1I7XXiPnzti9hY
sxex1WpwXgeYPen4/3OWxABHAeNlKDUwJwpAz0IN/dc0ZExeoht1fL8Ktg1VINQk
sY3nZO4vDciYX8BLnMqSBZ2WBiTxCqhAWEob7f+7OpcNXBWaBrxUlunWJ1EB+Bsq
1j6qXMsxAQcm5vK8oH+guZQkQ3fEEAJxGmcd84CtFy5MEd9rPgN4FiJP8yxOPfVK
eLrNb7i5EPUE3sH0+CVd5vCkxipT/mVuOhkgxppLU7hahPDahLty0yaluesfvzmB
4HWutptz8AiOTPjtJRgG8hoVYexQf7zBN1BVOcfdgtKhMtFtCmAoS33QXUhTVE57
L6+JM809QgpXgmD9Sjt7XfStPVZsF9GaL0ASvon9d1Qv3uhGTtOIrsjDvl677nuk
TqBYjm/Q0Jh1zadnwjb7ehISLSvZCliW/jsI8AgGUV5MJtla3E4KrBZHpfymq60Y
5OzjoESKULGc7/lVzfkqGvO9SyhqRID2W+TeVsDds5KMMfpcilQ=
=vmzR
-----END PGP SIGNATURE-----