Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49645 - XML-Parser will not emerge
Summary: XML-Parser will not emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-01 13:09 UTC by Kevin
Modified: 2004-05-01 15:14 UTC (History)
1 user (show)

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 Kevin 2004-05-01 13:09:48 UTC
When I do:
# emerge XML-Parser
I get:
tombstone root # emerge XML-Parser
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/XML-Parser-2.34 to /
>>> md5 src_uri ;-) XML-Parser-2.34.tar.gz
>>> Unpacking source...
>>> Unpacking XML-Parser-2.34.tar.gz to /var/tmp/portage/XML-Parser-2.34/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
make: Warning: File `/usr/lib/perl5/5.8.2/i686-linux/Config.pm' has modification time 2.2e+03 s in the future
Makefile out-of-date with respect to /usr/lib/perl5/5.8.2/i686-linux/Config.pm /usr/lib/perl5/5.8.2/i686-linux/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/bin/perl Makefile.PL "PREFIX=/var/tmp/portage/XML-Parser-2.34/image//usr" "INSTALLDIRS=vendor"
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make: *** [Makefile] Error 1

!!! ERROR: dev-perl/XML-Parser-2.34 failed.
!!! Function perl-module_src_compile, Line 50, Exitcode 2
!!! compilation failed



Reproducible: Always
Steps to Reproduce:
1. emerge XML-Parser
2.
3.

Actual Results:  
tombstone root # emerge XML-Parser 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-perl/XML-Parser-2.34 to / 
>>> md5 src_uri ;-) XML-Parser-2.34.tar.gz 
>>> Unpacking source... 
>>> Unpacking XML-Parser-2.34.tar.gz to /var/tmp/portage/XML-Parser-2.34/work 
>>> Source unpacked. 
Checking if your kit is complete... 
Looks good 
Writing Makefile for XML::Parser::Expat 
Writing Makefile for XML::Parser 
make: Warning: File `/usr/lib/perl5/5.8.2/i686-linux/Config.pm' has 
modification time 2.2e+03 s in the future 
Makefile out-of-date with respect 
to /usr/lib/perl5/5.8.2/i686-linux/Config.pm /usr/lib/perl5/5.8.2/i686-linux/CORE/config.h 
Cleaning current config before rebuilding Makefile... 
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true 
/usr/bin/perl Makefile.PL "PREFIX=/var/tmp/portage/XML-Parser-2.34/image//usr" 
"INSTALLDIRS=vendor" 
Checking if your kit is complete... 
Looks good 
Writing Makefile for XML::Parser::Expat 
Writing Makefile for XML::Parser 
==> Your Makefile has been rebuilt. <== 
==> Please rerun the make command.  <== 
false 
make: *** [Makefile] Error 1 
 
!!! ERROR: dev-perl/XML-Parser-2.34 failed. 
!!! Function perl-module_src_compile, Line 50, Exitcode 2 
!!! compilation failed 
 
 

Expected Results:  
emerge properly 

Many, many packages depend upon this package.
Comment 1 Kevin 2004-05-01 13:11:11 UTC
# emerge info:
tombstone root # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r2)
=================================================================
System uname: 2.4.25-gentoo-r2 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.eliteitminds.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d acl acpi afs alsa apache2 apm arts avi berkdb bonobo caps crypt cups doc emacs emacs-w3 encode esd ethereal evo firebird flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile hardened icq imagemagick imap imlib innodb ipv6 jabber jack java jikes jpeg kde kerberos krb4 ldap libg++ libwww mad mcal mikmod motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl plotutils png ppds prelude python qt quicktime readline ruby samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb vhosts x86 xinerama xml2 xmms xv zeo zlib"

Comment 2 Doug Weimer 2004-05-01 14:33:21 UTC
The cause of your problem is here:

make: Warning: File `/usr/lib/perl5/5.8.2/i686-linux/Config.pm' has modification time 2.2e+03 s in the future
Makefile out-of-date with respect to /usr/lib/perl5/5.8.2/i686-linux/Config.pm /usr/lib/perl5/5.8.2/i686-linux/CORE/config.h

The perl build process uses timestamps to tell whether or not a file needs to be rebuilt, because Config.pm appears to be in the future it will continuously ask you to rerun make. To fix this, make sure that your date is set correctly and re-install perl.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2004-05-01 14:35:11 UTC
This looks like a discrepancy between your current system time and the timestamp on the created files -not a problem with the ebuild or XML-Parser in any way. What is the timestamp on the files it lists, anyway?

/usr/lib/perl5/5.8.2/i686-linux/Config.pm
/usr/lib/perl5/5.8.2/i686-linux/CORE/config.h
Comment 4 Kevin 2004-05-01 15:14:57 UTC
Huh...

I looked at that.  Thing is, I have no idea why they were out of date (and they were at the time, but no longer---2200s is about 30 min).

I emerged again just now and it worked.  Sorry for the hassle/bug report.

FWIW, date stamps on those files are:
tombstone root # ls -l /usr/lib/perl5/5.8.2/i686-linux/Config.pm /usr/lib/perl5/5.8.2/i686-linux/CORE/config.h
-r--r--r--    1 root     root       135424 May  1 16:36 /usr/lib/perl5/5.8.2/i686-linux/CORE/config.h
-rw-r--r--    1 root     root        34020 May  1 16:36 /usr/lib/perl5/5.8.2/i686-linux/Config.pm

And it was about 16:00 EDT that I was doing this.  How strange.  I checked my machine's date and time before reporting the bug and it was right, and I hadn't done anything to it in the past 12-18 hours.  Hmmm...

Anyway, thanks for pointing out the problem and thereby, the solution.