[MacPorts] #67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey, Ventura
MacPorts
noreply at macports.org
Fri Oct 4 00:09:51 UTC 2024
#67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey,
Ventura
-------------------------+-------------------------------------------------
Reporter: catap | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone:
Component: base | Version: 2.8.1
Resolution: | Keywords: catalina, bigsur, monterey,
Port: | ventura, sonoma, sequoia
-------------------------+-------------------------------------------------
Changes (by ryandesign):
* keywords: catalina, bigsur, monterey, ventura => catalina, bigsur,
monterey, ventura, sonoma, sequoia
* priority: Normal => High
* cc: ryandesign, jmroot (added)
Comment:
This continues to affect us; see https://lists.macports.org/pipermail
/macports-users/2024-October/053091.html
Josh, can we apply the workaround from the pari port globally in MacPorts
base?
{{{#!tcl
pre-install {
if {[getuid] == 0 && [file exists /usr/sbin/purge]} {
system "/usr/sbin/purge"
}
}
}}}
That will only fix root MacPorts installations but that's better than
nothing and at least avoids us creating corrupted archives on our build
servers.
We could make the fix more specific and check first if the filesystem
where the files to be tarred are located is APFS.
--
Ticket URL: <https://trac.macports.org/ticket/67336#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list