#67650 closed defect (fixed)

afscompress @1.7.2: wrong worksrcdir

Reported by: mascguy (Christopher Nielsen) Owned by: ylluminarious (George Plymale II)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: haspatch Cc:
Port: afscompress

Description

Details (absolute paths truncated for readability):

Executing:  cd ".../afscompress/work" && /usr/bin/gzip -dc '.../distfiles/afscompress/e634ca58b4821d9f3d560cdc6df5dec02ffc93fd.tar.gz' | /usr/bin/tar -xf -

Error: Failed to extract afscompress: symlink:
.../afscompress/work/afsctool-1.7.2/src/private/lzfse -> .../afscompress/work/lzfse-e634ca58b4821d9f3d560cdc6df5dec02ffc93fd:
no such file or directory

Change History (3)

comment:1 Changed 11 months ago by mascguy (Christopher Nielsen)

Summary: afscompress: extract fails for ventura armafscompress: extract fails for ventura arm: symlink: no such file or directory

comment:2 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; ventura arm64 removed
Summary: afscompress: extract fails for ventura arm: symlink: no such file or directoryafscompress @1.7.2: wrong worksrcdir

The issue is not OS version or architecture specific; it's the removal of the automatic worksrcdir symlinking in MacPorts 2.8.1 and later. Fixed by updating to the latest version and using "github.tarball_from archive" whose extracted directory name is already correct without requiring any renaming or symlinking.

https://github.com/macports/macports-ports/pull/19136

comment:3 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 85949926bf7818e41a0de59ebdf23e88ebe95f4f/macports-ports (master):

afscompress: Update to 1.7.3

Set supported OS versions in platforms variable rather than doing it
manually.

Remove "universal_variant yes" which is the default.

Remove modeline because the whitespace does not conform to it.

Use "github.tarball_from archive" so that the worksrcdir does not have
to be changed with each update as of MacPorts 2.8.1.

Closes: #67650

Note: See TracTickets for help on using tickets.