$ grep RootMethod /sw/etc/fink.conf
RootMethod: sudo

and I just typed

$ fink -Kkml --build-as-nobody build texlive

for the build.

FYI: in /etc/sudoers, on both 10.9 and 10.10,

Defaults        env_reset
...
Defaults        env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE"

So, sudo keeps the env variables. Maybe Fink resets the env
variables on 10.10, but not on 10.9 (of my machine).

Tomoaki Okayama

2015-04-17 0:34 GMT+09:00 Alexander Hansen <alexanderk.han...@gmail.com>:
>
>> On Apr 16, 2015, at 05:46, Tomoaki Okayama <okay...@users.sourceforge.net> 
>> wrote:
>>
>> OMG, "make -k check" failed when LANG is set. Grr
>> test-suite.log says "sed: RE error: illegal byte sequence".
>>
>> Hum..., I added "unset LANG" in the TestScript.
>>
>> I hope this bug (the environment variables are not unset
>> when building) will be fixed...
>>
>> Tomoaki Okayama
>>
>
> Are you just using “sudo” to gain root access, or some other method?  My 
> recollection is that it is possible to circumvent Fink’s code that unsets the 
> environment—but I don’t remember exactly how.
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
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