-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/27/10 3:15 AM, Pranay Airan wrote:
> Hello when i am trying to run --build-as-nobody i am getting the
> following errors can anyone help me to resolve this
> 
> I am running fink 0.29 on MAC 10.5.8
> 

It doesn't matter in this case, but in general, you need to say more
than just "0.29".

> sh-3.2# fink -m --build-as-nobody rebuild cilk
> Scanning package description files..........
> Information about 270 packages read in 1 seconds.
> Running in Maintainer Mode
> WARNING: unable to determine last selfupdate time. You should run 'fink
> selfupdate' to get the latest package descriptions.
> Validating package file /sw/fink/dists/local/main/finkinfo/cilk.info...
> Package looks good!
> The package 'cilk' will be built without being installed.
> Reading dependency for cilk-5.4.6-1...
> Reading build dependency for cilk-5.4.6-1...
> Reading build conflict for cilk-5.4.6-1...
> The following package will be rebuilt:
>  cilk
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-cilk-5.4.6-1
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-cilk-5.4.6-1' in
> `/sw/src/fink.build/fink-buildlock-cilk-5.4.6-1_2010.02.27-13.51.01_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-cilk-5.4.6-1_2010.02.27-13.51.01_darwin-i386.deb
> Selecting previously deselected package fink-buildlock-cilk-5.4.6-1.
> (Reading database ... 4218 files and directories currently installed.)
> Unpacking fink-buildlock-cilk-5.4.6-1 (from
> .../fink-buildlock-cilk-5.4.6-1_2010.02.27-13.51.01_darwin-i386.deb) ...
> Setting up fink-buildlock-cilk-5.4.6-1 (2010.02.27-13.51.01) ...
> sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.1.ewQn2i
> *Can't locate Fink/Services.pm in @INC (@INC contains:
> /Library/Perl/Updates/5.8.8
> /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.ewQn2i line 2.*
> BEGIN failed--compilation aborted at /var/tmp/tmp.1.ewQn2i line 2.
> ### execution of /var/tmp/tmp.1.ewQn2i failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-cilk-5.4.6-1
> (Reading database ... 4219 files and directories currently installed.)
> Removing fink-buildlock-cilk-5.4.6-1 ...
> Failed: unpacking file cilk-5.4.6.tar.gz of package cilk-5.4.6-1 failed
> 
> 
> -- 
> Thanks
> Pranay Airan
> 
> 
> 

This doesn't really have anything to do with --build-as-nobody mode.
Fink's Perl environment isn't showing up for the build as a whole.
First try not running from a root shell, i.e. just do

fink -m --build-as-nobody rebuild cilk

at a Terminal window without using "su" or "sudo".
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuJG7wACgkQB8UpO3rKjQ8/VQCgiQVyACml6kfTKTvBZkWep3dY
L+oAn0lOO9V7cSSKtcUUvkB7XwdMoXJR
=dHYP
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to