kornelski / pngquant

Lossy PNG compressor — pngquant command based on libimagequant library
https://pngquant.org
Other
5.25k stars 486 forks source link

tar error while installing with brew on macos #398

Closed dadarara closed 1 year ago

dadarara commented 1 year ago

getting the "tar: Ignoring malformed pax extended attribute" error while installing with brew on macos 10.14.6

is it me or some issue with the tar pkg ?

==> Fetching pngquant ==> Downloading https://pngquant.org/pngquant-2.17.0-src.tar.gz ######################################################################## 100.0% tar: Ignoring malformed pax extended attribute tar: Error exit delayed from previous errors. Error: Failure while executing; tar --extract --no-same-owner --file /Users/david/Library/Caches/Homebrew/downloads/d018d8c93de0570adfb0fe67c942ba63ca57cfbcb32251ab7bec561df73157d3--pngquant-2.17.0-src.tar.gz --directory /private/tmp/d20221220-61069-oouep0 exited with 1. Here's the output: tar: Ignoring malformed pax extended attribute tar: Error exit delayed from previous errors.

kornelski commented 1 year ago

It works for me with macOS's unarchiver, and IIRC I've created the archive with brew's own gnutar.

dadarara commented 1 year ago

would be great if you can post HOW to for someone "commands via terminal" challenged.
I have succeeded to install but outside homebrew. but now brew doesn't recognize it . and I actually need the pngquant for thee OCRmyPDF installation. So thats where it fails with pngquant as dependency install

kornelski commented 1 year ago

I think that's something homebrew would need to fix.