Your message dated Fri, 1 Nov 2019 11:21:50 +0100
with message-id <95c5cd25-4d92-f882-08a0-808f6e6e3...@debian.org>
and subject line Re: Bug#943566: FTBFS with nettle 3.5.1
has caused the Debian Bug report #943566,
regarding FTBFS with nettle 3.5.1
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.)


-- 
943566: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943566
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pktanon
Version: 2~git20160407.0.2bde4f2+dfsg-5
Severity: serious
Tags: ftbfs
Justification: ftbfs
Control: block 941150 by -1

Dear maintainer,

Currently the nettle 3.5.1 transition is going on. I tried to binNMU
your package but it fails to build from source on all architectures.

Paul

https://buildd.debian.org/status/package.php?p=pktanon

Tail of log for pktanon on amd64:

   65 |    __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
      |                   ^
In file included from RawSocketRecordsHandler.cpp:20:
/usr/include/net/if.h:90:12: note: class type ‘sockaddr’ is incomplete
   90 |     struct sockaddr ifa_addr; /* Address of interface.  */
      |            ^~~~~~~~
g++ -DPACKAGE_NAME=\"pktanon\" -DPACKAGE_TARNAME=\"pktanon\"
-DPACKAGE_VERSION=\"2.0-beta\" -DPACKAGE_STRING=\"pktanon\ 2.0-beta\"
-DPACKAGE_BUGREPORT=\"bl...@kit.edu\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"pktanon\" -DVERSION=\"2.0-beta\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDDEF_H=1 -DHAVE_CXX11=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_ARPA_INET_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_NETINET_IN_H=1
-DHAVE_LINUX_IF_ETHER_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_NET_IF_H=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_FCNTL_H=1 -DHAVE_PCAP_PCAP_H=1 -I.  -O2
-pipe -Werror=return-type -I../include -g -DTRACE_ENABLED -DHAVE_LIBPCAP
-I../libpktanon -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -c -o SocketOutput.o SocketOutput.cpp
g++ -DPACKAGE_NAME=\"pktanon\" -DPACKAGE_TARNAME=\"pktanon\"
-DPACKAGE_VERSION=\"2.0-beta\" -DPACKAGE_STRING=\"pktanon\ 2.0-beta\"
-DPACKAGE_BUGREPORT=\"bl...@kit.edu\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"pktanon\" -DVERSION=\"2.0-beta\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDDEF_H=1 -DHAVE_CXX11=1 -DHAVE_SOCKET=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_ARPA_INET_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_NETINET_IN_H=1
-DHAVE_LINUX_IF_ETHER_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_NET_IF_H=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_FCNTL_H=1 -DHAVE_PCAP_PCAP_H=1 -I.  -O2
-pipe -Werror=return-type -I../include -g -DTRACE_ENABLED -DHAVE_LIBPCAP
-I../libpktanon -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -c -o LibpcapRecordsHandler.o
LibpcapRecordsHandler.cpp
make[2]: *** [Makefile:446: RawSocketRecordsHandler.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:487: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
make: *** [debian/rules:18: build-arch] Error 255


- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Hi,

>> Currently the nettle 3.5.1 transition is going on. I tried to binNMU
>> your package but it fails to build from source on all architectures.
[...]
> Utils.h includes <pcap.h> inside the pktannon namespace. This causes the
> sockaddr definition to be incorrectly placed in the pktannon namespace
> which causes problems later.
> 
> The fix is to move the include of <pcap.h> outside the namespace.

Thanks, that would have taken me quite some time to find on my own.

> I have uploaded my fix to Raspbian, A debdiff should appear soon at
> https://debdiffs.raspbian.org/main/p/pktanon , no intent to NMU in Debian.

I have included your patch in a recent Debian upload, so no need to NMU :)

Closing this bug as the build apparently has been fixed. Thanks again!

Cheers
Sascha

--- End Message ---

Reply via email to