#74231 closed defect (fixed)
zsh @5.9.1: fails extraction of documentation: tar: Ignoring malformed pax extended attribute
| Reported by: | JohnFHall (John Hall) | Owned by: | larryv (Lawrence Velázquez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.5 |
| Keywords: | leopard snowleopard lion mountainlion mavericks yosemite elcapitan sierra highsierra mojave | Cc: | jackh48@…, i0ntempest |
| Port: | zsh |
Description
:info:extract ---> Extracting zsh-5.9.1-doc.tar.xz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/zsh/zsh-5.9.1-doc.tar.xz' :debug:extract Environment: :debug:extract CC_PRINT_OPTIONS='YES' :debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/zsh-2b8adb1c/work/.CC_PRINT_OPTIONS' :debug:extract CPATH='/opt/local/include' :debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:extract LIBRARY_PATH='/opt/local/lib' :debug:extract MACOSX_DEPLOYMENT_TARGET='10.13' :debug:extract SOURCE_DATE_EPOCH='1784137592' :info:extract Executing: cd "/opt/local/var/macports/build/zsh-2b8adb1c/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zsh/zsh-5.9.1-doc.tar.xz' | /usr/bin/tar -xf - :debug:extract system: cd "/opt/local/var/macports/build/zsh-2b8adb1c/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zsh/zsh-5.9.1-doc.tar.xz' | /usr/bin/tar -xf - :info:extract tar: Ignoring malformed pax extended attribute :info:extract tar: Error exit delayed from previous errors. :info:extract Command failed: cd "/opt/local/var/macports/build/zsh-2b8adb1c/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/zsh/zsh-5.9.1-doc.tar.xz' | /usr/bin/tar -xf - :info:extract Exit code: 1 :error:extract Failed to extract zsh: command execution failed :debug:extract Error code: NONE :debug:extract Backtrace: command execution failed
Tried sudo port -s upgrade zsh extract.cmd=gtar but it got confused with gtar options. See main.log
Attachments (2)
Change History (5)
Changed 2 months ago by JohnFHall (John Hall)
| Attachment: | main.log.gz added |
|---|
comment:1 Changed 2 months ago by jmroot (Joshua Root)
| Owner: | set to larryv |
|---|---|
| Status: | new → assigned |
comment:2 Changed 2 months ago by jmroot (Joshua Root)
A workaround would be similar to [a2a496365fd28f09ada77017be92e7ff2565d708/macports-ports]
comment:3 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | i0ntempest added |
|---|---|
| Keywords: | leopard snowleopard lion mountainlion mavericks yosemite elcapitan sierra highsierra mojave added |
| Resolution: | → fixed |
| Status: | assigned → closed |
| Summary: | zsh fails extraction - tar: Ignoring malformed pax extended attribute → zsh @5.9.1: fails extraction of documentation: tar: Ignoring malformed pax extended attribute |
The portion of the log you posted in the ticket description shows the problem is with the documentation tar archive. Although you didn't share the entire log of that run, we have a log from the 10.14 buildbot that shows the same problem, and shows the source archive was not affected by this problem.
The log you did attach is from a different run in which you overrode the tar extraction command with one that won't work.
The port has already been updated to 5.9.2 which doesn't seem to have this problem.
I'm not certain whether the developers realize they had this problem with 5.9.1. They seem to use a mailing list rather than an issue tracker for bug reporting, and I don't see a bug about this reported there after a brief skimming of post titles. The 5.9.2 release notes say only that it contains "Only minor changes."
If this kind of problem occurs with any port in the future, please report the bug to the developers so that they can fix it by releasing a new version whose tar archive was produced in such a way that it does not preserve extended attributes (which are superfluous and problematic to older systems).

zsh build log