Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234292

Summary: sys-devel/make on uClibc is unable to find subdirs
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2008-08-09 05:13:19 UTC
test case:
rm -rf test
mkdir test
cd test
echo '$(error $(patsubst %/,%,$(wildcard */)))' > Makefile
mkdir include libsupp traceroute wrappers
make

expected output:
Makefile:1: *** include libsupp traceroute wrappers.  Stop.

output with uClibc system:
Makefile:1: *** .  Stop.

this manifests itself as `emerge traceroute` not installing any files
Comment 1 Timofey Kushnir 2008-08-21 12:37:18 UTC
I confirm this bug.

It's not in make itself, it's in uClibc's glob() function.
Unfortunately, this call to glob():

    glob_t gl;
    glob("*/", 0, NULL, &gl);

is incompatible between uClibc and glibc.
This incompatibility then leads to traceroute not compiled anyway.

It seems that glob() function needs rewriting in uClibc...
Comment 2 Wormo (RETIRED) gentoo-dev 2008-08-25 23:11:12 UTC
Could one of you post your uClibc config? Probably you need to enable another option such as UCLIBC_HAS_GNU_GLOB
Comment 3 SpanKY gentoo-dev 2008-11-30 02:29:22 UTC
it's the default config that comes from the ebuild, and i'm pretty sure it enables GNU glob support
Comment 4 David Seifert gentoo-dev 2022-01-02 10:23:42 UTC
uclibc support in Gentoo has been removed.