pkgsrc-Users archive

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

Re: can't build 2023Q4 sshfs



ignatios%cs.uni-bonn.de@localhost writes:

> On Mon, Mar 11, 2024 at 07:30:25AM -0400, Greg Troxel wrote:
>> 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.
>
> in mk.conf, this is sufficient:
>
> EXTRACT_OPTS_TAR+=--no-xattrs
>
> Sorry, I thought I'd posted that earlier.


Sure, but we need a patch to pkgsrc to just do this, not a suggestion
that pwople have to code a workaround in mk.onf.  This is a pkgsrc bug,
given the bug of bae distfiles.


Home | Main Index | Thread Index | Old Index