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

MacPorts noreply at macports.org
Thu May 4 10:14:45 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:19 l2dy]:
 > Replying to [comment:12 catap]:
 > > Replying to [comment:11 ryandesign]:
 > > > We do ''not'' have a mechanism for switching the compression method
 used for archives.
 > > Do you mean in general? Because
 > > {{{
 > > set portarchivetype xar
 > > }}}
 > > switched compression method to `xar` for a specified port.
 >
 > After your commit [4db7b54a39a4321cc9258a53231abcacca4998a6/macports-
 ports], the port always installs itself from source because the
 [https://github.com/macports/macports-
 ports/blob/4db7b54a39a4321cc9258a53231abcacca4998a6/_resources/port1.0/fetch/archive_sites.tcl#L57
 default archive_type] is `tbz2` and MacPorts base couldn't find .xar
 archives.

 Well.. at least it allows to build an archive which can be installed.
 Before this port might be broken, randomly :(

 Do you have better suggestion?

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


More information about the macports-tickets mailing list