Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430116 - net-analyzer/ngrep-1.45-r3 unversioned DEPEND=net-libs/libpcap but fails to build with libpcap-0.9.8-r2
Summary: net-analyzer/ngrep-1.45-r3 unversioned DEPEND=net-libs/libpcap but fails to b...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jordan Ritter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 01:52 UTC by Peter Stuge
Modified: 2012-08-06 02:17 UTC (History)
1 user (show)

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


Attachments
Patch for ngrep-1.45-r3.ebuild to DEPEND on >=net-libs/libpcap-1.1.1-r1 (ngrep-1.45-r3_versioned_depend_libpcap-1.1.1-r1.patch,405 bytes, text/plain)
2012-08-06 01:52 UTC, Peter Stuge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Stuge 2012-08-06 01:52:17 UTC
Created attachment 320536 [details]
Patch for ngrep-1.45-r3.ebuild to DEPEND on >=net-libs/libpcap-1.1.1-r1

(3 years old) libpcap-0.9.8-r2 provides /usr/include/pcap.h

ngrep-1.45-r3.ebuild runs econf --with-pcap-includes="${EPREFIX}"/usr/include/pcap

As a result, ngrep configure can't find the header:
...
checking for a complete set of pcap headers... no
!!! couldn't find a complete set of pcap headers


The very old version of libpcap is no longer in portage. First emerging the oldest libpcap currently in portage makes ngrep-1.45-r3 build just fine.

I suggest changing from unversioned to DEPEND=">=net-libs/libpcap-1.1.1-r1". Patch attached.
Comment 1 Peter Stuge 2012-08-06 01:54:05 UTC
See also bug 247128
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-06 02:17:50 UTC
Not three years old. Five.

*libpcap-0.9.8 (09 Oct 2007)

  09 Oct 2007; Markus Ullmann <jokey@gentoo.org> -libpcap-0.9.4.ebuild,
  +libpcap-0.9.8.ebuild:
  Version bump wrt bug #194890

We really shouldn't need to go through the whole tree and support systems that haven't been upgraded in ages. We have enough on our hands supporting older packages against newer dependencies.