On Fri, Dec 26, 2008 at 01:48:48PM +0100, José Carlos Carrión wrote: > Hello again: > > I've probed to compile glibc-2.8-20080929 in Chapter 6. > > I've applied the two patches which the book reads: > > glibc-2.8-20080929-iconv_tests-1.patch > glibc-2.8-20080929-ildoubl_test-1.patch > > «make» ends ok. > > «make test» fails with: > > root:/sources/glibc-build# grep Error glibc-check-log > make[2]: *** [/sources/glibc-build/localedata/tst_mblen.out] Error 1 > make[2]: *** [/sources/glibc-build/localedata/tst_mbrlen.out] Error 1 > make[2]: *** [/sources/glibc-build/localedata/tst_mbrtowc.out] Error 1 > make[2]: *** [/sources/glibc-build/localedata/tst_mbsrtowcs.out] Error 1 [ ... ] > > locale output (in chroot jail) is: > > root:/sources/glibc-build# locale > LANG= > LC_CTYPE="POSIX" > LC_NUMERIC="POSIX" > LC_TIME="POSIX" > LC_COLLATE="POSIX" > LC_MONETARY="POSIX" > LC_MESSAGES="POSIX" > LC_PAPER="POSIX" > LC_NAME="POSIX" > LC_ADDRESS="POSIX" > LC_TELEPHONE="POSIX" > LC_MEASUREMENT="POSIX" > LC_IDENTIFICATION="POSIX" > LC_ALL= > > > In the host system (LFS-6.1), I didn't make all locales but only a few > of them with > localedef -i es_ES -f ISO-8859-1 es_ES > etc. > LFS-6.1 is old. Have you upgraded it to use a less old kernel ? I think I remember unusual failures when people were running old kernels. As a general rule, I would expect a kernel older than 2.6.16 to be likely to cause problems.
Warning: 6.1 was created in the days when udev changed rapidly, and trying to boot a more-recent kernel might not work. > Must I worry about the make check fails? You *might* find error messages in the output files, such as /sources/glibc-build/localedata/tst_mblen.out - try looking at them in 'less' or 'view' from outside chroot. If that fails to identify any problems, look at glibc-check-log to see if there are any other messages around the 'Error' (e.g. compilation failed to produce an executable). ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
