pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clang builds and /var/tmp



Le 21/10/15 12:25, Tobias Nygren a écrit :
> On Wed, 21 Oct 2015 11:54:35 +0200
> Richard PALO <richard%netbsd.org@localhost> wrote:
> 
>> why the hell would a /var/tmp be used in the case of pure temporary files?
> 
> A remainder from the time when disk and memory was expensive and it
> was the norm that /var had more free bytes than /tmp.
> 
>> Always having TMPDIR set should probably get over the issue.
> 
> I don't mind creating a package local $TMPDIR in $WRKDIR like we
> already do with $HOME (it might even be a good thing) as long as it can
> be shown through a full bulk build that it does not cause fallout or
> leakage of WRKDIR references.
> 

Speaking of bulk builds, this is a message I shot jperkin@ recently concerning
my need to define WRKOBJDIR=/tmp/pkgbuild
...
> I have issues with /var/tmp being used, in particular with libtool-base...
> 
>> => Checking file permissions in libtool-base-2.4.2nb10
>> warning: /var/tmp: group-writable directory.
>> error: /var/tmp: world-writable directory.
>> 1 errors and 1 warnings.
> 
> If I switch to /tmp/pkgbuild instead of /var/tmp/pkgbuild things work fine.
> 

never did take any more time to see what was up... perhaps the maintainer could take a look.
-- 
Richard PALO



Home | Main Index | Thread Index | Old Index