[MacPorts] #67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey, Ventura
MacPorts
noreply at macports.org
Sat May 20 09:44:15 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:28 ryandesign]:
> Armed with this knowledge, I did some tests of my own. I saw the problem
on macOS 12 and 13 but not on macOS 11.
>
> I tested whether using GNU tar's `--sparse` flag caused it to experience
the bug too. In my test runs, it did. That confirms for me that it is an
OS filesystem bug, not a bug in libarchive.
>
> I tested whether running `purge` before archiving fixed the problem. In
my test runs, it did.
>
> I tested whether using `sleep 10` before archiving fixed the problem. In
my test runs, it didn't.
Seems that the only way to solve it is purge inside base.
But it won't help if someone runs `port` without `sudo` :(
--
Ticket URL: <https://trac.macports.org/ticket/67336#comment:30>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list