Opened 3 years ago

Closed 3 years ago

#62686 closed defect (fixed)

scrcpy: /usr/bin/gnutar: This does not look like a tar archive

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcelBochtler (Marcel Bochtler)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: scrcpy

Description

https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/49928/steps/install-port/logs/stdio

gzip: /opt/local/var/macports/distfiles/scrcpy/scrcpy-server-v1.17 has more than one entry--rest ignored
/usr/bin/gnutar: This does not look like a tar archive
/usr/bin/gnutar: Skipping to next header
/usr/bin/gnutar: Error exit delayed from previous errors

Also, the filename does not have an extension, which is unusual.

Change History (2)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

It looks like not having an extension, while unusual, is correct for this file, according to how upstream released it.

If you did not intend for MacPorts to try to extract it, exclude it from extract.only, for example by listing only the other distfiles in extract.only. A simple way would be to add this line before the distfiles-append line:

extract.only ${distfiles}

comment:2 Changed 3 years ago by Marcel Bochtler <marcel.bochtler@…>

Resolution: fixed
Status: assignedclosed

In 08cb402c0f07860aa4dfd5819d8db277f6456e5c/macports-ports (master):

scrcpy: Fix issue that gzip tries to unzip binary

Closes: #62686

Note: See TracTickets for help on using tickets.