[MacPorts] #67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey, Ventura
MacPorts
noreply at macports.org
Tue May 2 07:10:05 UTC 2023
#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, ventura
Port: |
---------------------+-------------------------------------------------
Comment (by ryandesign):
Replying to [comment:8 catap]:
> Replying to [comment:7 jmroot]:
> > Does the suggestion to run `/usr/sbin/purge` first do anything for
you? That would suggest the bug is actually in the OS.
>
> I may easy reproduce it via MacPort's Github but I have no idea how can
I call `sudo /usr/sbin/purge` from Portfile's system call.
>
> So, I can't say does it help or not.
To test that, you could add this to the Portfile:
{{{
pre-install {
system "/usr/sbin/purge"
}
}}}
The install phase runs as root.
--
Ticket URL: <https://trac.macports.org/ticket/67336#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list