[MacPorts] #67905: p5-mozilla-ca @20230801 does not extract using system tar on 10.11.6 and 10.10
MacPorts
noreply at macports.org
Sun Aug 6 00:43:02 UTC 2023
#67905: p5-mozilla-ca @20230801 does not extract using system tar on 10.11.6 and
10.10
----------------------------+--------------------
Reporter: snowflake | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.99
Resolution: | Keywords:
Port: p5-mozilla-ca |
----------------------------+--------------------
Comment (by pcafstockf):
The problem is that in the tarball, '**xattr.com.apple.provenance**' gets
attached to the 'Mozilla-CA-20230801/README' file and the 'Mozilla-
CA-20230801/lib/Mozilla' directory.\\
System tar on older macOS do not know how to process these attributes.
Indeed it seems that thanks to SIP, they can only be removed with great
difficulty (https://eclecticlight.co/2023/03/13/ventura-has-changed-app-
quarantine-with-a-new-xattr/).\\
Unfortunately I need a to create a binary package that depends on p5
-mozilla-ca which must be installable on a machine that may or may not
have macports installed (e.g. Xcode may not be allowed), and so I have to
set up a custom MacPorts install
(https://guide.macports.org/#installing.macports.source.multiple). \\
This in turn makes the solution suggested by @snowflake a non-starter for
me.
I'm a long time MacPorts user and open source contributor, but a noob wrt
creating / modifying ports, and have not yet figured out how the tarball
itself gets created.\\
If by "report the broken tarball issue to the developers", you mean file a
GitHub issue, then I have now done that (https://github.com/libwww-perl
/Mozilla-CA/issues/21).\\
If you meant something else, could you please elaborate?
If all else fails, some guidance on how I can fix this would be much
appreciated. I see from the original posting that I could create a local
Portfile, override and modify it to use gnutar, but that really doesn't
fix the problem for other users.
--
Ticket URL: <https://trac.macports.org/ticket/67905#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list