Created attachment 768406 [details] emerge -pvq and --info output The file bootlogd.c seems to be missing a "#include <limits.h>" which causes the compilation to fail. This only happens on musl.
Please attach a full build log and change the status back to UNCONFIRMED.
Created attachment 768409 [details] Build log
I can confirm
Hello there! I am affected also: Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.0/musl, gcc-11.2.1, musl-1.2.3, 5.15.32-gentoo-r1 x86_64) CFLAGS="-O3 -march=native -mtune=ivybridge -pipe -falign-functions=32 -frecord-gcc-switches -fgraphite -fgraphite-identity -floop-nest-optimize -floop-parallelize-all"
I suppose for now we can use limits.h as that's what'll be used on glibc too,bbut note that other files have a define for PATH_MAX.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89f6f62cfb518371c77cb10e8fc1e07b85569d9 commit d89f6f62cfb518371c77cb10e8fc1e07b85569d9 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-13 01:58:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-13 01:58:29 +0000 sys-apps/sysvinit: fix musl build Closes: https://bugs.gentoo.org/836602 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/sysvinit/files/sysvinit-3.02-musl-limits.patch | 12 ++++++++++++ sys-apps/sysvinit/sysvinit-3.02-r3.ebuild | 2 ++ 2 files changed, 14 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081e9ddfa7475f308a069c36d770bd2240ea380f commit 081e9ddfa7475f308a069c36d770bd2240ea380f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-13 22:54:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-13 22:54:14 +0000 sys-apps/sysvinit: add 3.03, drop 3.02-r3 Closes: https://bugs.gentoo.org/836602 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/sysvinit/Manifest | 4 ++-- sys-apps/sysvinit/files/sysvinit-3.02-musl-limits.patch | 12 ------------ .../{sysvinit-3.02-r3.ebuild => sysvinit-3.03.ebuild} | 2 +- 3 files changed, 3 insertions(+), 15 deletions(-)