| Summary: | dev-perl/Net-Pcap-0.180.0 with net-libs/libpcap-1.9.0 - stubs.inc:357:8: error: redefinition of struct pcap_rmtauth | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hlein, ikelos, kentnl, leonik375 |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
https://rt.cpan.org/Public/Bug/Display.html?id=127685 https://bugzilla.redhat.com/show_bug.cgi?id=1612860 |
||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 661724 | ||
| Attachments: |
emerge-info.txt
dev-perl:Net-Pcap-0.180.0:20180721-094717.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 Fix Net-Pcap compilation against libpcap 1.9.x |
||
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(+) |
#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"