[MacPorts] #67336: BSD tar can create corrupted archives on Catalina, Big Sur, Monterey, Ventura

MacPorts noreply at macports.org
Fri Oct 4 22:09:41 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
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 I'm not aware of a simplified test case. Per above comments, Kirill found
 that the pari port always exhibits the problem on GitHub Actions, so we
 did test builds in which we added code to the `pre-install` block, for
 example tarring the destroot with BSD tar and GNU tar with various options
 before and after running `purge` and checking the size of the resulting
 archives as a way to measure whether the problem had occurred. Additional
 tests could be run that way.

 `--no-read-sparse` is exactly the option added to `tar` in libarchive
 3.6.0 that I was talking about, which is not available in any version of
 macOS since it still uses an older version of libarchive.

-- 
Ticket URL: <https://trac.macports.org/ticket/67336#comment:39>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list