Summary: | games-puzzle/freesweep-0.92 configure script fails if dash is /bin/sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | adebeus |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | adebeus, jstein, kfm, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: | patch to allow building with dash as /bin/sh |
Are you still able to reproduce this? If so, please attach the build log and the output of emerge --info. I tried against dash-0.5.11.2 and a few other sh(1) implementations but could not get it to fail. |
Created attachment 475110 [details, diff] patch to allow building with dash as /bin/sh The configure script relies on bash being /bin/sh, otherwise a sed fails due to reliance on bashisms ("unterminated s command") and aborts the build. Building with /bin/sh -> dash can be fixed by adding "sed -i 's/\/bin\/sh/\/bin\/bash/' configure" to src_prepare() in the ebuild, or by applying the attached patch which replaces references to /bin/sh in the script with /bin/bash.