Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234292 - sys-devel/make on uClibc is unable to find subdirs
Summary: sys-devel/make on uClibc is unable to find subdirs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-09 05:13 UTC by SpanKY
Modified: 2022-01-02 10:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.