Re: execution of /var/folders/ fink failed, exit code 126

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.core
Organization Fink Core Team
Message-ID <[email protected]>
On 7/4/12 10:55 AM, Alexander Hansen wrote:
> On 7/4/12 10:39 AM, B Duart wrote:
>> hi,
>>
>> re: http://sourceforge.net/mailarchive/forum.php?thread_name=4FDA1C5F.7020003%40gmail.com&forum_name=fink-users
>>
>> $ fink selfupdate
>> ...
>> sudo -u fink-bld [ENV] sh
>> -c/var/folders/1b/q6ndjg294bx6zs0z2m7wkqw80000gn/T/fink.v5Tqu
>> sh: /var/folders/1b/q6ndjg294bx6zs0z2m7wkqw80000gn/T/fink.v5Tqu:
>> Permission denied
>> ### execution of
>> /var/folders/1b/q6ndjg294bx6zs0z2m7wkqw80000gn/T/fink.v5Tqu failed, exit
>> code 126
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-fink-mirrors-0.33.2.1-1
>> (Reading database ... 21722 files and directories currently installed.)
>> Removing fink-buildlock-fink-mirrors-0.33.2.1-1 ...
>> Failed: phase unpacking 'fink-mirrors-0.33.2.1.tar.gz':
>> fink-mirrors-0.33.2.1-1 failed
>>
>>
>> ---FYI---
>>
>> my usual root environment is established with:
>>
>> $ /usr/bin/sudo -E -s
>>
>> and i was experiencing the above failure.
>>
>> i sudo’d without the -E switch and selfupdate succeeded.
>>
>>
>> hope that helps!
>>
>>
>> regards,
>>
>> -brian
>>
> 
> Forwarding this onto the fink-core list, because fink isn't my personal
> package.
> 

I can confirm this behavior.  Unlike in jfm's case (cf. the mailarchive
link above), this doesn't require having a root user or any special
fink.conf setting, so it's easily reproducible on a 'vanilla' fink setup
via:

/usr/bin/sudo -E -s
fink build <some package that doesn't force building as root>

Packages with BuildAsNobody: false don't trigger this, and the
--no-build-as-nobody override works, too.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.