| Summary: | sys-fs/lvm2-2.02.184-r4: fails to build with dash | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Fabian Groffen <grobian> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cardoe, grobian, mjo, polynomial-c |
| Priority: | Low | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://bugzilla.redhat.com/show_bug.cgi?id=1822280 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I've tried to reproduce this with sys-fs/lvm2-2.02.184 on my system where "/bin/sh -> dash" is set. But the build succeeded. Any idea what basic settings are required for this issue getting triggered.? env CONFIG_SHELL=/bin/dash emerge lvm my /bin/sh points to /bin/bash, I didn't modify my system. still an issue with 2.02.184-r4 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfedf55c98ff501e8c924646ea91ed315a0c71e commit abfedf55c98ff501e8c924646ea91ed315a0c71e Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-07-24 10:06:20 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-07-24 10:06:20 +0000 sys-fs/lvm2: use /bin/bash as CONFIG_SHELL Closes: https://bugs.gentoo.org/682404 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-fs/lvm2/lvm2-2.02.183.ebuild | 3 +++ sys-fs/lvm2/lvm2-2.02.184-r4.ebuild | 3 +++ sys-fs/lvm2/lvm2-2.02.185.ebuild | 3 +++ sys-fs/lvm2/lvm2-2.03.05.ebuild | 3 +++ 4 files changed, 12 insertions(+) I filed an upstream report, since that's where the problem is. |
make[2]: Entering directory '/var/tmp/portage/sys-fs/lvm2-2.02.183/work/LVM2.2.0 2.183/daemons/dmeventd' [GEN] command-count.h [GEN] cmds.h /bin/dash: 1: set: Illegal option -o pipefail make[1]: *** [Makefile:217: command-lines-input.h] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/dash: 1: set: Illegal option -o pipefail make[1]: *** [Makefile:198: command-count.h] Error 2 /bin/dash: 1: set: Illegal option -o pipefail make[1]: *** [Makefile:207: cmds.h] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-fs/lvm2-2.02.183/work/LVM2.2.02 .183/tools' make: *** [make.tmpl:361: tools.device-mapper] Error 2 make: *** Waiting for unfinished jobs.... I think usage of bash should just be forced in the ebuild (export CONFIG_SHELL=${BASH}) as it's probably not worth the fuzz to fix this.