Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[KINDA SOLVED] cannot emerge git-* "Makefile out-of-date"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rncwnd
n00b
n00b


Joined: 13 Jun 2003
Posts: 69
Location: Germany

PostPosted: Mon Apr 30, 2007 6:00 pm    Post subject: [KINDA SOLVED] cannot emerge git-* "Makefile out-of-dat Reply with quote

When I try to emerge git-1.5.0.7, I get the following error:
Code:
make -C git-gui all
make[1]: Entering directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/git-gui'
GITGUI_VERSION = 0.6.4
make[1]: Leaving directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/git-gui'
make[1]: Entering directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/git-gui'
    GEN git-gui
    BUILTIN git-citool
make[1]: Leaving directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/git-gui'
make -C perl PERL_PATH='/usr/bin/perl' prefix='/usr' all
make[1]: Entering directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/perl'
make -f perl.mak all
make[2]: Entering directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/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] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/perl'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/dev-util/git-1.5.0.7/work/git-1.5.0.7/perl'
make: *** [all] Fehler 2

!!! ERROR: dev-util/git-1.5.0.7 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3493:   Called src_compile
  git-1.5.0.7.ebuild, line 86:   Called die

!!! make failed
...


What I already tried:

  • perl-cleaner all
  • env-update
  • timeadjust with ntp-client


Any suggestions?


Last edited by rncwnd on Sat Jun 21, 2008 3:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
timor
Guru
Guru


Joined: 25 May 2005
Posts: 517
Location: Poland

PostPosted: Thu Jul 19, 2007 10:43 pm    Post subject: Re: cannot emerge git-1.5.0.7 "Makefile out-of-date&quo Reply with quote

rncwnd wrote:
Any suggestions?

Same here ;/ Do you solved it?
Back to top
View user's profile Send private message
ummon
n00b
n00b


Joined: 21 Dec 2003
Posts: 14

PostPosted: Mon Aug 13, 2007 10:41 pm    Post subject: Reply with quote

Solved it more or less.
The problem seems to be that the Makefile in the tar.bz of the git package is used and that our last perl installation is more recent than this file.
I solved it by extracting my (in this case git-1.5.1.6.tar.bz) touching all files
Code:
find /path/to/the/ectracted/git/ -exec touch '{}' \;
and than repacking everything in a new git-1.5.1.6.tar.bz.
After a
Code:
ebuild /usr/portage/dev-util/git/git-1.5.1.6.ebuild manifest
everything emerged fine.
Back to top
View user's profile Send private message
rncwnd
n00b
n00b


Joined: 13 Jun 2003
Posts: 69
Location: Germany

PostPosted: Sat Jun 21, 2008 3:00 pm    Post subject: Reply with quote

Thx, that did the trick.

P.S.: must have forgot that thread after not needing it anymore until today ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum