Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615534 - [musl overlay] sys-apps/kexec-tools-2.0.13-r1 post install failed - syntax error in runscript
Summary: [musl overlay] sys-apps/kexec-tools-2.0.13-r1 post install failed - syntax er...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2017-04-14 11:17 UTC by Chad Joan
Modified: 2018-03-08 22:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log. (build.log,47.36 KB, text/x-log)
2017-04-14 11:18 UTC, Chad Joan
Details
emerge --info (emerge-info.log,5.75 KB, text/x-log)
2017-04-14 11:20 UTC, Chad Joan
Details
emerge -pqv (emerge-pqv.log,189 bytes, text/x-log)
2017-04-14 11:21 UTC, Chad Joan
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :)