Uclibc doesn't use wordexp, and must use glob. Reproducible: Always Steps to Reproduce: 1. Using uclibc 2. emerge alsa-lib Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -Os -march=c3 -m3dnow -mmmx -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT pcm_ladspa.lo -MD -MP -MF .deps/pcm_ladspa.Tpo -c pcm_ladspa.c -fPIC -DPIC -o .libs/pcm_ladspa.o pcm_ladspa.c:31:21: wordexp.h: No such file or directory pcm_ladspa.c: In function `snd_pcm_ladspa_look_for_plugin': pcm_ladspa.c:797: error: `wordexp_t' undeclared (first use in this function) pcm_ladspa.c:797: error: (Each undeclared identifier is reported only once pcm_ladspa.c:797: error: for each function it appears in.) pcm_ladspa.c:797: error: syntax error before "we" pcm_ladspa.c:804: error: `we' undeclared (first use in this function) pcm_ladspa.c:804: error: `WRDE_NOCMD' undeclared (first use in this function) pcm_ladspa.c:806: error: `WRDE_NOSPACE' undeclared (first use in this function) make[2]: *** [pcm_ladspa.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.9/work/alsa-lib-1.0.9/src/pcm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.9/work/alsa-lib-1.0.9/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/alsa-lib-1.0.9 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 68099 [details, diff] alsa-lib-1.0.9 uclibc patch Tested with alsa-lib-1.0.9 Based on an older patch found on the web.
*** This bug has been marked as a duplicate of 103189 ***
Created attachment 70309 [details, diff] alsa-lib-1.0.9-glob.patch Made sure it worked from within an ebuild.
Created attachment 70310 [details, diff] alsa-lib-1.0.9.ebuild.patch Patch for the ebuild "alsa-lib-1.0.9.ebuild" to compile without wordexp support. - Build system without wordexp support - patch the als-lib ebuild - add the alsa-lib-1.0.9-glob.patch in files directory - ebuild alsa-lib-1.0.9.ebuild digest - emerge ;)
not a dupe
I think the wordexp problem was fixed in 1.0.10 or 11_rcX, or is it still a problem?
There are two methods. 1) the provided glob patch (which I like) 2) compile uclibc with USE=wordexp (which makes uclibc quite a bit bigger)
Created attachment 78774 [details, diff] Two left overs Two tiny leftovers in the 'almost' fixed RC.
added the left over patch to 1.0.11 ... thanks :)