Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-osx
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-osx@g.o
From: Tobias Hahn <tobhahn@...>
Subject: prefix emerge perl issues
Date: Mon, 3 Apr 2006 09:15:41 +0200
i'm having a couple of issues emerging perl 5.8.7:

- during configure:
1.
     >>> /Volumes/portage//Volumes/portage/usr/lib/portage doesn't  
exist, creating it...
     portage: couldn't create /Volumes/portage/usr/lib/portage; exiting.

/Volumes/porgage/usr/lib/portage exists.

2.
     Where is your C library? [/usr/lib/libc.dylib]

is this correct, i.e. do we use apple-libc instead of emerging it?

3.
     What command should be used to create dynamic libraries?
     [env MACOSX_DEPLOYMENT_TARGET=10.3 cc]

emerge --info --verbose reports
     MACOSX_DEPLOYMENT_TARGET=10.4
where does the perl ebuild get the 10.3 from? is this correct?

-during install:
1.
      * Applying perl-h2ph-ansi- 
header.patch ...                               [ ok ]
     require '_h2ph_pre.ph';

     no warnings 'redefine';

     1;
     override r--r--r--  portage/portage for /Volumes/portage/var/tmp/ 
portage/perl-5.8.7-r1/image/Volumes/portage/usr/lib/perl5/5.8.7/Net/ 
Config.pm? (y/n [n])
     override r--r--r--  portage/portage for /Volumes/portage/var/tmp/ 
portage/perl-5.8.7-r1/image/Volumes/portage/usr/lib/perl5/5.8.7/ 
darwin-2level/Config.pm? (y/n [n])
     override r--r--r--  portage/portage for /Volumes/portage/var/tmp/ 
portage/perl-5.8.7-r1/image/Volumes/portage/usr/lib/perl5/5.8.7/ 
darwin-2level/Encode/Config.pm? (y/n [n])

I manually answered [y] in all three cases, was this correct?

2. hen-egg problem: install uses stat, but BSD-stat has different  
syntax than GNU-stat, which is in coreutils, but coreutils depends on  
perl. This gives me thousands of errors like

     stat: illegal option -- c
     usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
     failed stat_perm'ing '/Volumes/portage/var/tmp/portage/ 
perl-5.8.7-r1/image/Volumes/portage//usr/share/man/man1/perlvms. 
1.gz' . User intervention during install isn't wise...

3. emerge fails.

[...]
 >>> /Volumes/portage/usr/lib/perl5/5.8.7/darwin-2level/CORE/hv.h
 >>> /Volumes/portage/usr/lib/perl5/5.8.7/darwin-2level/CORE/intrpvar.h
 >>> /Volumes/portage/usr/lib/perl5/5.8.7/darwin-2level/CORE/iperlsys.h
 >>> /Volumes/portage/usr/lib/perl5/5.8.7/darwin-2level/CORE/keywords.h
Traceback (most recent call last):
   File "/Volumes/portage/usr/bin/ebuild", line 86, in ?
     a = portage.doebuild(ebuild, arg, portage.root, tmpsettings,  
debug=debug, cleanup=("noauto" not in portage.features), tree=mytree)
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 2873,  
in doebuild
     return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings 
["EDEST"],mysettings["PORTAGE_BUILDDIR"]+"/build- 
info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree)
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 3047,  
in merge
     return mylink.merge(pkgloc,infloc,myroot,myebuild)
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6367,  
in merge
     return self.treewalk 
(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 5982,  
in treewalk
     if self.mergeme 
(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6232,  
in mergeme
     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x 
+"/",cfgfiledict,thismtime):
   File "/Volumes/portage/usr/lib/portage/pym/portage.py", line 6314,  
in mergeme
     myf=open(myrealdest,"r+")
IOError: [Errno 13] Permission denied: '/Volumes/portage/usr/lib/ 
perl5/5.8.7/darwin-2level/CORE/libperl.a'

-- 
gentoo-osx@g.o mailing list


Replies:
Re: prefix emerge perl issues
-- Tobias Hahn
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Prefix for MacOSX Intel
Next by thread:
Re: prefix emerge perl issues
Previous by date:
Re: prefix status on osx - bug
Next by date:
Re: prefix emerge perl issues


Updated Jun 17, 2009

Summary: Archive of the gentoo-osx mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.