In file included from ../include/automount.h:33, from cache.c:25: ../include/rpc_subs.h:21:10: fatal error: nfs/nfs.h: No such file or directory 21 | #include <nfs/nfs.h> | ^~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- 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 * Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Wed Apr 8 01:37:52 UTC 2020 /var/db/repos/musl Sat Apr 4 03:02:24 UTC 2020 emerge -qpvO net-fs/autofs [ebuild N ] net-fs/autofs-5.1.6 USE="(libtirpc) -dmalloc -ldap -mount-locking -sasl (-systemd)"
Created attachment 631276 [details] emerge-info.txt
Created attachment 631278 [details] emerge-history.txt
Created attachment 631280 [details] environment
Created attachment 631282 [details] etc.portage.tbz2
Created attachment 631284 [details] logs.tbz2
Created attachment 631286 [details] net-fs:autofs-5.1.6:20200408-021357.log
Created attachment 631288 [details] temp.tbz2
alpine: https://git.alpinelinux.org/aports/tree/testing/autofs/10-glibc.patch
dlan's asked that I try out the patch and see if it's all necessary. Will do this $soon.
(In reply to Sam James (sec padawan) from comment #9) > dlan's asked that I try out the patch and see if it's all necessary. Will do > this $soon. [13:26:49] <+sam_c> dlan: The patch is fine [13:27:00] <+sam_c> dlan: Sorry for the delay, I wanted to actually try it all out and see how much was needed. [13:27:31] <+sam_c> It builds with the lookup.c stuff but it's useless because nsswitch doesn't exist as part of musl. However, a user might choose to install an alternative implementation, so I think you could keep lookup.c (the patch removes it from the Makefile). [13:27:45] <+sam_c> Also obviously the conf file change is not relevant to us.
(In reply to Sam James (sec padawan) from comment #10) > (In reply to Sam James (sec padawan) from comment #9) > > dlan's asked that I try out the patch and see if it's all necessary. Will do > > this $soon. > > [13:26:49] <+sam_c> dlan: The patch is fine > [13:27:00] <+sam_c> dlan: Sorry for the delay, I wanted to actually try it > all out and see how much was needed. > [13:27:31] <+sam_c> It builds with the lookup.c stuff but it's useless > because nsswitch doesn't exist as part of musl. However, a user might choose > to install an alternative implementation, so I think you could keep lookup.c > (the patch removes it from the Makefile). > [13:27:45] <+sam_c> Also obviously the conf file change is not relevant to > us. The only thing you *may* want to do, is copy the definition of __SWORD_TYPE from e.g. https://linux.die.net/man/2/statfs64, rather than removing it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f18ab0ea1805ca5fa452896e9dd92cb100b8ae commit 78f18ab0ea1805ca5fa452896e9dd92cb100b8ae Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2020-05-29 09:06:50 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2020-05-29 09:07:52 +0000 net-fs/autofs: make it compatible with sys-libs/musl Add patches to support alternative C lib: sys-libs/musl, most pathes borrow and rework from alpinelinux [1] Thanks Sam James (sec padawan) for helping on this. [1] https://git.alpinelinux.org/aports/tree/testing/autofs/ Closes: https://bugs.gentoo.org/716660 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Yixun Lan <dlan@gentoo.org> net-fs/autofs/autofs-5.1.6-r1.ebuild | 119 +++++++++++++++++++++++++++ net-fs/autofs/files/autofs-5.1.6-glibc.patch | 110 +++++++++++++++++++++++++ net-fs/autofs/files/autofs-5.1.6-pid.patch | 14 ++++ 3 files changed, 243 insertions(+)