Hi. Well, the untarred files have timestamps of months ago, when the developers made the package. Even untarring with -m and getting the current time makes no difference. But I can post the part where it repeats:
make[4]: Leaving directory `/sources/glibc-2.12.1/nptl' make[4]: Entering directory `/sources/glibc-2.12.1/nptl' /tools/bin/install -c -m 644 ../include/limits.h /usr/include/limits.h gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/unix/sysv/linux/structsem.sym \ | gcc -S -o /sources/glibc-build/structsem.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -x c - \ -MD -MP -MF /sources/glibc-build/structsem.h.dT -MT '/sources/glibc-build/structsem.h.d /sources/glibc-build/structsem.h' gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym \ | gcc -S -o /sources/glibc-build/pthread-pi-defines.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -x c - \ -MD -MP -MF /sources/glibc-build/pthread-pi-defines.h.dT -MT '/sources/glibc-build/pthread-pi-defines.h.d /sources/glibc-build/pthread-pi-defines.h' sed -n 's/^.*@@@name@@@\([...@]*\)@@@value@ @@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \ /sources/glibc-build/structsem.hT3 > /sources/glibc-build/structsem.hT rm -f /sources/glibc-build/structsem.hT3 sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's...@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\...@g' -e 's...@^\.\.\/\([^ \]*\)@$(..)\...@g' \ /sources/glibc-build/structsem.h.dT > /sources/glibc-build/structsem.h.dT2 rm -f /sources/glibc-build/structsem.h.dT mv -f /sources/glibc-build/structsem.h.dT2 /sources/glibc-build/structsem.h.d mv -f /sources/glibc-build/structsem.hT /sources/glibc-build/structsem.h gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym \ | gcc -S -o /sources/glibc-build/lowlevelrobustlock.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -x c - \ -MD -MP -MF /sources/glibc-build/lowlevelrobustlock.h.dT -MT '/sources/glibc-build/lowlevelrobustlock.h.d /sources/glibc-build/lowlevelrobustlock.h' sed -n 's/^.*@@@name@@@\([...@]*\)@@@value@ @@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \ /sources/glibc-build/pthread-pi-defines.hT3 > /sources/glibc-build/pthread-pi-defines.hT rm -f /sources/glibc-build/pthread-pi-defines.hT3 sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's...@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\...@g' -e 's...@^\.\.\/\([^ \]*\)@$(..)\...@g' \ /sources/glibc-build/pthread-pi-defines.h.dT > /sources/glibc-build/pthread-pi-defines.h.dT2 rm -f /sources/glibc-build/pthread-pi-defines.h.dT mv -f /sources/glibc-build/pthread-pi-defines.h.dT2 /sources/glibc-build/pthread-pi-defines.h.d mv -f /sources/glibc-build/pthread-pi-defines.hT /sources/glibc-build/pthread-pi-defines.h gawk -f ../scripts/gen-as-const.awk pthread-errnos.sym \ | gcc -S -o /sources/glibc-build/pthread-errnos.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -x c - \ -MD -MP -MF /sources/glibc-build/pthread-errnos.h.dT -MT '/sources/glibc-build/pthread-errnos.h.d /sources/glibc-build/pthread-errnos.h' sed -n 's/^.*@@@name@@@\([...@]*\)@@@value@ @@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \ /sources/glibc-build/lowlevelrobustlock.hT3 > /sources/glibc-build/lowlevelrobustlock.hT rm -f /sources/glibc-build/lowlevelrobustlock.hT3 sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's...@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\...@g' -e 's...@^\.\.\/\([^ \]*\)@$(..)\...@g' \ /sources/glibc-build/lowlevelrobustlock.h.dT > /sources/glibc-build/lowlevelrobustlock.h.dT2 rm -f /sources/glibc-build/lowlevelrobustlock.h.dT mv -f /sources/glibc-build/lowlevelrobustlock.h.dT2 /sources/glibc-build/lowlevelrobustlock.h.d mv -f /sources/glibc-build/lowlevelrobustlock.hT /sources/glibc-build/lowlevelrobustlock.h sed -n 's/^.*@@@name@@@\([...@]*\)@@@value@ @@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \ /sources/glibc-build/pthread-errnos.hT3 > /sources/glibc-build/pthread-errnos.hT rm -f /sources/glibc-build/pthread-errnos.hT3 sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's...@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\...@g' -e 's...@^\.\.\/\([^ \]*\)@$(..)\...@g' \ /sources/glibc-build/pthread-errnos.h.dT > /sources/glibc-build/pthread-errnos.h.dT2 rm -f /sources/glibc-build/pthread-errnos.h.dT mv -f /sources/glibc-build/pthread-errnos.h.dT2 /sources/glibc-build/pthread-errnos.h.d mv -f /sources/glibc-build/pthread-errnos.hT /sources/glibc-build/pthread-errnos.h make[4]: Leaving directory `/sources/glibc-2.12.1/nptl' Any clue here? thanks Alberto 2010/10/15 Aleksandar Kuktin <akuk...@gmail.com> > >On Fri, 15 Oct 2010 13:59:02 +0200 > >Alberto Hernando <pajaro...@gmail.com> wrote: > > > > Hi. > > > > I've put the instructions from the book in a script: > > > > baratito:~# cat chroot_lfs.sh > > #!/bin/bash > > > > LFS="/media/lfs" > > MAKEFLAGS="-j 2" > > mount -v --bind /dev $LFS/dev > > mount -vt devpts devpts $LFS/dev/pts > > mount -vt tmpfs shm $LFS/dev/shm > > mount -vt proc proc $LFS/proc > > mount -vt sysfs sysfs $LFS/sys > > > > chroot "$LFS" /tools/bin/env -i \ > > HOME=/root TERM="$TERM" MAKEFLAGS="$MAKEFLAGS" > > PARALLELMFLAGS="$MAKEFLAGS" PS1='\u:\w\$ ' \ > > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ > > /tools/bin/bash --login +h > > > > I just run it to enter the chroot. > > > > About timestamps: > > > > baratito:~# date > > vie oct 15 13:55:00 CEST 2010 > > baratito:~# sh chroot_lfs > > sh: chroot_lfs: No existe el fichero o el directorio > > baratito:~# date > > vie oct 15 13:55:10 CEST 2010 > > baratito:~# sh chroot_lfs.sh > > /dev on /media/lfs/dev type none (rw,bind) > > devpts on /media/lfs/dev/pts type devpts (rw) > > shm on /media/lfs/dev/shm type tmpfs (rw) > > proc on /media/lfs/proc type proc (rw) > > sysfs on /media/lfs/sys type sysfs (rw) > > root:/# date > > Fri Oct 15 11:55:15 UTC 2010 > > > > There is really a difference. Perhaps the loop appears because the > > build takes more than 2 hours? > > Anyway, I did all the building with the "wrong" hour and timestamp. > > And the chroot isn't in the future but the past. > > Looks like the right place to look, but what? > > > > Alberto > > This actually does make sense, but only if a premise holds: that you > untar the sources with the real time, and try building them with the > 2-hours-in-the-past chroot time (however, in reality, 10h UTC and 12h > CEST are one and the same time, but filesystem does not account for > timegroups). > > It is simple to check this: ls -l $GLIBC_SOURCE_DIR, and see the times. > > If it holds true (sources have timestamps two hours in the future), > then that's you problem. > Perhaps untaring them once you enter chroot will do the trick (if you > already do that, then the solution is more complicated). > > -- > -Aleksandar Kuktin > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- duende a rayas
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page