You probably have overly-restrictive permissions on some part of the
(I assume) /sw/lib/perl5/Fink/Services.pm path. I see that the fink
paths are in @INC, so it's not sudo messing with your PERL5LIB. Make
sure all the dirs leading to fink's .pm are world-readable and
-executable and that the .pm themselves are world-readable.

dan

On Sat, Oct 04, 2008 at 12:17:18AM +0200, Karl-Michael Schindler wrote:
> Dear fink developers,
> 
> When trying to validate a package i did "fink --build-as-nobody build  
> mypackage.info" and had the following problem:
> 
> sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.1.fPqjuC
> shell-init: error retrieving current directory: getcwd: cannot access  
> parent directories: Permission denied
> Can't locate Fink/Services.pm in @INC (@INC contains: /sw/lib/perl5 / 
> sw/lib/perl5/darwin /System/Library/Perl/5.8.8/darwin-thread- 
> multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin- 
> thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/ 
> Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 / 
> Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread- 
> multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 / 
> Library/Perl/5.8.1 .) at /var/tmp/tmp.1.fPqjuC line 2.
> BEGIN failed--compilation aborted at /var/tmp/tmp.1.fPqjuC line 2.
> ### execution of /var/tmp/tmp.1.fPqjuC failed, exit code 2
> 
> Thanks for your work
> 
> Karl-Michael Schindler
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Fink-devel mailing list
> [email protected]
> http://news.gmane.org/gmane.os.apple.fink.devel

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to