This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
"make check" is missing dependency from intl to localedata?
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: libc-alpha at sourceware dot org
- Cc: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Date: Mon, 26 Mar 2012 15:49:02 -0700
- Subject: "make check" is missing dependency from intl to localedata?
Greetings,
One of my nightly builders intermittently fails "make -j8 check":
make[2]: *** [/g/build-glibc/intl/tst-codeset.out] Error 1
make[2]: *** [/g/build-glibc/intl/tst-gettext3.out] Error 1
make[1]: *** [intl/tests] Error 2
The errors look like this:
cat intl/tst-gettext3.out
call 1 returned: cheese
call 2 returned: cheese
As far as I can tell, this is happening because there is a race between
"make check ... -C localedata" and "make check ... -C intl".
The former creates localedata/de_DE.UTF-8, and the latter depends on it,
but there is no Makefile dependency between them.
This could be observed by doing "make" in a clean build tree, then
make objdir=`pwd` -C ${SRC}/intl check
... fails with:
/build/localedata/de_DE.UTF-8/LC_ADDRESS': No such file or directory
But this works:
make objdir=`pwd` -C ${SRC}/localedata check
make objdir=`pwd` -C ${SRC}/intl check
Advice on Makefile magic to fix this would be appreciated.
Thanks,
--
Paul Pluzhnikov