Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20464 - [make] make.install dash friendly
Attached to Project:
Arch Linux
Opened by Andrej Gelenberg (nikel) - Friday, 13 August 2010, 14:09 GMT
Last edited by Allan McRae (Allan) - Saturday, 14 August 2010, 00:14 GMT
Opened by Andrej Gelenberg (nikel) - Friday, 13 August 2010, 14:09 GMT
Last edited by Allan McRae (Allan) - Saturday, 14 August 2010, 00:14 GMT
|
Detailsmake.install script fail if /bin/sh point to /bin/dash.
Here is small patch against package in testing (version 3.82-1), which make make.install work with dash too: --- make.install.orig 2010-08-13 16:04:10.890000971 +0200 +++ make.install 2010-08-13 16:03:15.420001098 +0200 @@ -1,9 +1,9 @@ infodir=/usr/share/info -filelist=(make.info make.info-1 make.info-2) +filelist="make.info make.info-1 make.info-2" post_install() { [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do + for file in $filelist; do install-info $infodir/$file.gz $infodir/dir 2> /dev/null done } @@ -14,7 +14,7 @@ pre_remove() { [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do + for file in $filelist; do install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null done } |
This task depends upon
Comment by Allan McRae (Allan) -
Saturday, 14 August 2010, 00:14 GMT
A very large number of install script will fail if you swap /bin/sh to point at dash (every package that has info pages). There is little point in fixing one package until it is mandated that our /bin/sh is not necessarily bash and so all install scriptlets need to be sh compatible. I will defer this until such a decision is formally made.