Summary: | app-emulation/lxd-3.5 should depend on net-libs/libnsl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Terra <gentoo.org> |
Component: | Current packages | Assignee: | Erik Mackdanz <stasibear> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | vdupras, virtualization |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Terra
2018-11-07 07:24:34 UTC
Is this reproducible in 3.5-r1 or 3.6-r1? I suspect that the fix for https://bugs.gentoo.org/669008 fixes your linking issue also. Hello Erik,
Unfortunately, the same problem exists for both:
1) app-emulation/lxd-3.5-r1
2) app-emulation/lxd-3.6-r1
if net-libs/libnsl is not installed at time of compilation. If I manually install libnsl, lxd compiles and installs fine.
I didn't catch this until now because where I had previously run lxd had libnsl pulled in by net-fs/samba, but installing on a new system where libnsl wasn't a dependency of any installed package caused the problem to surface.
The flags I'm using are: app-emulation/lxd-3.5 daemon dnsmasq ipv6 nls
FWIW, I tried to see if any use flags were the culprit:
$ USE="-daemon -dnsmasq -ipv6 -nls" ebuild lxd-3.6-r1.ebuild compile
Unfortunately, the same linking issue remains:
>> /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnsl
It would seem that dqlite has a hard dependency for it and libnsl is not checked for existence during its configure phase.
Hope that helps.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728da7cdc72a5b7c8b74125fb8e4126587282fb0 commit 728da7cdc72a5b7c8b74125fb8e4126587282fb0 Author: Erik Mackdanz <stasibear@gentoo.org> AuthorDate: 2018-12-15 22:22:46 +0000 Commit: Erik Mackdanz <stasibear@gentoo.org> CommitDate: 2018-12-15 22:22:46 +0000 app-emulation/lxd: Bump to 3.8 Closes: https://bugs.gentoo.org/670568 Closes: https://bugs.gentoo.org/673058 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> app-emulation/lxd/Manifest | 1 + app-emulation/lxd/lxd-3.8.ebuild | 241 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 242 insertions(+) Fixed in 3.8. Thanks for flagging this. |