#62511 closed defect (fixed)
py-tensorflow-hub: /usr/bin/gnutar: This does not look like a tar archive
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ||
Port: | py-tensorflow-hub |
Description
gzip: /opt/local/var/macports/distfiles/py-tensorflow-hub/tensorflow_hub-0.11.0-py2.py3-none-any.whl 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
Looks like this port downloads a file that it does not intend for MacPorts to extract. In that case clear extract.only
.
However, it was not discussed when this port was added why it downloads something precompiled rather than compiling it as is usual in MacPorts.
Change History (5)
comment:1 Changed 4 years ago by essandess (Steve Smith)
comment:2 follow-up: 4 Changed 4 years ago by essandess (Steve Smith)
Replying to ryandesign:
However, it was not discussed when this port was added why it downloads something precompiled rather than compiling it as is usual in MacPorts.
This Python wheel is just a bunch of Python files and scripts. It is not compiled.
comment:3 Changed 4 years ago by essandess (Steve Smith)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to essandess:
Please see https://github.com/macports/macports-ports/pull/10353
Thanks.
Replying to essandess:
Replying to ryandesign:
However, it was not discussed when this port was added why it downloads something precompiled rather than compiling it as is usual in MacPorts.
This Python wheel is just a bunch of Python files and scripts. It is not compiled.
Ok. Nevertheless, why do we download a wheel rather than package it ourselves like we normally do?
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
And can you please fix this in all of the other ports you added that have the same problem? For example, py-tf-slim is also affected but I did not check all of your other ports.
Please see https://github.com/macports/macports-ports/pull/10353