I can reproduce the problem here.
Doesn't seem to be glob()'s fault; the program
#include <glob.h>
#include <stdio.h>
int main(int argc, char **argv)
{
glob_t globbuf;
int i;
globbuf.gl_offs = 0;
glob("/tmp/*", GLOB_DOOFFS, NULL, &globbuf);
printf("%d paths found\n", (int)globbuf.gl_pathc);
for (i=0; i<globbuf.gl_pathc; i++)
printf("%s\n", globbuf.gl_pathv[i]);
}
seems to behave fine in the fake chroot.
But maybe gnu make is using glob() in a way fakechroot didn't expect,
see dir_setup_glob() in dir.c?
(Disclaimer: I'm not a make developer.)
- Dan
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make