| ^~~~~~~~~~~~~~~~~ fake-addrinfo.c:162:9: error: too few arguments to function gethostbyname_r 162 | (HP) = gethostbyname_r((NAME), &TMP.ent, \ | ^~~~~~~~~~~~~~~ fake-addrinfo.c:945:2: note: in expansion of macro GET_HOST_BY_NAME ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- 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.41.1 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 18 Mar 2020 13:38:27 +0000 emerge -qpvO app-crypt/mit-krb5-appl [ebuild N ] app-crypt/mit-krb5-appl-1.0.3
Created attachment 622532 [details] emerge-info.txt
Created attachment 622534 [details] app-crypt:mit-krb5-appl-1.0.3:20200319-083502.log
Created attachment 622536 [details] emerge-history.txt
Created attachment 622538 [details] environment
Created attachment 622540 [details] etc.portage.tbz2
Created attachment 622542 [details] logs.tbz2
Created attachment 622544 [details] temp.tbz2
tinderbox_musl has reproduced this issue with version 1.0.3-r3 - Updating summary.
tinderbox_musl has reproduced this issue with version 1.0.3-r4 - Updating summary.
There's define GETHOSTBYNAME_R_RETURNS_INT, but it's never set. Setting it manually tells the program that we have six-argument gethostbyname_r() both in glibc and musl scenarios
But it fails after that with login.c:1745:12: error: call to undeclared function 'ruserok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1745 | return(ruserok(host, (pwd->pw_uid == 0), rusername, username)); | ^ musl doesn't implement ruserok
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2c804146919d1d8dd5c9c22b70b4633e77ea5c commit 1e2c804146919d1d8dd5c9c22b70b4633e77ea5c Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-01 13:55:15 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2025-02-07 12:11:51 +0000 profiles/features/musl: mask app-crypt/mit-krb5-appl Not ported to musl Bug: https://bugs.gentoo.org/713434 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40406 Signed-off-by: Eray Aslan <eras@gentoo.org> profiles/features/musl/package.mask | 4 ++++ 1 file changed, 4 insertions(+)