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#10327 - dash 0.5.4-4 - Dash does not compile cleanly against klibc
Attached to Project:
Arch Linux
Opened by Jörg Kriegel (sokoban65) - Thursday, 01 May 2008, 10:54 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 21:41 GMT
Opened by Jörg Kriegel (sokoban65) - Thursday, 01 May 2008, 10:54 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 21:41 GMT
|
DetailsDescription:
dash has problems getting the current working directory when compiled against klibc. This affects $PWD, $OLDPWD, cd, pwd and pwd -P. Interestingly this bug doesn't show up with /usr/lib/klibc/bin/sh which is also a variant of dash. Additional info: * dash 0.5.4-4 i686 Steps to reproduce: I use env here to unset $PWD on shell startup which would otherwise take it from the environment. for f in /bin/bash /bin/sh /usr/lib/klibc/bin/sh /bin/dash; do env - $f -c 'echo $PWD; pwd; pwd -P'; done Possible Solutions: 1. Compiling against glibc (works) 2. Use the klibc variant of dash (older?) 3. Patch the source and use klibc source for help |
This task depends upon
Closed by Greg (dolby)
Tuesday, 17 June 2008, 21:41 GMT
Reason for closing: Upstream
Additional comments about closing: Fixed upstream http://www.mail-archive.com/dash@vger.ke rnel.org/msg00039.html
Tuesday, 17 June 2008, 21:41 GMT
Reason for closing: Upstream
Additional comments about closing: Fixed upstream http://www.mail-archive.com/dash@vger.ke rnel.org/msg00039.html
$ for f in /bin/bash /bin/sh /usr/lib/klibc/bin/sh /bin/dash; do echo $f; env - $f -c 'echo $PWD; pwd; pwd -P'; done
/bin/bash
/home/dmcgee/projects/linux-2.6
/home/dmcgee/projects/linux-2.6
/home/dmcgee/projects/linux-2.6
/bin/sh
/home/dmcgee/projects/linux-2.6
/home/dmcgee/projects/linux-2.6
/home/dmcgee/projects/linux-2.6
/usr/lib/klibc/bin/sh
/home/dmcgee/projects/linux-2.6
/home/dmcgee/projects/linux-2.6
/home/dmcgee/projects/linux-2.6
/bin/dash