[MacPorts] #67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey, Ventura
MacPorts
noreply at macports.org
Sat May 20 09:42:17 UTC 2023
#67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey,
Ventura
---------------------+-------------------------------------------------
Reporter: catap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.8.1
Resolution: | Keywords: catalina, bigsur, monterey, ventura
Port: |
---------------------+-------------------------------------------------
Comment (by catap):
Replying to [comment:27 mascguy]:
> Replying to [comment:26 ryandesign]:
> > GNU tar has support for special handling of sparse files] too. But
whereas libarchive seems to do this by default, GNU tar doesn't unless you
use the `--sparse` flag. You could test again with `${prefix}/bin/gtar
-cvf - --sparse . 2>/dev/null | wc` and see if that also shows the
problem.
>
> If that works, my vote would be to use GNU tar, rather than the call to
`purge`. (I suppose it would be less wonky if the latter is baked into
base. Even then, it feels a bit... well... hacky...
The issue that we need to setup gnutar. And if we're switching to ship
that, why not to switch to xz which should decrease bandwish / diskusage?
:)
--
Ticket URL: <https://trac.macports.org/ticket/67336#comment:29>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list