pkgsrc-Users archive

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

Re: can't build 2023Q4 sshfs



Joerg Sonnenberger <joerg%bec.de@localhost> writes:

> On Thursday, March 7, 2024 7:44:53 PM CET Greg Troxel wrote:
>>   pkgsrc should unpack tarballs in such a way that even if extattr are
>>   present they are not written.   I have a fuzzy memory that there is
>>   some flag to NetBSD pax/tar to say not to.  IMHO not doing this is a
>>   pkgsrc bug.
>
> If I am guessing, this is building as root and the default behavior of
> tar since forever has been to preserve permissions by default iff
> running as root.

Useful diagnosis, but pkgsrc should make tar/etc. not try to set xattr.
I think we need to add an option to say "don't" to pkgsrc defaults.
This does not seem appropriate for an individual package.

I don't think there are cases when upacking the xattr is desired.
Certainly pkgsrc does not specifiy that an xattr-capable fs is required.



Home | Main Index | Thread Index | Old Index