#warning "the function pcap_open() is not available" ^~~~~~~ stubs.inc:357:8: error: redefinition of ‘struct pcap_rmtauth’ struct pcap_rmtauth { ^~~~~~~~~~~~ In file included from /usr/include/pcap.h:43:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_test_20180718-175402 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) emerge -qpv dev-perl/Net-Pcap [ebuild N ] dev-perl/Net-Pcap-0.180.0 USE="-examples"
Created attachment 540324 [details] emerge-info.txt
Created attachment 540326 [details] dev-perl:Net-Pcap-0.180.0:20180721-094717.log
Created attachment 540328 [details] emerge-history.txt
Created attachment 540330 [details] environment
Created attachment 540332 [details] etc.portage.tbz2
Created attachment 540334 [details] temp.tbz2
Dat timing.
Net::Pcap needs patches to compile against libpcap 1.9.x. I found a patch at https://bugzilla.redhat.com/show_bug.cgi?id=1612860 that fixes building for me, I will attach it.
Created attachment 562224 [details, diff] Fix Net-Pcap compilation against libpcap 1.9.x
*** Bug 684344 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9af315c8c78839177c0bee41ad17d7a3600d4ab commit e9af315c8c78839177c0bee41ad17d7a3600d4ab Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-08-24 11:49:47 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-08-24 11:53:07 +0000 dev-perl/Net-Pcap: Fix building against net-libs/libpcap-1.9.0 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/661726 Signed-off-by: Jeroen Roovers <jer@gentoo.org> dev-perl/Net-Pcap/Net-Pcap-0.180.0-r1.ebuild | 34 ++++++++++++++++++ .../files/Net-Pcap-0.18-libpcap-1.9.0.patch | 41 ++++++++++++++++++++++ 2 files changed, 75 insertions(+)