On 4/13/12 1:52 AM, Dustin Cartwright wrote:
> On Fri, Apr 13, 2012 at 12:34 AM, Alexander Hansen
> <alexanderk.han...@gmail.com>  wrote:
>> I've just added code from Daniel Johnson which changes the default
>> behavior of fink in git master.
>>
>> --build-as-nobody is now the default option.  It can be overridden in a
>> .info file by the use of a "BuildAsNobody: false" field.  And it can be
>> overridden at the command line via "fink --no-build-as-nobody ..."
>>
>> Please test it out and note any packages which cannot be build as nobody.
> Injecting into an established fink installation works, but
> bootstrapping doesn't. It seems to have to do with sudo cleaning the
> environment too much. Also, although it didn't get this far, I know
> that dpkg calls fink from within its CompileScript, and needs to be
> built as root for this reason. For a while my fink has been a script
> which adds --build-as-nobody to every invocation, but I had to exclude
> selfupdate because some essential packages are incompatible with
> --build-as-nobody.
>
> Error from bootstrap:
>
> BOOTSTRAP PHASE TWO: installing neccessary packages to /sw5/bootstrap
> without package management.
>
> sudo -u fink-bld [ENV] sh -c/tmp/fink.lwILR
> Can't locate Fink/Services.pm in @INC (@INC contains:
> /Library/Perl/Updates/5.10.0
> /System/Library/Perl/5.10.0/darwin-thread-multi-2level
> /System/Library/Perl/5.10.0
> /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0
> /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
> /Network/Library/Perl/5.10.0 /Network/Library/Perl
> /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
> /System/Library/Perl/Extras/5.10.0 .) at /tmp/fink.lwILR line 2.
> BEGIN failed--compilation aborted at /tmp/fink.lwILR line 2.
> ### execution of /tmp/fink.lwILR failed, exit code 2
>
> Dustin
Yup, that's a problem.

  Also, on a clean-system bootstrap, the user won't have a fink-bld 
user, since they won't have been able to install passwd-fink-bld (or 
passwd for 10.5/10.6 folks) yet.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to