make[1]: Entering directory '/var/tmp/genkernel/gk_vR3rNVH4/lvm_t99GQycN/LVM2.2.02.186/tools' make -C dmeventd device-mapper [GEN] command-lines-input.h set -o pipefail && \ ( cat ../tools/license.inc && \ echo "/* Do not edit. This file is generated by the Makefile. */" && \ echo -en "const char _command_input[] =\n\n\"" && \ /bin/grep -E -v '^#|\-\-\-|^$' ./command-lines.in | gawk 'BEGIN {ORS = "\\n\"\n\""} //' && \ printf "%s\n" "\\n\";" \ ) > command-lines-input.h make[2]: Entering directory '/var/tmp/genkernel/gk_vR3rNVH4/lvm_t99GQycN/LVM2.2.02.186/daemons/dmeventd' [GEN] command-count.h set -o pipefail && \ ( cat ../tools/license.inc && \ echo "/* Do not edit. This file is generated by the Makefile. */" && \ echo -n "#define COMMAND_COUNT " && \ /bin/grep '^ID:' ./command-lines.in | /bin/wc -l \ ) > command-count.h [GEN] cmds.h set -o pipefail && \ ( cat ../tools/license.inc && \ echo "/* Do not edit. This file is generated by the Makefile. */" && \ echo "cmd(CMD_NONE, none)" && \ /bin/grep '^ID:' ./command-lines.in | /bin/sort -u | gawk '{print "cmd(" $2 "_CMD, " $2 ")"}' && \ echo "cmd(CMD_COUNT, count)" \ ) > cmds.h /bin/sh: 1: set: Illegal option -o pipefail make[1]: *** [Makefile:217: command-lines-input.h] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: set: Illegal option -o pipefail make[1]: *** [Makefile:198: command-count.h] Error 2 /bin/sh: 1: set: Illegal option -o pipefail make[1]: *** [Makefile:207: cmds.h] Error 2 make[1]: Leaving directory '/var/tmp/genkernel/gk_vR3rNVH4/lvm_t99GQycN/LVM2.2.02.186/tools' make: *** [make.tmpl:360: tools.device-mapper] Error 2
Created attachment 630892 [details] genkernel.log.xz genkernel.log
Created attachment 630894 [details] info emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8d3182553b151bcaf9010fae4dcc091f18096839 commit 8d3182553b151bcaf9010fae4dcc091f18096839 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-04-07 22:39:11 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-04-07 22:39:11 +0000 gkbuilds/lvm: Force CONFIG_SHELL=bash Bug: https://bugs.gentoo.org/716496 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> gkbuilds/lvm.gkbuild | 3 +++ 1 file changed, 3 insertions(+)
This is an upstream problem, we shouldn't be forcing users to use a slower shell to avoid filing a bug report =P See $URL, after which this hack can be reverted.
Released with v4.0.6, thanks for the report!