It looks like this: /var/tmp/portage/sys-apps/kexec-tools-2.0.13-r1/image///etc/init.d/kexec: line 74: syntax error near unexpected token `do' /var/tmp/portage/sys-apps/kexec-tools-2.0.13-r1/image///etc/init.d/kexec: line 74: ` "initramfs-genkernel-${gkarch}-${kver}"; do' * ERROR: sys-apps/kexec-tools-2.0.13-r1::musl failed: * The init.d file has syntax errors: /var/tmp/portage/sys-apps/kexec-tools-2.0.13-r1/image///etc/init.d/kexec * * Call stack: ... I suspect this is because the fix in this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43983893090e88e6829a52e37a232456613683fd ... didn't make it into the musl overlay.
Created attachment 470052 [details] Build log.
Created attachment 470054 [details] emerge --info
Created attachment 470056 [details] emerge -pqv
Yes, the musl overlay needs to be updated. (Will do so later unless someone beats me to it.) Please leave this bug open after the musl overlay is fixed. There may be some chance that the upstream patch https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=2f6f6d6fef7872647cacc6741ac35ac2b4df7ed5 which fixes the musl issues, could be included in the main portage tree.
(In reply to Felix Janda from comment #4) OK, thanks! I will leave the bug open, no problem. I fixed it in my local overlay for now, and it merged fine after that. Nothing else seems to be broken in that package at the moment.
This is fixed with kexec-tools-2.0.15, it certainly wouldn't hurt to open a stabilization request :)