/var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.11-r2/work/nss-pam-ldapd-0.9.11/nss/hosts.c: In function read_one_hostent: /var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.11-r2/work/nss-pam-ldapd-0.9.11/nss/hosts.c:55:15: error: NETDB_INTERNAL undeclared (first use in this function) 55 | *h_errnop = NETDB_INTERNAL; \ | ^~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.11-r2/work/nss-pam-ldapd-0.9.11/common/nslcd-prot.h:220:5: note: in expansion of macro ERROR_OUT_BUFERROR ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Apr 5 00:39:13 UTC 2020 /var/db/repos/musl Sat Apr 4 03:02:24 UTC 2020 emerge -qpvO sys-auth/nss-pam-ldapd [ebuild N ] sys-auth/nss-pam-ldapd-0.9.11-r2 USE="pam utils -debug -kerberos -pynslcd -sasl -test" PYTHON_TARGETS="python3_6"
Created attachment 630268 [details] emerge-info.txt
Created attachment 630270 [details] emerge-history.txt
Created attachment 630272 [details] environment
Created attachment 630274 [details] etc.portage.tbz2
Created attachment 630276 [details] logs.tbz2
Created attachment 630278 [details] sys-auth:nss-pam-ldapd-0.9.11-r2:20200405-033900.log
Created attachment 630280 [details] temp.tbz2
NETDB_INTERNAL doesn't exist in musl (glibc only), can be solved with a copy&paste of the defs
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090dc863c60b149b5942951fb2326472c6e70281 commit 090dc863c60b149b5942951fb2326472c6e70281 Author: Cristian Othón Martínez Vera <cfuga@cfuga.mx> AuthorDate: 2023-03-16 22:42:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-20 05:29:33 +0000 sys-auth/nss-pam-ldapd: fix musl build * add sys-libs/musl-nscd as dependency for musl, to fix ```unknown type name nss_status_t``` error * patch for missing NETDB_INTERNAL Closes: https://bugs.gentoo.org/713612 Closes: https://bugs.gentoo.org/716272 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Signed-off-by: Sam James <sam@gentoo.org> .../files/nss-pam-ldapd-0.9.12-netdb-defines.patch | 26 ++++ .../nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 163 +++++++++++++++++++++ 2 files changed, 189 insertions(+)