Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523154 - net-analyzer/wireshark-1.12.1 - configure: error: invalid package name: libnl=3
Summary: net-analyzer/wireshark-1.12.1 - configure: error: invalid package name: libnl=3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 18:38 UTC by Stuart Shelton
Modified: 2014-09-18 20:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2014-09-18 18:38:50 UTC
libnl is, as the wireshark configure script notes, Linux-specific.  However, the unguarded use of "use_with" causes '--without-libnl=3' to be passed to configure on OS X (or, indeed, any non-linux system), and the configure script doesn't appear to like to see parameters for '--without' options.

Actually, it looks as if the ebuild line:

$(use_with netlink libnl=3) \

... should read:

$(use_with netlink libnl 3) \


Output:

>> Configuring source in /Volumes/Scratch/tmp/portage/net-analyzer/wireshark-1.12.1/work/wireshark-1.12.1 ...
 * econf: updating wireshark-1.12.1/config.guess with /opt/gentoo/usr/share/gnuconfig/config.guess
 * econf: updating wireshark-1.12.1/config.sub with /opt/gentoo/usr/share/gnuconfig/config.sub
./configure --prefix=/opt/gentoo/usr --build=x86_64-apple-darwin13 --host=x86_64-apple-darwin13 --mandir=/opt/gentoo/usr/share/man --infodir=/opt/gentoo/usr/share/info --datadir=/opt/gentoo/usr/share --sysconfdir=/opt/gentoo/etc --localstatedir=/opt/gentoo/var/lib --libdir=/opt/gentoo/usr/lib --disable-silent-rules --disable-dependency-tracking --enable-ipv6 --with-c-ares --without-libcap --with-gcrypt --with-geoip --without-gtk3 --without-krb5 --without-lua --without-libnl=3 --with-dumpcap-group=wireshark --with-pcap --without-portaudio --without-qt --with-libsmi --without-gnutls --with-zlib --disable-profile-build --disable-usr-local --sysconfdir=/opt/gentoo/etc/wireshark --without-adns --disable-wireshark
configure: error: invalid package name: libnl=3
 * ERROR: net-analyzer/wireshark-1.12.1::gentoo_prefix failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called __call-ebuildshell 'src_configure'
 *        environment, line  341:  Called src_configure
 *        environment, line 3639:  Called econf '--enable-ipv6' '--with-c-ares' '--without-libcap' '--with-gcrypt' '--with-geoip' '--without-gtk3' '--without-krb5' '--without-lua' '--without-libnl=3' '--with-dumpcap-group=wireshark' '--with-pcap' '--without-portaudio' '--without-qt' '--with-libsmi' '--without-gnutls' '--with-zlib' '--disable-profile-build' '--disable-usr-local' '--sysconfdir=/opt/gentoo/etc/wireshark' '--without-adns' '--disable-wireshark'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-18 19:12:57 UTC
(In reply to Stuart Shelton from comment #0)
> configure on OS X (or, indeed, any non-linux system)

Or indeed, any system.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-18 20:35:50 UTC
 
  18 Sep 2014; Jeroen Roovers <jer@gentoo.org> wireshark-1.12.1.ebuild:
  Fix configuring without libnl (bug #523154 by Stuart Shelton).