Opened 6 years ago

Closed 6 years ago

#56772 closed defect (fixed)

shards @0.8.1-devel: fetch failure

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: conradwt (Conrad Taylor)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: shards

Description

There does not appear to be a version "0.8.1-devel" of this software on GitHub:

--->  Fetching distfiles for shards
--->  Attempting to fetch shards-0.8.1-devel.tar.gz from https://distfiles.macports.org/shards
--->  Attempting to fetch shards-0.8.1-devel.tar.gz from https://github.com/crystal-lang/shards/tarball/v0.8.1-devel
Error: Failed to fetch shards: The requested URL returned error: 404 Not Found

There is a version "0.8.1". Is that what you meant?

Attachments (1)

fix-shards.diff (843 bytes) - added by mohd-akram (Mohamed Akram) 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by mohd-akram (Mohamed Akram)

Attachment: fix-shards.diff added

comment:1 Changed 6 years ago by mohd-akram (Mohamed Akram)

It looks like a mistake. I've added a patch that I'm using to fix it locally, but version 0.8.1 < 0.8.1-devel it seems so not sure how to fix that.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

You have to add an epoch line (just after the github.setup line).

epoch      1

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

There is no v0.8.1-devel tag in the git repository, so how did you ever manage to get the port installed with that version? It should not have been possible.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

No need for the epoch since this port is not possible to build.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

This patch fails at staging for me.

:info:destroot /usr/bin/install -m 0755 -t "/opt/local/var/macports/build/_opt_mports_macports-ports_devel_shards/shards/work/destroot/opt/local/bin" bin/shards
:info:destroot /usr/bin/install: illegal option -- t
:info:destroot usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
:info:destroot                [-o owner] file1 file2
:info:destroot        install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
:info:destroot                [-o owner] file1 ... fileN directory
:info:destroot        install -d [-v] [-g group] [-m mode] [-o owner] directory ...
:info:destroot make: *** [install] Error 64

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

comment:7 Changed 6 years ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.