Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661726 - dev-perl/Net-Pcap-0.180.0 with net-libs/libpcap-1.9.0 - stubs.inc:357:8: error: redefinition of struct pcap_rmtauth
Summary: dev-perl/Net-Pcap-0.180.0 with net-libs/libpcap-1.9.0 - stubs.inc:357:8: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: PATCH
: 684344 (view as bug list)
Depends on:
Blocks: 661724
  Show dependency tree
 
Reported: 2018-07-21 09:54 UTC by Toralf Förster
Modified: 2019-08-24 11:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.29 KB, text/plain)
2018-07-21 09:54 UTC, Toralf Förster
Details
dev-perl:Net-Pcap-0.180.0:20180721-094717.log (dev-perl:Net-Pcap-0.180.0:20180721-094717.log,9.32 KB, text/plain)
2018-07-21 09:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.95 KB, text/plain)
2018-07-21 09:55 UTC, Toralf Förster
Details
environment (environment,93.72 KB, text/plain)
2018-07-21 09:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.14 KB, application/x-bzip)
2018-07-21 09:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.13 KB, application/x-bzip)
2018-07-21 09:55 UTC, Toralf Förster
Details
Fix Net-Pcap compilation against libpcap 1.9.x (Net-Pcap-0.18-libpcap-1.9.0.patch,1.52 KB, patch)
2019-01-20 00:03 UTC, Hank Leininger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-07-21 09:54:56 UTC
 #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"
Comment 1 Toralf Förster gentoo-dev 2018-07-21 09:54:59 UTC
Created attachment 540324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-21 09:55:02 UTC
Created attachment 540326 [details]
dev-perl:Net-Pcap-0.180.0:20180721-094717.log
Comment 3 Toralf Förster gentoo-dev 2018-07-21 09:55:05 UTC
Created attachment 540328 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-21 09:55:07 UTC
Created attachment 540330 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-21 09:55:10 UTC
Created attachment 540332 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-21 09:55:13 UTC
Created attachment 540334 [details]
temp.tbz2
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-07-21 09:57:50 UTC
Dat timing.
Comment 8 Hank Leininger 2019-01-20 00:03:15 UTC
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.
Comment 9 Hank Leininger 2019-01-20 00:03:52 UTC
Created attachment 562224 [details, diff]
Fix Net-Pcap compilation against libpcap 1.9.x
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2019-04-26 07:57:21 UTC
*** Bug 684344 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2019-08-24 11:53:11 UTC
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(+)