LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-28-2009, 01:49 AM   #1
dbbolton
LQ Newbie
 
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28

Rep: Reputation: 15
6.9 glibc check error


I am on section 6.9 of development LFS: http://www.linuxfromscratch.org/lfs/...r06/glibc.html

After running 'make', I ran:
Code:
cp -v ../glibc-2.11/iconvdata/gconv-modules iconvdata
Then after running:
Code:
make -k check 2>&1 | tee glibc-check-log
I got this error:
Code:
make[2]: Leaving directory `/sources/glibc-2.11/elf'                            
scripts/check-c++-types.sh scripts/data/c++-types-x86_64-linux-gnu.data g++ -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g  -Iinclude  -I/sources/glibc-build -Isysdeps/x86_64/elf -Inptl/sysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/wordsize-64 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/x86_64/fpu -Inptl/sysdeps/x86_64 -Isysdeps/x86_64 -Isysdeps/wordsize-64 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl   -Ilibio -I.  -D_LIBC_REENTRANT -include include/libc-symbols.h       > /sources/glibc-build/c++-types-check.out                
scripts/check-local-headers.sh "/usr/include" "/sources/glibc-build/" > /sources/glibc-build/check-local-headers.out                                            
/usr/bin/perl scripts/begin-end-check.pl argp/argp.h assert/assert.h catgets/nl_types.h crypt/crypt.h ctype/ctype.h debug/execinfo.h dirent/dirent.h dlfcn/dlfcn.h elf/elf.h elf/link.h gmon/sys/gmon.h gmon/sys/gmon_out.h gmon/sys/profil.h grp/grp.h gshadow/gshadow.h iconv/iconv.h iconv/gconv.h inet/netinet/ether.h inet/netinet/icmp6.h inet/netinet/igmp.h inet/netinet/in.h inet/netinet/ip6.h inet/arpa/ftp.h inet/arpa/inet.h inet/arpa/telnet.h inet/arpa/tftp.h inet/protocols/routed.h inet/protocols/rwhod.h inet/protocols/talkd.h inet/protocols/timed.h inet/aliases.h inet/ifaddrs.h inet/netinet/ip6.h inet/netinet/icmp6.h intl/libintl.h io/sys/stat.h io/sys/statfs.h io/sys/vfs.h io/sys/statvfs.h io/fcntl.h io/sys/fcntl.h io/poll.h io/sys/poll.h io/utime.h io/ftw.h io/fts.h io/sys/sendfile.h libio/stdio.h libio/libio.h locale/locale.h locale/langinfo.h locale/xlocale.h login/utmp.h login/lastlog.h login/pty.h malloc/malloc.h malloc/obstack.h malloc/mcheck.h math/math.h math/complex.h math/fenv.h math/tgmath.h misc/sys/uio.h nis/rpcsvc/nis.h nis/rpcsvc/nis_callback.h nis/rpcsvc/nis_tags.h nis/rpcsvc/nislib.h nis/rpcsvc/yp.h nis/rpcsvc/yp_prot.h nis/rpcsvc/ypclnt.h nis/rpcsvc/ypupd.h nptl_db/thread_db.h nptl/sysdeps/pthread/pthread.h nptl/semaphore.h nss/nss.h posix/sys/utsname.h posix/sys/times.h posix/sys/wait.h posix/sys/types.h posix/unistd.h posix/glob.h posix/regex.h posix/wordexp.h posix/fnmatch.h posix/getopt.h posix/tar.h posix/sys/unistd.h posix/sched.h posix/re_comp.h posix/wait.h posix/cpio.h posix/spawn.h pwd/pwd.h resolv/resolv.h resolv/netdb.h resolv/arpa/nameser.h resolv/arpa/nameser_compat.h resource/sys/resource.h resource/sys/vlimit.h resource/sys/vtimes.h resource/ulimit.h rt/aio.h rt/mqueue.h setjmp/setjmp.h shadow/shadow.h signal/signal.h signal/sys/signal.h socket/sys/socket.h socket/sys/un.h stdio-common/printf.h stdio-common/stdio_ext.h stdlib/stdlib.h stdlib/alloca.h stdlib/monetary.h stdlib/fmtmsg.h stdlib/ucontext.h sysdeps/generic/inttypes.h sysdeps/generic/stdint.h stdlib/errno.h stdlib/sys/errno.h string/string.h string/strings.h string/memory.h string/endian.h string/argz.h string/envz.h string/byteswap.h sunrpc/rpc/auth.h sunrpc/rpc/auth_des.h sunrpc/rpc/auth_unix.h sunrpc/rpc/clnt.h sunrpc/rpc/des_crypt.h sunrpc/rpc/key_prot.h sunrpc/rpc/netdb.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/pmap_prot.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/rpc.h sunrpc/rpc/rpc_des.h sunrpc/rpc/rpc_msg.h sunrpc/rpc/svc.h sunrpc/rpc/svc_auth.h sunrpc/rpc/types.h sunrpc/rpc/xdr.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /sources/glibc-build/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.11'
make: *** [check] Error 2
There obviously is a lot more output, but I think this is the relevant bulk of it. Unfortunately, I can't see what the actual error is. All I can determine is that check wasn't remade due to some errors.
 
Old 11-28-2009, 03:40 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

All the output make check generated should be in the glibc-check-log logfile. All the errors are also in that file, did you take a look at it?

What output did the grep Error glibc-check-log show?

Also: Take a good look at the errors mentioned in the book, some errors are to be expected.

And maybe this will help: Index of /lfs/build-logs/development. The (test) log directories hold the output of the compile/make check steps done for the packages.

Hope this helps.
 
Old 11-28-2009, 04:11 AM   #3
dbbolton
LQ Newbie
 
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Here is the grep output:
Code:
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1
make[1]: *** [rt/tests] Error 2
make: *** [check] Error 2
The 'rt/tests' one seems to be the only unexplainable one.
 
Old 11-28-2009, 04:38 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

First: This is a development version, which could mean that some parts are still under construction.

Not sure if you can ignore this error (a quick search with "lfs glibc tst-cpuclock2" gives a ton of hits, but no real answer, but I did look quickly....).

You can have a look in the glibc-check-log log and see why tst-cpuclock2 failed. If there is no mention of missing commands/programs/files you could decide to continue. This package is known to throw some errors and those can be 'ignored' most of the time (as mentioned in the book).

I would continue with caution.
 
1 members found this post helpful.
Old 11-28-2009, 04:46 AM   #5
dbbolton
LQ Newbie
 
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
I think it is possible to ignore the clock error:

Quote:
The nptl/tst-clock2 and tst-attr3 tests sometimes fail. The reason is not completely understood, but indications are that a heavy system load can trigger these failures.
Admittedly, this LFS system is a time-killer and by no means a productive one. I won't really be out anything if it falls apart (maybe a waste of HDD lifespan).
 
Old 11-28-2009, 05:09 AM   #6
dbbolton
LQ Newbie
 
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
After running 'make install', I got this:

Code:
Your new glibc installation seems to be ok.
make[1]: Leaving directory `/sources/glibc-2.11'
It looks like it's safe to carry on.
 
Old 11-28-2009, 05:11 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Nice to read that this is solved
 
Old 11-29-2009, 07:46 PM   #8
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
that is a known failure and its expected. From what can be gleamed its because of the hoast system and the chroot environment or something or other I don't remember the particulars but its nothing to be concerned about.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make check error 6.9.1 glibc lfs 6.5 aahiqmir Linux From Scratch 1 12-06-2009 07:49 PM
error in make check command of glibc(6.11) sharmashikha Linux From Scratch 2 08-16-2006 02:27 AM
glibc-2.3.4 make check error Snowmiss Linux From Scratch 1 08-04-2006 04:44 AM
Error:6.11 Glibc-2.3.4---make check ukyo Linux From Scratch 3 08-26-2005 05:33 PM
make check error glibc chap6 of lfs5.1.1 keyur Linux From Scratch 1 09-11-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration