tags 943566 +patch thanks
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.
I had a fiddle around with the order of includes and this led me to some different error messages which led me to the real problem. 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. I then ran into a testsuite failure, it seems the testsuite needs ncat and tshark, initially I thought this may be extra tests activated by building as root, but it also seemed to happen when building as nobody. So I went ahead and added the build-dependencies, but I still had a bunch of test failures. Looking back at the last succesful Debian build I noticed the testsuite was not being run on the autobuilders because runtest was not installed. However the chroot I was testing in did have runtest installed. I decided to go ahead and disable the testsuite and remove the extra build-depends I added. I also extended the clean target to clean up some files that were left behind after said failed testsuite run. I have not checked if the same files are left behind by a successful testsuite run. 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.