x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -I/usr/include/libxml2 -Wall -Wextra -Werror=strict-prototypes -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -c -o auth.o auth.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -I/usr/include/libxml2 -Wall -Wextra -Werror=strict-prototypes -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -c -o v4root.o v4root.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -I/usr/include/libxml2 -Wall -Wextra -Werror=strict-prototypes -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -c -o fsloc.o fsloc.c In file included from cache.c:1071: ../../support/include/junction.h:128:21: error: expected ';' before 'char' 128 | __attribute_malloc__ | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211222-090216 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.57.0 * php cli: HEAD of ::gentoo commit 4e3fc3ba96ec93688afc2308b7264752c55aed9e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Dec 26 21:21:48 2021 +0000 2021-12-26 21:21:46 UTC emerge -qpvO net-fs/nfs-utils [ebuild N ] net-fs/nfs-utils-2.5.4-r3 USE="ipv6 junction libmount nfsidmap nfsv4 tcpd uuid -caps -kerberos -ldap -nfsdcld -nfsv41 -sasl (-selinux)"
Created attachment 760449 [details] emerge-info.txt
Created attachment 760450 [details] emerge-history.txt
Created attachment 760451 [details] environment
Created attachment 760452 [details] etc.portage.tar.bz2
Created attachment 760453 [details] logs.tar.bz2
Created attachment 760454 [details] net-fs:nfs-utils-2.5.4-r3:20211226-223709.log
Created attachment 760455 [details] temp.tar.bz2
This happens also with CLang+musl so I created a patch that makes it compile at least with clang only, gcc tests should be required also.
Created attachment 864383 [details, diff] 0001-Fix-musl-clang-compile.patch
Tested in 2.6.3
Created attachment 864384 [details, diff] 0001-Fix-musl-clang-compile.patch
Can you send the patch upstream please?
(In reply to Sam James from comment #12) > Can you send the patch upstream please? Sent it to mailing list https://patchwork.kernel.org/project/linux-nfs/patch/c8926a74-3a4f-9922-b064-3810fbb539ba@gmail.com/ (don't know if it is the correct place)
Created attachment 882525 [details] build.log (2.6.3-r2) I think this can be closed. 2.6.3-r2 builds fine on musl-clang.