[MacPorts] #67336: tar on Ventura is broken, what shall we do?

MacPorts noreply at macports.org
Sun Apr 30 21:55:52 UTC 2023


#67336: tar on Ventura is broken, what shall we do?
---------------------+--------------------
  Reporter:  catap   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  High    |  Milestone:
 Component:  base    |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by catap):

 Replying to [comment:3 jmroot]:
 > That issue is from early 2021 and references a report from 2020, so it
 can't possibly be specific to Ventura. Anyway, the tl;dr appears to be
 that bsdtar handles sparse files differently than gnutar.

 I disagree with you. I've found at least one example of such a binary
 package. When I use `/usr/bin/tar` from MacOS 13, I can't decompress it
 either:
 {{{
 catap at Mac-mini pari % curl -O
 https://packages.macports.org/pari/pari-2.13.4_0.darwin_22.x86_64.tbz2
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 1220k  100 1220k    0     0  2685k      0 --:--:-- --:--:-- --:--:--
 2706k
 catap at Mac-mini pari % /usr/bin/tar --version
 bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
 catap at Mac-mini pari % /usr/bin/tar xzf pari-2.13.4_0.darwin_22.x86_64.tbz2
 catap at Mac-mini pari % hexdump opt/local/lib/libpari.dylib | head
 0000000 0000 0000 0000 0000 0000 0000 0000 0000
 *
 0600000 0001 5500 5741 5641 5541 5441 5053 8949
 0600010 e8f7 da3c ffff 8949 48c6 1d8d 8e28 000a
 0600020 2b8b 03c7 0001 0000 20bf 0000 e800 9f7a
 0600030 0000 8949 89c4 852b 75ed 4819 058d 8e0a
 0600040 000a 3883 7400 8b0d c738 0000 0000 e800
 0600050 9fbe 0000 854d 75e4 bf0c 0020 0000 c031
 0600060 dfe8 f5ce 49ff 44c7 0824 000b 0000 8b49
 0600070 4807 e8c1 8339 02f8 4f74 bd48 0000 0000
 catap at Mac-mini pari %
 }}}

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


More information about the macports-tickets mailing list