Your message dated Sun, 10 Mar 2024 23:35:53 +0000
with message-id <e1rjsht-00bz3j...@fasolo.debian.org>
and subject line Bug#1066001: fixed in libnet-rawip-perl 0.25-4
has caused the Debian Bug report #1066001,
regarding libnet-rawip-perl: FTBFS on arm{el,hf}: RawIP.xs:660:14: error:
implicit declaration of function ‘tap’; did you mean ‘tan’?
[-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 ow...@bugs.debian.org
immediately.)
--
1066001: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066001
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libnet-rawip-perl
Version: 0.25-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=libnet-rawip-perl&arch=armhf&ver=0.25-3%2Bb3&stamp=1709818005&raw=0
arm-linux-gnueabihf-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2
-DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC
"-I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -D_GLIBC_ RawIP.c
RawIP.xs: In function ‘XS_Net__RawIP_timem’:
RawIP.xs:614:27: warning: format ‘%u’ expects argument of type ‘unsigned int’,
but argument 2 has type ‘__time64_t’ {aka ‘long long int’} [-Wformat=]
614 | RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec);
| ^~~~~~~~~ ~~~~~~~~~
| |
| __time64_t {aka long long int}
RawIP.xs:614:27: warning: format ‘%u’ expects argument of type ‘unsigned int’,
but argument 3 has type ‘__suseconds64_t’ {aka ‘long long int’} [-Wformat=]
614 | RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec);
| ^~~~~~~~~ ~~~~~~~~~~
| |
| __suseconds64_t {aka
long long int}
RawIP.xs: In function ‘XS_Net__RawIP_tap’:
RawIP.xs:660:14: error: implicit declaration of function ‘tap’; did you mean
‘tan’? [-Werror=implicit-function-declaration]
660 | RETVAL = tap(device,&i,m);
| ^~~
| tan
RawIP.xs: In function ‘XS_Net__RawIP_mac_disc’:
RawIP.xs:676:14: error: implicit declaration of function ‘mac_disc’
[-Werror=implicit-function-declaration]
676 | RETVAL = mac_disc(addr,m);
| ^~~~~~~~
RawIP.xs: In function ‘XS_Net__RawIP_send_eth_packet’:
RawIP.xs:691:5: error: implicit declaration of function ‘send_eth_packet’
[-Werror=implicit-function-declaration]
691 | send_eth_packet(fd, eth_device, (char*)SvPV(pkt,PL_na),
SvCUR(pkt),flag);
| ^~~~~~~~~~~~~~~
In file included from /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/perl.h:6168,
from RawIP.xs:5:
RawIP.c: In function ‘XS_Net__RawIP_open_live’:
RawIP.c:1791:15: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1791 | PUSHi((IV)RETVAL);
| ^
/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/pp.h:428:23: note: in definition of
macro ‘TARGi’
428 | IV TARGi_iv = i;
\
| ^
RawIP.c:1791:9: note: in expansion of macro ‘PUSHi’
1791 | PUSHi((IV)RETVAL);
| ^~~~~
RawIP.c: In function ‘XS_Net__RawIP_open_offline’:
RawIP.c:1818:15: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1818 | PUSHi((IV)RETVAL);
| ^
/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/pp.h:428:23: note: in definition of
macro ‘TARGi’
428 | IV TARGi_iv = i;
\
| ^
RawIP.c:1818:9: note: in expansion of macro ‘PUSHi’
1818 | PUSHi((IV)RETVAL);
| ^~~~~
RawIP.c: In function ‘XS_Net__RawIP_dump_open’:
RawIP.c:1831:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1831 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.xs: In function ‘XS_Net__RawIP_lookupdev’:
RawIP.xs:1370:5: warning: ‘pcap_lookupdev’ is deprecated: use
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
1370 | RETVAL = pcap_lookupdev(ebuf);
| ^~~~~~
In file included from /usr/include/pcap.h:43,
from RawIP.xs:36:
/usr/include/pcap/pcap.h:395:18: note: declared here
395 | PCAP_API char *pcap_lookupdev(char *);
| ^~~~~~~~~~~~~~
RawIP.c: In function ‘XS_Net__RawIP_dispatch’:
RawIP.c:1937:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1937 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c:1941:33: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1941 | pcap_handler print = (pcap_handler)SvIV(ST(2))
| ^
RawIP.xs:1411:16: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1411 | user = (SV *) SvIV(user);
| ^
RawIP.c: In function ‘XS_Net__RawIP_loop’:
RawIP.c:1975:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1975 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c:1979:33: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1979 | pcap_handler print = (pcap_handler)SvIV(ST(2))
| ^
RawIP.xs:1433:16: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1433 | user = (SV *)SvIV(user);
| ^
RawIP.c: In function ‘XS_Net__RawIP_compile’:
RawIP.c:2013:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2013 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c:2015:38: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2015 | struct bpf_program * fp = (struct bpf_program *)SvIV(ST(1))
| ^
In file included from /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/perl.h:6227:
RawIP.c:2029:25: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
2029 | sv_setiv(ST(1), (IV)fp);
| ^
/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/embed.h:688:71: note: in definition
of macro ‘sv_setiv’
688 | # define sv_setiv(a,b) Perl_sv_setiv(aTHX_ a,b)
| ^
RawIP.c: In function ‘XS_Net__RawIP_linkoffset’:
RawIP.c:2045:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2045 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_setfilter’:
RawIP.c:2066:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2066 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c:2068:38: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2068 | struct bpf_program * fp = (struct bpf_program *)SvIV(ST(1))
| ^
RawIP.c: In function ‘XS_Net__RawIP_next’:
RawIP.c:2088:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2088 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_datalink’:
RawIP.c:2126:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2126 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_snapshot’:
RawIP.c:2146:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2146 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_is_swapped’:
RawIP.c:2166:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2166 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_major_version’:
RawIP.c:2186:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2186 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_minor_version’:
RawIP.c:2206:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2206 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_stat’:
RawIP.c:2226:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2226 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c:2228:30: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2228 | u_char * ps = (u_char *)SvIV(ST(1))
| ^
RawIP.c:2237:25: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
2237 | sv_setiv(ST(1), (IV)ps);
| ^
/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/embed.h:688:71: note: in definition
of macro ‘sv_setiv’
688 | # define sv_setiv(a,b) Perl_sv_setiv(aTHX_ a,b)
| ^
RawIP.c: In function ‘XS_Net__RawIP_fileno’:
RawIP.c:2253:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2253 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_perror’:
RawIP.c:2273:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2273 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_geterr’:
RawIP.c:2291:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2291 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_close’:
RawIP.c:2331:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2331 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_dump_close’:
RawIP.c:2347:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2347 | pcap_dumper_t * p = (pcap_dumper_t *)SvIV(ST(0))
| ^
RawIP.c: In function ‘XS_Net__RawIP_file’:
RawIP.c:2363:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
2363 | pcap_t * p = (pcap_t *)SvIV(ST(0))
| ^
cc1: some warnings being treated as errors
make[1]: *** [Makefile:363: RawIP.o] Error 1
Cheers
--
Sebastian Ramacher
--- End Message ---
--- Begin Message ---
Source: libnet-rawip-perl
Source-Version: 0.25-4
Done: gregor herrmann <gre...@debian.org>
We believe that the bug you reported is fixed in the latest version of
libnet-rawip-perl, 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 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libnet-rawip-perl
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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 11 Mar 2024 00:16:57 +0100
Source: libnet-rawip-perl
Architecture: source
Version: 0.25-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1066001
Changes:
libnet-rawip-perl (0.25-4) unstable; urgency=medium
.
* Add Fedora patches to fix compiler warnings and errors.
(Closes: #1066001)
* Update years of packaging copyright.
* Declare compliance with Debian Policy 4.6.2.
* Set Rules-Requires-Root: no.
* Enable all hardening flags.
* Annotate test-only build dependencies with <!nocheck>.
* Add /me to Uploaders.
Checksums-Sha1:
392d1f6ca7cbdc0e456d106b338347c4965d271e 2497 libnet-rawip-perl_0.25-4.dsc
4889fd9c63dff67f3a875e3777c26f33017faa40 7220
libnet-rawip-perl_0.25-4.debian.tar.xz
Checksums-Sha256:
0540eafc5bb31ab0bcd67f042eb2087f3f2a238d2c708121e47b1baa3909797c 2497
libnet-rawip-perl_0.25-4.dsc
adf2c60941f227a494f8bb7bfacb68dcc59a0a0eddd3eb156c640e32877bd932 7220
libnet-rawip-perl_0.25-4.debian.tar.xz
Files:
538c7fdf215a495ef35abb39fc88301e 2497 perl optional
libnet-rawip-perl_0.25-4.dsc
945ab80f9e439f60303ca96aca1f2475 7220 perl optional
libnet-rawip-perl_0.25-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmXuQAJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgax+RAArHhUIvq3zPB7+HyljW8YLb94O5j2dRpCNxe0HXnv9CCsRrwlk4FwWjQc
CUPanoEAj04RhCeK/OVNKemcbp7TgHeQ4uWWALmZ7ZnDWAv0q9nzCJuoYrTpQjmV
+BQ8XeiM7nTMuU5FB9YZsIUETlKDXPCyYx/F+N2XCcHX+GLFvC7kDS3ioJXGZHNi
D/9evOxh3Uf1KGj42gYeoplHim3/ug3q+B3JAppqwOMqHLHJOdZJKNqWURXWyjuH
rRe27mpjK1JinDfdCluVfhzftse8apA/xEmlgpUEtdUJFEfZ9lUCSoNS7kOA0X9P
YpQMXLO+cHh5cgJDKezud21S85rRXhNuy/R0bLhbza/LYG6e6X8ZQfwJT9rs/bn6
pP06/7aFH+z2v/fYAkND6z89wIDDVT9vcu9uGlvWmSJMUHHrQqNwcKrCoqcN0DMQ
FgsNnop9Og3BUkKkj2xMggpj/SX9e09U8XnL/ZSk8q9pRGfFpO+swZa4YdWQwQil
kQWzTjbVV89gfpeFfOLQOGSNHsSXOkeClXhjSPgfNs7C3gtORBx5Cjyy2CWUjMV+
CO/wxFoHTgXcFtmQwhjnn9DYcvu4pgGCdpAMxLR7InFtYFN5DhTMWCi+OTopat5j
SBX9PyPi6BztZffI7clsDOmElXJGNz09AE23LKzFSOZgPGmyBV0=
=srvV
-----END PGP SIGNATURE-----
pgprSct7IOlB6.pgp
Description: PGP signature
--- End Message ---