Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424701 - app-emulation/libvirt-0.9.13 doesn't respect dev-libs/libnl SLOT
Summary: app-emulation/libvirt-0.9.13 doesn't respect dev-libs/libnl SLOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 07:51 UTC by Justin Lecher (RETIRED)
Modified: 2012-07-10 12:34 UTC (History)
1 user (show)

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 Justin Lecher (RETIRED) gentoo-dev 2012-07-04 07:51:16 UTC
the package can be built with either slots of dev-libs/libnl and it magically selects the newer one, while the ebuild requests SLOT=1.1

dev-libs/libnl:1.1

checking for LIBNL... no
checking for LIBNL... yes


configure:       nl:   -lnl  


dev-libs/libnl:3

checking for LIBNL... yes
checking for LIBNL_ROUTE3... yes


configure:       nl: -I/usr/include/libnl3   -I/usr/include/libnl3   -lnl-3   -lnl-route-3 -lnl-3
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-07-04 16:52:30 UTC
Yeah up to 0.9.12 it preferred the older one and I flipped the check for 0.9.13 but when I bumped 0.9.13 in the tree I forgot to fix the ebuild. Thanks for catching that.

Fixed in CVS.
Comment 2 Tomáš Chaloupka 2012-07-10 12:34:59 UTC
I'm not sure if this should come to new bug or this to reopen, but app-emulation/libvirt-0.9.13 cannot be build against dev-libs/libnl:3 only.

On my system no other package depends on libnl:1.1 so it has been removed with packages cleanup.

After that, libvirt no longer builds.
Ïf I manually install back libnl:1.1, libvirt builds just ok.

Build error is:
In file included from libvirtd.c:50:0:
../src/util/virnetlink.h:30:27: fatal error: netlink/msg.h: No such file or directory
compilation terminated

I found mayby related bug: https://bugs.gentoo.org/show_bug.cgi?id=388659 where is the same problem mentioned.