Your message dated Thu, 02 Oct 2025 21:10:56 +0000
with message-id <[email protected]>
and subject line Bug#1097445: fixed in netcat 1.10-50.1
has caused the Debian Bug report #1097445,
regarding netcat: 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 [email protected]
immediately.)
--
1097445: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097445
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:netcat
Version: 1.10-50
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/netcat_1.10-50_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
[...]
netcat.c:245:6: note: ‘catch’ declared here
245 | void catch ()
| ^~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c:1469:20: error: passing argument 2 of ‘signal’ from incompatible
pointer type [-Wincompatible-pointer-types]
1469 | signal (SIGQUIT, catch);
| ^~~~~
| |
| void (*)(void)
/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)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:245:6: note: ‘catch’ declared here
245 | void catch ()
| ^~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c:1470:20: error: passing argument 2 of ‘signal’ from incompatible
pointer type [-Wincompatible-pointer-types]
1470 | signal (SIGTERM, catch);
| ^~~~~
| |
| void (*)(void)
/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)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:245:6: note: ‘catch’ declared here
245 | void catch ()
| ^~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
netcat.c:1654:17: warning: pointer targets in passing argument 1 of ‘open’
differ in signedness [-Wpointer-sign]
1654 | ofd = open (stage, O_WRONLY | O_CREAT | O_TRUNC, 0664);
| ^~~~~
| |
| unsigned char *
In file included from /usr/include/fcntl.h:341,
from netcat.c:84:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:43:19: note: expected ‘const char
*’ but argument is of type ‘unsigned char *’
43 | open (const char *__path, int __oflag, ...)
| ~~~~~~~~~~~~^~~~~~
netcat.c:1668:15: warning: the comparison will always evaluate as ‘true’ for
the address of ‘iaddrs’ will never be NULL [-Waddress]
1668 | if (whereto && whereto->iaddrs)
| ^~
netcat.c:112:18: note: ‘iaddrs’ declared here
112 | struct in_addr iaddrs[8]; /* real addresses: in_addr.s_addr:
ulong */
| ^~~~~~
netcat.c: In function ‘doexec’:
netcat.c:636:1: warning: control reaches end of non-void function
[-Wreturn-type]
636 | } /* doexec */
| ^
netcat.c: In function ‘atelnet’:
netcat.c:1194:14: warning: ignoring return value of ‘write’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1194 | (void) write (netfd, obuf, 3);
| ^~~~~~~~~~~~~~~~~~~~~~
netcat.c: In function ‘readwrite’:
netcat.c:1367:7: warning: ignoring return value of ‘write’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
1367 | write (fd, "\r\n", 2); /* \r\n */
| ^~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:31: nc] Error 1
make[3]: Leaving directory '/build/reproducible-path/netcat-1.10'
make[2]: *** [Makefile:70: linux] Error 2
make[2]: Leaving directory '/build/reproducible-path/netcat-1.10'
make[1]: *** [debian/rules:20: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/reproducible-path/netcat-1.10'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: netcat
Source-Version: 1.10-50.1
Done: Sergio Durigan Junior <[email protected]>
We believe that the bug you reported is fixed in the latest version of
netcat, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sergio Durigan Junior <[email protected]> (supplier of updated netcat 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 27 Sep 2025 16:44:56 -0400
Source: netcat
Architecture: source
Version: 1.10-50.1
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Sergio Durigan Junior <[email protected]>
Closes: 1097445
Changes:
netcat (1.10-50.1) unstable; urgency=medium
.
* Non-maintainer upload.
* d/p/fix-ftbfs-gcc15.patch: Fix FTBFS with GCC 15. (Closes: #1097445)
Checksums-Sha1:
dfe04520455b4c31d917f4d0a0aa76b139c3dabf 1909 netcat_1.10-50.1.dsc
1ac0757f8acc3e557602519940db0edbaa7fdf49 21668 netcat_1.10-50.1.debian.tar.xz
5986cbc4996f8abbf8904a1bab04b316079aee5f 5955 netcat_1.10-50.1_amd64.buildinfo
Checksums-Sha256:
c8d5729fca610f6e72e29f7071a7e3357917a28ab6411d37e7787006541375d9 1909
netcat_1.10-50.1.dsc
de09afb95f06c8eafdc2308d4f3ea20e1dbd9293f417b883225857452eb8f6f1 21668
netcat_1.10-50.1.debian.tar.xz
189bb0c29e2631670756a82a8eb01434eafc5f2bef381e2cd5b97e84dbe4daba 5955
netcat_1.10-50.1_amd64.buildinfo
Files:
a64e2102568fc1a1633802341c13420e 1909 net optional netcat_1.10-50.1.dsc
8b0b811b21e353be3661298a472d2865 21668 net optional
netcat_1.10-50.1.debian.tar.xz
3b55297bf83411e10d93cf111ca5b2ce 5955 net optional
netcat_1.10-50.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEI3pUsQKHKL8A7zH00Ot2KGX8XjYFAmjYTRcUHHNlcmdpb2Rq
QGRlYmlhbi5vcmcACgkQ0Ot2KGX8XjbBNw//YtDbl3RieDlx/dkyDgjKqlMvSU/9
dnTuojh1vPsotK5Bt5+T7ig2He25j+GeJHQgaWpSrKxMlZXfy3YlHUqMXghHMeVo
l0jumuC5+IFuFE3eXimJpxcJ06/IaoxlbLMkFtFfUQcGJA1ijttijJelGNdgYKF1
REKDh0enx2kp478CK8ZeYcY51sl5UhiPUU8SVkzlVpv0q+nuzMXRbZJgnqnBwZDr
lUA+amObWZbe/V8ZeOVwpW8rN/b5dVC6Ej4k4yjDhQIkQ7XGvnLrB2gFweDzktjg
TVxvK1nJb1zJB45GoBFLcxA6nn+n4VBEOnQlYkIga7+Gxun4HF9hyv6tjYfGKw55
MLIBCRv7XXpIyTM1Ul5iBD1yPJMQlzJD9EUs+yiTJM+1Abw8wozpLUNPJRwauzGC
xMMXGFdUUDQTrGKu/nAFi6+aBpf4Xow+WJPm7ioUW/GH+3+C6rRrOXLCZH0QHE/D
IC8nfe/8QedmYXmVmYcF6yLdshkHVYxTH3NctY96iSayuYPRZIM2xLm89V9GaGcv
bIjNshvBls8cSYRuqOWmLD9Ad176p6wCYebZX7Fs3DoCBTqfO66mu/CS2mdX2zGZ
OA1snKreojLACTP52XNHZMhDZOKfbn7qS56+pzaxB/mNSlM6Q3T8XUlJ4kvLlbrI
1gKvAx3dAGJYWz8=
=8lAP
-----END PGP SIGNATURE-----
pgp8m02vJWnfo.pgp
Description: PGP signature
--- End Message ---