Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#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)

main.log.gz (2.0 KB) - added by JohnFHall (John Hall) 2 months ago.
zsh build log
log.txt (9.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 2 months ago.
buildbot log

Download all attachments as: .zip

Change History (5)

Changed 2 months ago by JohnFHall (John Hall)

Attachment: main.log.gz added

zsh build log

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Owner: set to larryv
Status: newassigned

comment:2 Changed 2 months ago by jmroot (Joshua Root)

Last edited 2 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Attachment: log.txt added

buildbot log

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: assignedclosed
Summary: zsh fails extraction - tar: Ignoring malformed pax extended attributezsh @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).

Last edited 2 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.