intl missing files make check error

Wed Mar 11 12:52:00 GMT 2009

Hi. Recently I've been trying to build glibc from tarballs from, working with versions 2.4, 2.5.1, 2.6.1,
2.7 and 2.9. I've found several issues that I didn't find in the glibc
bugzilla or mail archive. Do you want one issue per new message rather
than several?

System: Mandriva 2006 Powerpack, i686, installed kernel 2.6.12, glibc
2.3.5, gcc 4.2.4 (and 4.0.1), gettext 0.17, binutils 2.18, gmp 4.2.4,
mpfr 2.31.

After building several of the versions including 2.4 and 2.9, I found
that "make check" would fail in intl on the following commands:
/home2/bild-lib25/bild/ /home2/bild-lib25/bild/libc_nonshared.a
-lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `/usr/bin/gcc-4.0.1
--print-file-name=crtend.o` /home2/bild-lib25/bild/csu/crtn.o
/bin/sh -e /home2/bild-lib25/bild/
make[2]: *** [/home2/bild-lib25/bild/intl/tst-gettext.out] Error 1
make[2]: Leaving directory `/home2/bild-lib25/glibc-2.5.1/intl'
make[1]: *** [intl/tests] Error 2
make[1]: Leaving directory `/home2/bild-lib25/glibc-2.5.1'
make: *** [check] Error 2

On looking into the problem, I found that two files were missing from
the intl build folder that should have been copied from the intl source
folder, and de.po

I fixed the problem by writing the following file to be
included in the glibc makefile. It can be pasted in, or added as an
include file. I found that running it before "make check" didn't seem to
work. Instead, running "make fixcheck" after running"make check" until
it hits the error and quits fixes the problem so a second "make check"
command succeeds in the intl folder.

        cp $(srcdir)/intl/ intl
        cp $(srcdir)/po/de.po po
        ls intl/
        ls po/de.po
        @echo "See the copied files in the displayed folders?"
        @echo "They're needed for 'make check', but the"
        @echo "included configure and makefile code doesn't"
        @echo "copy them and the check always crashes."

As noted, these files seem to be missing from the intl build folder in
versions 2.4-2.9.

John T

More information about the Libc-help mailing list