Your message dated Mon, 19 Aug 2024 12:04:13 +0000
with message-id <[email protected]>
and subject line Bug#1066662: fixed in hping3 3.a2.ds2-10.1
has caused the Debian Bug report #1066662,
regarding hping3: FTBFS: script.c:1351:29: error: implicit declaration of
function ‘asprintf’; did you mean ‘vsprintf’?
[-Werror=implicit-function-declaration]
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.)
--
1066662: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066662
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: hping3
Version: 3.a2.ds2-10
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> gcc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -I/usr/include/pcap
> -I/usr/include/tcl8.6 -DUSE_TCL -g ars.c
> script.c: In function ‘HpingTcl_AppInit’:
> script.c:1351:29: error: implicit declaration of function ‘asprintf’; did you
> mean ‘vsprintf’? [-Werror=implicit-function-declaration]
> 1351 | if (asprintf(&rcfile, "%s/.hpingrc", home) <
> 0)
> | ^~~~~~~~
> | vsprintf
> gcc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -I/usr/include/pcap
> -I/usr/include/tcl8.6 -DUSE_TCL -g apd.c
> gcc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -I/usr/include/pcap
> -I/usr/include/tcl8.6 -DUSE_TCL -g split.c
> In file included from ars.c:15:
> ars.c: In function ‘ars_multi_cksum’:
> ars.c:485:60: warning: comparison with string literal results in unspecified
> behavior [-Waddress]
> 485 | assert("else reached in ars_multi_cksum()" == "");
> | ^~
> ars.c:485:60: warning: comparison with string literal results in unspecified
> behavior [-Waddress]
> 485 | assert("else reached in ars_multi_cksum()" == "");
> | ^~
> ars.c: In function ‘ars_bsd_fix’:
> ars.c:909:27: warning: variable ‘ip’ set but not used
> [-Wunused-but-set-variable]
> 909 | struct ars_iphdr *ip;
> | ^~
> In file included from /usr/include/string.h:535,
> from scan.c:17:
> In function ‘memcpy’,
> inlined from ‘receiver’ at scan.c:459:4,
> inlined from ‘scanmain’ at scan.c:545:3:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning:
> ‘__builtin___memcpy_chk’ forming offset [8, 19] is out of the bounds [0, 8]
> of object ‘icmp’ with type ‘struct myicmphdr’ [-Warray-bounds=]
> 29 | return __builtin___memcpy_chk (__dest, __src, __len,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 30 | __glibc_objsize0 (__dest));
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> scan.c: In function ‘scanmain’:
> scan.c:445:42: note: ‘icmp’ declared here
> 445 | struct myicmphdr icmp;
> | ^~~~
> gcc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -I/usr/include/pcap
> -I/usr/include/tcl8.6 -DUSE_TCL -g rapd.c
> apd.c: In function ‘ars_decode_hex’:
> apd.c:823:16: warning: pointer targets in returning ‘unsigned char *’ from a
> function with return type ‘char *’ differ in signedness [-Wpointer-sign]
> 823 | return saved;
> | ^~~~~
> apd.c: In function ‘ars_decode_string’:
> apd.c:852:16: warning: pointer targets in returning ‘unsigned char *’ from a
> function with return type ‘char *’ differ in signedness [-Wpointer-sign]
> 852 | return saved;
> | ^~~~~
> apd.c: In function ‘ars_d_set_data’:
> apd.c:889:21: warning: variable ‘err’ set but not used
> [-Wunused-but-set-variable]
> 889 | int err, blen;
> | ^~~
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:66: script.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/hping3_3.a2.ds2-10_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: hping3
Source-Version: 3.a2.ds2-10.1
Done: Michael Prokop <[email protected]>
We believe that the bug you reported is fixed in the latest version of
hping3, 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.
Michael Prokop <[email protected]> (supplier of updated hping3 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: SHA256
Format: 1.8
Date: Wed, 14 Aug 2024 13:02:30 +0200
Source: hping3
Architecture: source
Version: 3.a2.ds2-10.1
Distribution: unstable
Urgency: medium
Maintainer: Marcio de Souza Oliveira <[email protected]>
Changed-By: Michael Prokop <[email protected]>
Closes: 1066662
Changes:
hping3 (3.a2.ds2-10.1) unstable; urgency=medium
.
[ Arnaud Rebillout ]
* Non-maintainer upload.
* Don't use asprintf (requires _GNU_SOURCE_) (Closes: #1066662)
Checksums-Sha1:
18b1624b227e45d26c78ba9b1d919f0dee2edd14 1885 hping3_3.a2.ds2-10.1.dsc
2a153d84191b410a15bf53aa9b947b166c0e34c7 22732
hping3_3.a2.ds2-10.1.debian.tar.xz
9f8aafd618be34a2b56435361354feef0010cfe3 5872
hping3_3.a2.ds2-10.1_source.buildinfo
Checksums-Sha256:
a2d98176de6fcc1ac25e4c626bc687fe5d5961e11008af5d606c2947bf5c25a9 1885
hping3_3.a2.ds2-10.1.dsc
e6befbdbd53202c0b4afc730fb7ca3c6b26208cdca50a8be978aef0cf9895992 22732
hping3_3.a2.ds2-10.1.debian.tar.xz
603c1667d9dcb356d4f5353197b134ad364259f3bf435ce9027c4915ee0891d0 5872
hping3_3.a2.ds2-10.1_source.buildinfo
Files:
a3db1703944d0ae21181519f1e6603a3 1885 net optional hping3_3.a2.ds2-10.1.dsc
2b562c611f6e667990cb0d9b11311432 22732 net optional
hping3_3.a2.ds2-10.1.debian.tar.xz
a969b3f826700b5cc3ce903bce697da0 5872 net optional
hping3_3.a2.ds2-10.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEM8yxNkAa/shDo4djlqh4crfqNzcFAma8kccACgkQlqh4crfq
NzfELxAAmalZvquH4lioIoYNtoVjra3b/7O1cDe0Mq1uN203qgsQhGwD1wla4FP8
feszv2PAWMIo9P1wc9fMPxuGOREYwU7v8czw805mTxnLEtjrbvDxO8vMcANRcp6a
CNZReafwIjOvPCD8rRSHOWJxbjL6wtLEFOE76Dy5oilndy9/mRWbLVeBkDszjxMB
k587HqpzIUqEde3Ls573kUc05eRIHYcCaiap7PVV9aXTSsQWJCUmp37XpZnK7/SH
wz4SP8IVsAgFyPWXILXK4qZ0Iwbr6DwOJjCZgZ9l4RHaVLcG4H/LqxfINu0bThCs
zcOj3pBeiCvGYnreQDEehUYWtESuIeB8WcuPehxUG6a9AZI1G0mqwYHDfJVXhMzf
vkjsEVjQcuwrnEMr7Aiy2c/RWZew0ATYvHtDbzy9eRvEaYX+DX6Y8mVWsR1qtBFL
wCmzQNMYN98a3fgT5S7fcbNp+CbBVNjnft8S56oRMXLmyS30Qzzv3F5mhPphuTeZ
GvkUV76sYlHfrm6e3f75c5FoQjzF8ltPzywDOuWQletZyMcxCpb/JIpy/7MKsGWi
6vM2QbmlssZTA+JHln/OpK8EW5+WEjsehcFc1DZrFR/hIi4bC37NM75rm79ZqtmI
0Uiip+8c0IOx5iUt0+MP2vd3uQqLNZ9e8r6BCoE475d26WPYqJ0=
=1O4F
-----END PGP SIGNATURE-----
pgpB00YCM0hKi.pgp
Description: PGP signature
--- End Message ---