Gentoo Archives: gentoo-user

From: James Wall <wallservices@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths
Date: Fri, 06 May 2011 21:49:31
Message-Id: BANLkTikZPdDGp0_vT8nB=8bgV9nsifM7oQ@mail.gmail.com
In Reply to: Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths by Kevin McCarthy
1 On Fri, May 6, 2011 at 1:57 PM, Kevin McCarthy <signals@g.o> wrote:
2 > On Fri, May 06, 2011 at 03:25:31PM -0300, Rafael Barrera Oro wrote:
3 >> 2011/5/6 Kevin McCarthy <signals@g.o>
4 >>
5 >> > On Fri, May 06, 2011 at 01:45:01PM -0300, Rafael Barrera Oro wrote:
6 >> > >
7 >> > > Attached to this message are the contents of the afforementioned file,
8 >> > > thanks for the help!!!
9 >
10 > This seems like cause for alarm:
11 >
12 >> >>> Unpacking source...
13 >> >>> Unpacking dialog-1.1-20100428.tgz to /var/tmp/portage/dev-util/dialog-1.1.20100428/work
14 >> tar: dialog-1.1-20100428/aclocal.m4: time stamp 2010-04-28 17:36:28 is 252636716.880100597 s in the future
15 >
16 > Something is definitely wrong with your clock.
17 >
18 > Then we have this:
19 >
20 >> >>> Source configured.
21 >> >>> Compiling source in /var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428 ...
22 >> make
23 >> make: Warning: File `trace.c' has modification time 2.4e+08 s in the future
24 >
25 > Here is the libtool link from the compile phase. It looks correct, but
26 > notice that it warns you about the clock problems:
27 >
28 >> libtool: link: i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o .libs/dialog .libs/dialog.o  -L/var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428 /var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428/.libs/libdialog.so -L/usr/lib -lncursesw -lm
29 >> make: warning:  Clock skew detected.  Your build may be incomplete.
30 >> >>> Source compiled.
31 >> >>> Test phase [not enabled]: dev-util/dialog-1.1.20100428
32 >>
33 >
34 > Then in the install phase, you will see that make can't figure out what
35 > is up-to-date (because the clock is off) so it decides everything needs
36 > to be rebuilt.
37 >
38 >> >>> Install dialog-1.1.20100428 into /var/tmp/portage/dev-util/dialog-1.1.20100428/image/ category dev-util
39 > ---8<---SNIP---8<---
40 >> make: Warning: File `trace.c' has modification time 2.4e+08 s in the future
41 >> /usr/bin/libtool --tag=CC  --mode=compile i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED -DHAVE_CONFIG_H -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -c trace.c
42 >
43 > In the install phase, DESTDIR is set to the PORTAGE_TEMP directory and
44 > libtool is called with -rpath set to the temp dir. This is what's
45 > causing the QA warning. The problem is that we aren't supposed to be
46 > building anything at this point. It is the INSTALL phase after all:
47 >
48 >> /usr/bin/libtool --tag=CC  --mode=link i686-pc-linux-gnu-gcc -rpath /var/tmp/portage/dev-util/dialog-1.1.20100428/image//usr/lib -version-info `cut -f1 ./VERSION`   -Wl,-O1 -Wl,--as-needed -o libdialog.la trace.lo rc.lo calendar.lo fselect.lo timebox.lo formbox.lo guage.lo pause.lo progressbox.lo tailbox.lo mixedform.lo mixedgauge.lo arrows.lo buttons.lo checklist.lo columns.lo dlg_keys.lo editbox.lo inputbox.lo inputstr.lo menubox.lo mouse.lo mousewget.lo msgbox.lo textbox.lo ui_getc.lo util.lo version.lo yesno.lo -L/usr/lib -lncursesw -lm
49 >
50 > So, the short of it is that you need to fix your clock. It needs to be
51 > set reasonably close to the actual time and the timezone needs to be set
52 > correctly as well. You might also look into net-misc/ntp to set the
53 > clock from the network.
54 >
55 > If your clock is set correctly, there's something horribly wrong and it
56 > will require additional troubleshooting.
57 >
58 > --
59 > Kevin McCarthy <signals@g.o>
60 >
61
62 What does the outpute of "date" show for your current date? this looks
63 like your clock/cmos battery is dead. I had one keep me from emerging
64 anything because the system would go into a loop trying to emeerge
65 things like glibc.
66
67 James Wall