Summary: | sys-libs/glibc & gnulib: glob("*/") does not set GLOB_MAGCHAR in gl_flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Karbowski (RETIRED) <slashbeast> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | mgorny, tomwij |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00093.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log of glibc with /bin/dash as /bin/sh |
Description
Piotr Karbowski (RETIRED)
2012-11-16 20:23:20 UTC
Created attachment 329670 [details]
emerge --info
Can you attach the full build log, it includes quite some information at the start that can be useful. Did you also try other shells or does this only happen for dash? Created attachment 329708 [details]
build.log of glibc with /bin/dash as /bin/sh
build.log attached.
I cannot reproduce it with ksh, mksh or busybox's ash (built without bash's extensions). Looks like it is dash specific issue but I do wonder if its just dash too sensitive or internal dash bug.
I've passed on to toolchain (glibc), if they determine this is due to dash they can re-assign to base-system (dash). Looks like the latest version app-shells/dash-0.5.7.3 is badly broken as I am getting multiple build failures including php, and its 100% reproducable. @Tom Wijsman can you edit the bug as it is not about glibc but broken dash? Changed title and re-assigned. Can you attach build logs for one or two other failing packages so we can see if they are similar? the "smallest" package you noticed a problem with would be best (In reply to comment #7) > the "smallest" package you noticed a problem with would be best $ ls */ ls: cannot access */: No such file or directory looks like dash-0.5.7.1 works, so i guess Debian added a bum patch in there hmm, scratch that. building with --disable-glob works OK. that in turn seems like a bug in glibc's glob implementation. it's not setting GLOB_MAGCHAR like the documentation says. i've reported this to the bug-gnulib guys since that's where the implementation lives (gets synced to glibc from time to time). i've added dash-0.5.7.3-r1 w/out --enable-glob in the mean time it's not fixed ... the referenced testcase still fails Closing as obsolete as gnulib's and glibc's implementations changed quite a bit. If it still happens I suggest filing a bug on glibc's bugzilla with a reproducer.. |