All versions of dev-util in portage fail to build. This does not appear to be a problem with the git ebuild itself, as I have previously built and used several versions. It may be a problem with the perl build being newer than the git Makefile, but I don't know how to resolve it. All versions fail with the following error: BUILTIN git-pack-refs * new Tcl/Tk interpreter location GEN gitk-wish SUBDIR git-gui GITGUI_VERSION = 0.7.5 * new locations or Tcl/Tk interpreter GEN git-gui BUILTIN git-citool INDEX lib/ SUBDIR perl Makefile out-of-date with respect to /usr/lib/perl5/5.8.8/i686-linux/Config.pm /usr/lib/perl5/5.8.8/i686-linux/CORE/config.h Cleaning current config before rebuilding Makefile... make -f perl.mak.old clean > /dev/null 2>&1 || /bin/sh -c true /usr/bin/perl5.8.8 Makefile.PL "PREFIX=/usr" Writing perl.mak for Git ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false make[2]: *** [Makefile] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 * * ERROR: dev-util/git-1.5.2.5 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * git-1.5.2.5.ebuild, line 87: Called die * The specific snippet of code: * emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-util:git-1.5.2.5:20071123-181204.log'. * Reproducible: Always Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 mobile AMD Athlon(tm) XP 2200+ Timestamp of tree: Fri, 23 Nov 2007 12:00:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=athlon -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/local/clockspeed/etc /usr/share/X11/xkb /usr/share/config /var/service /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=i686 -mtune=athlon -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg collision-protect digest distlocks metadata-transfer notitles sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1,--sort-common" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages/lorien" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /home/bruce/portage /home/bruce/FutureQuest/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext 7zip X Xaw3d a52 aac adns aiglx alsa apache2 asf avi bash-completion berkdb bitmap-fonts bonobo bzip2 c++ cairo cdparanoia cdr chroot cpdflib crypt cscope css ctype cups curl curlwrappers d dbus dillo divx4linux djbfft djvu doc dri dvd dvdr dvdread dvi edl emacs enblend encode ethereal evo examples exif extensions extrafilters fam fame fbcon ffmpeg flac fluidsynth font-server foomaticdb gcj gdbm gif gimp gimpprint glitz gnome gphoto2 grammar gstreamer gtk gtk2 gtkhtml guile imap imlib imlib2 innodb ipv6 jack java jbig jikes jpeg jpeg2k justify kde ladcca ladspa lcms ldap mad maildir math matroska mbox memlimit menubar midi mikmod mime mjpeg mmx mmxext mng modplug moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mp4 mpeg mplayer musepack mysql ncurses nfs nls nptl nptlonly nsplugin ntfs ogg oggvorbis opengl pam pcre pda pdf pdflib perl plotutils png posix postgres postgresql ppds python qmail qt quicktime rar readline real reiserfs samba sdl seamonkey sendfile session shared sharedmem sift skey slang smime soap sockets sox spell sse ssl svg symlink t1lib tabs tcltk tcpd tetex theora thesaurus threads tiff truetype truetype-fonts type1 type1-fonts unicode usb utf8 uudeview v4l v4l2 vorbis vpopmail win32codecs wma wmf wordperfect x264 x86 xchattext xine xml xml2 xorg xpm xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Your system clock is broken.
My system clock is synced via NTP. From my logs, it appears to be well within 0.1s of a set of level-2 NTP servers. I am fairly confident that is not the problem. On what evidence do you make this claim?
> Makefile out-of-date with respect to /usr/lib/perl5/5.8.8/i686-linux/Config.pm You've emerged perl w/ broken system clock, sorry.
I just rebuilt dev-lang/perl-5.8.8-r4 and have the same result. Note that I am *not* seeing the usual "time stamp 2005-04-24 19:03:41 is 103940523.796288707 s in the future" error messages that I would expect to see if the system clock was seriously out of whack. This appears to be related: http://forums.gentoo.org/viewtopic-t-556397-highlight-makefile+outofdate+respect.html
Created attachment 136794 [details, diff] Fix for git build problem. The attached patch fixes the problem for me.
Fix your system clock instead of 'fixing' the ebuild. Thanks.