Summary: | dev-libs/libuv: automagic dependency on libnsl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Georgy Yakovlev <gyakovlev> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | idl0r, jer |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/libuv/libuv/pull/2823 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 710624 | ||
Bug Blocks: | |||
Attachments: | files/libuv-9999-AC_SEARCH_LIBS.patch |
Description
Georgy Yakovlev
2020-02-23 21:26:23 UTC
configures/builds fine with net-libs/libnsl-1.2.0 on ppc64 with both glibc-1.29 and glibc-1.30 but! for some reason also configures fine on arm64 with glibc-0.29 without net-libs/libnsl-1.2.0 this seems to be coming from libuv ppc64-glibc-1.30 with dev-libs/libuv-1.34.2 pkgconf --libs libuv -luv -lrt -lpthread -lnsl -ldl ppc64-glibc-1.29 with dev-libs/libuv-1.33.1 pkgconf --libs libuv -luv -lrt -lpthread -lnsl -ldl arm64-glibc-1.30 with dev-libs/libuv-1.33.1 pkgconf --libs libuv -luv -lrt -lpthread -ldl need to figure out why on ppc64 libuv pulls -lnsl and somehow glibc's libuv not working with bind-tools configure check. after chatting on #g-toolchain here's what I figured out. libuv has this check AC_CHECK_LIB([nsl], [gethostbyname]) and seems to pull in -lnsl into .pc file if libuv was built while external libnsl was present. steps to reproduce remove libnsl rebuild libuv pkg-config --libs libuv -luv -lrt -lpthread -ldl after that bind-tools build fine. so it's an auto-magic depend on libnsl in libuv. re-assigning to libuv maintainers. Created attachment 635206 [details, diff] files/libuv-9999-AC_SEARCH_LIBS.patch (In reply to Georgy Yakovlev from comment #2) > after chatting on #g-toolchain here's what I figured out. > > libuv has this check > > AC_CHECK_LIB([nsl], [gethostbyname]) It should be using AC_SEARCH_LIBS instead. Ought to make it into the next release. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af5979293af1ac6340e5199b819f4e1be1d5d7d commit 3af5979293af1ac6340e5199b819f4e1be1d5d7d Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-05-17 22:05:15 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-05-17 22:05:42 +0000 dev-libs/libuv: Version 1.38.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://bugs.gentoo.org/710620 Signed-off-by: Jeroen Roovers <jer@gentoo.org> dev-libs/libuv/Manifest | 1 + dev-libs/libuv/libuv-1.38.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) |