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
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...
Could one of you post your uClibc config? Probably you need to enable another option such as UCLIBC_HAS_GNU_GLOB
it's the default config that comes from the ebuild, and i'm pretty sure it enables GNU glob support
uclibc support in Gentoo has been removed.