From: Rafael Barrera Oro <borafael@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths
Date: Mon, 9 May 2011 10:44:10 -0300 [thread overview]
Message-ID: <BANLkTim4AGPZLf0+MeHoyMindc7nDXU0ow@mail.gmail.com> (raw)
In-Reply-To: <201105062250.28703.michaelkintzios@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4817 bytes --]
I can't believe it!!!
Since the purpose of the whole installation was to start using a machine
that has been abandoned for some time i paid no attention to a CMOS alert
that came up on the screen the first time i turned it on, shrugging it off
as one more error message of a machine aproaching the end of its useful
life. After reading your responses i went straight to the CMOS clock and,
non surprisingly, it was not set correctly, i corrected the time and date
and the weird errors dissapeared.
I can't say i fully understand why the unset clock caused this but i do can
say that this was a tough one and never would have figured it out without
your expertise, so thanks, much obliged
Considering the confusing nature of the error and the easyness which it is
fixed with, should'n it be in a faq or something?
truly yours
Rafael
2011/5/6 Mick <michaelkintzios@gmail.com>
> On Friday 06 May 2011 19:57:36 Kevin McCarthy wrote:
> > On Fri, May 06, 2011 at 03:25:31PM -0300, Rafael Barrera Oro wrote:
> > > 2011/5/6 Kevin McCarthy <signals@gentoo.org>
> > >
> > > > On Fri, May 06, 2011 at 01:45:01PM -0300, Rafael Barrera Oro wrote:
> > > > > Attached to this message are the contents of the afforementioned
> > > > > file, thanks for the help!!!
> >
> > This seems like cause for alarm:
> > > >>> Unpacking source...
> > > >>> Unpacking dialog-1.1-20100428.tgz to
> > > >>> /var/tmp/portage/dev-util/dialog-1.1.20100428/work
> > >
> > > tar: dialog-1.1-20100428/aclocal.m4: time stamp 2010-04-28 17:36:28 is
> > > 252636716.880100597 s in the future
> >
> > Something is definitely wrong with your clock.
> >
> > Then we have this:
> > > >>> Source configured.
> > > >>> Compiling source in
> > > >>>
> /var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-201004
> > > >>> 28 ...
> > >
> > > make
> > > make: Warning: File `trace.c' has modification time 2.4e+08 s in the
> > > future
> >
> > Here is the libtool link from the compile phase. It looks correct, but
> >
> > notice that it warns you about the clock problems:
> > > 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 make: warning: Clock skew
> > > detected. Your build may be incomplete.
> > >
> > > >>> Source compiled.
> > > >>> Test phase [not enabled]: dev-util/dialog-1.1.20100428
> >
> > Then in the install phase, you will see that make can't figure out what
> > is up-to-date (because the clock is off) so it decides everything needs
> > to be rebuilt.
> >
> > > >>> Install dialog-1.1.20100428 into
> > > >>> /var/tmp/portage/dev-util/dialog-1.1.20100428/image/ category
> > > >>> dev-util
> >
> > ---8<---SNIP---8<---
> >
> > > make: Warning: File `trace.c' has modification time 2.4e+08 s in the
> > > future /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
> >
> > In the install phase, DESTDIR is set to the PORTAGE_TEMP directory and
> > libtool is called with -rpath set to the temp dir. This is what's
> > causing the QA warning. The problem is that we aren't supposed to be
> >
> > building anything at this point. It is the INSTALL phase after all:
> > > /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
> >
> > So, the short of it is that you need to fix your clock. It needs to be
> > set reasonably close to the actual time and the timezone needs to be set
> > correctly as well. You might also look into net-misc/ntp to set the
> > clock from the network.
> >
> > If your clock is set correctly, there's something horribly wrong and it
> > will require additional troubleshooting.
>
> O_O
>
> Thanks for an excellent and very educational explanation! I don't think
> I've
> come across anything like this clock skew generated problem before. I'll
> know
> what to look for in the future.
>
> The OP may also want to check out chrony in case he's using a laptop.
> --
> Regards,
> Mick
>
[-- Attachment #2: Type: text/html, Size: 6190 bytes --]
next prev parent reply other threads:[~2011-05-09 13:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 2:00 [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths Rafael Barrera Oro
2011-05-05 5:26 ` Mick
2011-05-05 14:03 ` Rafael Barrera Oro
2011-05-05 14:13 ` Rafael Barrera Oro
2011-05-05 21:35 ` [gentoo-user] " walt
2011-05-05 17:37 ` [gentoo-user] " Stroller
2011-05-05 19:57 ` Paul Hartman
2011-05-05 21:53 ` Mick
2011-05-06 10:03 ` Stroller
2011-05-06 10:40 ` Neil Bothwick
2011-05-06 15:32 ` Rafael Barrera Oro
2011-05-06 16:34 ` Kevin McCarthy
2011-05-06 16:45 ` Rafael Barrera Oro
2011-05-06 17:37 ` Kevin McCarthy
2011-05-06 18:25 ` Rafael Barrera Oro
2011-05-06 18:57 ` Kevin McCarthy
2011-05-06 21:47 ` James Wall
2011-05-06 21:48 ` Mick
2011-05-09 13:44 ` Rafael Barrera Oro [this message]
2011-05-09 14:02 ` Kevin McCarthy
2011-05-06 21:45 ` Neil Bothwick
2011-05-06 22:43 ` Kevin McCarthy
[not found] <gOWaS-4uz-17@gated-at.bofh.it>
[not found] ` <gPaQx-3Y4-19@gated-at.bofh.it>
[not found] ` <gPvih-4Qi-7@gated-at.bofh.it>
[not found] ` <gPwel-6q1-1@gated-at.bofh.it>
[not found] ` <gPB4m-6b6-13@gated-at.bofh.it>
2011-05-07 0:03 ` Indi
[not found] <gPDfP-1yA-13@gated-at.bofh.it>
[not found] ` <gPDfP-1yA-15@gated-at.bofh.it>
[not found] ` <gPDfP-1yA-17@gated-at.bofh.it>
[not found] ` <gPDfP-1yA-19@gated-at.bofh.it>
[not found] ` <gPDfP-1yA-21@gated-at.bofh.it>
[not found] ` <gPDfP-1yA-11@gated-at.bofh.it>
2011-05-07 0:40 ` Indi
2011-05-07 9:11 ` Mick
[not found] <gPDSx-2qd-7@gated-at.bofh.it>
[not found] ` <gPDSy-2qd-17@gated-at.bofh.it>
[not found] ` <gPDSx-2qd-5@gated-at.bofh.it>
[not found] ` <gPLQ6-7R2-1@gated-at.bofh.it>
2011-05-10 0:24 ` Indi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTim4AGPZLf0+MeHoyMindc7nDXU0ow@mail.gmail.com \
--to=borafael@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox