Making all in fsck make[2]: Entering directory '/var/tmp/portage/sys-fs/erofs-utils-1.4/work/erofs-utils-1.4/fsck' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/uuid -DNDEBUG -Wall -Werror -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o fsck_erofs-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'erofs_check_inode': main.c:509:29: error: 'S_IFMT' undeclared (first use in this function) 509 | if ((inode.i_mode & S_IFMT) != S_IFDIR) | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20220111-092048 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * 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 b950f41a33a8081fa5274f864fbe3cb9498b63ff Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Jan 11 10:06:54 2022 +0000 2022-01-11 10:06:51 UTC emerge -qpvO sys-fs/erofs-utils [ebuild N ] sys-fs/erofs-utils-1.4 USE="lz4 uuid -fuse (-selinux)"
Created attachment 761880 [details] emerge-info.txt
Created attachment 761881 [details] emerge-history.txt
Created attachment 761882 [details] environment
Created attachment 761883 [details] etc.portage.tar.bz2
Created attachment 761884 [details] logs.tar.bz2
Created attachment 761885 [details] sys-fs:erofs-utils-1.4:20220111-114916.log
Created attachment 761886 [details] temp.tar.bz2
Hmm, build failure under musl; I'll investigate later in the week and notify the upstream for now. I believe they're willing to fix this.
Seems the file is just missing a #include <sys/stat.h>. I'll try to reproduce and add a patch for this; however my musl chroot is broken for a while right now, so I may not be very quick.
Hi, I'm afraid these are known issues (already reported by others) which could be merged together: since I cannot post URL within 24hours, so just commit ids here (all are in -dev branch): 17eb5c417bd56be4b2f7627c2d6879fbad6a86d6 1ca453ee89894b1669ac78d7f216bda172783e8d Please consider the fixes above. Thanks, Gao Xiang
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb15cf3b80f086cf3b4a9133e47abe9d60d6624 commit 8bb15cf3b80f086cf3b4a9133e47abe9d60d6624 Author: WANG Xuerui <git@xen0n.name> AuthorDate: 2022-01-18 06:54:33 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-01-18 07:58:41 +0000 sys-fs/erofs-utils: fix build on musl Closes: https://bugs.gentoo.org/831015 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: WANG Xuerui <git@xen0n.name> Closes: https://github.com/gentoo/gentoo/pull/23850 Signed-off-by: Florian Schmaus <flow@gentoo.org> sys-fs/erofs-utils/erofs-utils-1.4.ebuild | 1 + .../files/1.4-fsck-add-missing-include.patch | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+)