Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 615534

Summary: [musl overlay] sys-apps/kexec-tools-2.0.13-r1 post install failed - syntax error in runscript
Product: Gentoo Linux Reporter: Chad Joan <chadjoan>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: Build log.
emerge --info
emerge -pqv

Description Chad Joan 2017-04-14 11:17:34 UTC
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.
Comment 1 Chad Joan 2017-04-14 11:18:49 UTC
Created attachment 470052 [details]
Build log.
Comment 2 Chad Joan 2017-04-14 11:20:53 UTC
Created attachment 470054 [details]
emerge --info
Comment 3 Chad Joan 2017-04-14 11:21:28 UTC
Created attachment 470056 [details]
emerge -pqv
Comment 4 Felix Janda 2017-04-14 11:59:09 UTC
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.
Comment 5 Chad Joan 2017-04-14 12:49:47 UTC
(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.
Comment 6 tt_1 2018-03-08 22:54:27 UTC
This is fixed with kexec-tools-2.0.15, it certainly wouldn't hurt to open a stabilization request :)