x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -pipe -march=native -c fssubs.c fssubs.c: In function Is_Device_Type_JFS: fssubs.c:224:32: error: _PATH_MNTTAB undeclared (first use in this function) 224 | if ((FS_Info_File = setmntent(_PATH_MNTTAB, r)) == NULL) { | ^~~~~~~~~~~~ fssubs.c:224:32: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- 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 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Tue Mar 31 01:38:59 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO sys-fs/jfsutils [ebuild N ] sys-fs/jfsutils-1.1.15 USE="-static"
Created attachment 627768 [details] emerge-info.txt
Created attachment 627770 [details] emerge-history.txt
Created attachment 627772 [details] environment
Created attachment 627774 [details] etc.portage.tbz2
Created attachment 627776 [details] logs.tbz2
Created attachment 627778 [details] sys-fs:jfsutils-1.1.15:20200331-032828.log
Created attachment 627780 [details] temp.tbz2
https://git.alpinelinux.org/aports/tree/main/jfsutils/musl-fix-includes.patch maybe musl: https://git.alpinelinux.org/aports/tree/main/jfsutils/missing-stdinth.patch maybe musl: https://git.alpinelinux.org/aports/tree/main/jfsutils/jfsutils-include-sysmacros.patch
tinderbox_musl has reproduced this issue with version 1.1.15-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7ab79918a995d18bb4b61fc3404ca05e20fda3 commit 5e7ab79918a995d18bb4b61fc3404ca05e20fda3 Author: Ian Jordan <immoloism@gmail.com> AuthorDate: 2022-11-17 23:20:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-18 02:18:03 +0000 sys-fs/jfsutils: musl patch Patch from Alpine Linux to fix jfsutils not working on Musl systems. This has been tested on both Glibc and Musl systems to work. Orginal Alpine commit - https://git.alpinelinux.org/aports/commit/main/jfsutils/musl-fix-includes.patch?id=d9768c312ddc047df6c2c9b1674b2ab37ddf4e2a Closes: https://bugs.gentoo.org/715568 Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28317 Signed-off-by: Sam James <sam@gentoo.org> .../files/jfsutils-1.1.15-musl-fix-includes.patch | 23 +++++++++ sys-fs/jfsutils/jfsutils-1.1.15-r2.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 78 insertions(+)