LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.8 - check error 2 when installing glibc for chapter 6.9 (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-8-check-error-2-when-installing-glibc-for-chapter-6-9-a-877135/)

robofighter 04-26-2011 06:06 AM

LFS 6.8 - check error 2 when installing glibc for chapter 6.9
 
When compiling glibc-2.13, I am getting a make error 2.

I can't figure out what went wrong and I did not deviate from the book.
The LFS system host system is being run through Virtual Box and the distro is Xubuntu.

The last few lines of my error log show:

sources/glibc-build/elf/check-localplt /sources/glibc-build/libc.so /sources/glibc-build/math/libm.so /sources/glibc-build/nptl/libpthread.so /sources/glibc-build/rt/librt.so /sources/glibc-build/dlfcn/libdl.so /sources/glibc-build/resolv/libresolv.so /sources/glibc-build/crypt/libcrypt.so | \
LC_ALL=C sort | \
diff -u ../scripts/data/localplt-i386-linux-gnu.data - > /sources/glibc-build/elf/check-localplt.out
make[2]: Leaving directory `/sources/glibc-2.13/elf'
scripts/check-c++-types.sh scripts/data/c++-types-i386-linux-gnu.data g++ -fgnu89-inline -O2 -O3 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -march=i486 -mtune=native -pipe -mpreferred-stack-boundary=2 -Iinclude -I/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -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 -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686/multiarch -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -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/in.h inet/netinet/igmp.h inet/netinet/ip6.h inet/netinet/ether.h inet/netinet/icmp6.h inet/arpa/telnet.h inet/arpa/inet.h inet/arpa/ftp.h inet/arpa/tftp.h inet/protocols/routed.h inet/protocols/timed.h inet/protocols/rwhod.h inet/protocols/talkd.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/yp_prot.h nis/rpcsvc/nis_callback.h nis/rpcsvc/yp.h nis/rpcsvc/ypupd.h nis/rpcsvc/nislib.h nis/rpcsvc/ypclnt.h nis/rpcsvc/nis_tags.h nis/rpcsvc/nis.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_compat.h resolv/arpa/nameser.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/pmap_clnt.h sunrpc/rpc/xdr.h sunrpc/rpc/rpc_des.h sunrpc/rpc/auth_des.h sunrpc/rpc/clnt.h sunrpc/rpc/rpc.h sunrpc/rpc/auth.h sunrpc/rpc/key_prot.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/netdb.h sunrpc/rpc/rpc_msg.h sunrpc/rpc/auth_unix.h sunrpc/rpc/pmap_prot.h sunrpc/rpc/svc.h sunrpc/rpc/des_crypt.h sunrpc/rpc/types.h sunrpc/rpc/svc_auth.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.13'
make: *** [check] Error 2

druuna 04-26-2011 02:02 PM

Hi,

If this is the last part of the make -k check .... output: Glibc's check (almost) always ends this way.

There's a handful of known (and sometimes unknown...) errors that can occur, that is why the grep Error glibc-check-log needs to be executed and the result compared with what is mentioned in the book.

If you come across errors that are not mentioned, you need to check the log file to determine if these are time-out related (one possible solution for those errors is given in the book).

Without knowing what the grep Error ... command produces, nothing can be said about the above.

Hope this helps.

robofighter 05-11-2011 05:14 PM

I checked out the error. The problem was it timed out.

adi_30stm 07-30-2011 12:50 PM

Even i got something similar ..how do you tell if they are time-out errors??

druuna 07-30-2011 03:25 PM

Hi adi_30stm,

Quote:

Originally Posted by adi_30stm
..how do you tell if they are time-out errors??

Code:

make -k check 2>&1 | tee glibc-check-log
Check the file that holds all the info (the bold part).

Hope this helps.


All times are GMT -5. The time now is 04:39 PM.