Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37958 - GLIBC does not compile (loop)
Summary: GLIBC does not compile (loop)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: High blocker (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 04:46 UTC by Fabien Fivaz
Modified: 2004-01-17 09:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Fivaz 2004-01-12 04:46:42 UTC
I emerged GLIBC. After configuring and beggining compilation, it loops with the following message appearing repeatedly :

make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make[1]: Warning: File `/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include/stddef.h' has modification time 1.5e+09 s in the future
rm -f /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.makeT /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
 gcc -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -mcpu=ev5 -pipe -mieee     -Iinclude -I. -I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere  -Ilibio -I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere -Ilinuxthreads/sysdeps/alpha/elf -Isysdeps/alpha/elf -Ilinuxthreads/sysdeps/unix/sysv/linux/alpha -Ilinuxthreads/sysdeps/unix/sysv/linux -Ilinuxthreads/sysdeps/pthread -Isysdeps/pthread -Ilinuxthreads/sysdeps/unix/sysv -Ilinuxthreads/sysdeps/unix -Ilinuxthreads/sysdeps/alpha -Isysdeps/unix/sysv/linux/alpha/alpha -Isysdeps/unix/sysv/linux/alpha -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix/alpha -Isysdeps/unix -Isysdeps/posix -Isysdeps/alpha/fpu -Isysdeps/alpha -Isysdeps/wordsize-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include -isystem /usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -E tls.make.c \
       -MD -MP -MT '$(common-objpfx)tls.make' -MF /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.make.dT \
 | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
 echo 'common-generated += tls.make'; \
 sed -e 's@ /var/tmp/portage/glibc-2\.3\.2-r9/work/glibc-2\.3\.2/buildhere/@ $(common-objpfx)@g' -e 's@^/var/tmp/portage/glibc-2\.3\.2-r9/work/glibc-2\.3\.2/buildhere/@$(common-objpfx)@g' -e 's@  *\([^       \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^ \]*\)@$(..)\1@g' /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.make.dT; \
 rm -f /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.make.dT) > /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.makeT
mv -f /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.makeT /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/tls.make 

Reproducible: Always
Steps to Reproduce:
1. emerge -u glibc
or
1. emerge -u system


Actual Results:  
Compilation starts then loops, it never finished (I waited three hours !).

Expected Results:  
Finished compilation

I launched emerge from SSH
Comment 1 Fabien Fivaz 2004-01-12 04:50:14 UTC
I have a Digital PWS 433au...
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-01-12 05:27:15 UTC
``make[1]: Warning: File `/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include/stddef.h' has modification time 1.5e+09 s in the future''

Is your system clock set properly?
Comment 3 Fabien Fivaz 2004-01-12 05:30:26 UTC
Yes, I think.

alpha root # date
Mon Jan 12 14:29:57 CET 2004
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-01-12 07:35:24 UTC
What is the output of the following command?

ls -l /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include/stddef.h
Comment 5 Fabien Fivaz 2004-01-12 09:51:30 UTC
Here it is...

bash-2.05b# ls -l /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include/stddef.h
-rw-r--r--    1 root     root        12695 Jan  9  2052 /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include/stddef.h
Comment 6 Fabien Fivaz 2004-01-12 14:29:15 UTC
I found similarities with the following bug :

http://bugs.gentoo.org/show_bug.cgi?id=33975

I will test the way they resolved it. And if it goes nice, mark this bug as as duplicate.
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2004-01-14 15:22:40 UTC
Fabien, the year on that file is 2052.  That is the problem.  You should remerge gcc then emerge glibc.  I think it will work.
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-01-14 20:07:34 UTC
Fabien, if the solution I presented above doesn't solve the problem, please re-open this bug.  I'm closing it now in the belief that is the solution.
Comment 9 Fabien Fivaz 2004-01-17 09:41:15 UTC
Yes, it works. Thanks a lot.