Opened 5 weeks ago

Closed 3 weeks ago

#70576 closed defect (fixed)

asprint @0.5.0: Failed to fetch asprint: Git clone failed

Reported by: barracuda156 Owned by: sepp@…
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: haspatch Cc:
Port: asprint

Description

svacchanda@43-200 macports-ports-powerpc % sudo port -v install asprint
Password:
--->  Computing dependencies for asprint.
--->  Fetching archive for asprint
--->  asprint-0.5.0_1.darwin_23.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch asprint-0.5.0_1.darwin_23.arm64.tbz2 from https://packages.macports.org/asprint
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   126    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch asprint-0.5.0_1.darwin_23.arm64.tbz2 from https://nue.de.packages.macports.org/asprint
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   291    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
--->  Attempting to fetch asprint-0.5.0_1.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/asprint
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Fetching distfiles for asprint
Cloning into '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_asprint/asprint/work/asprint-0.5.0'...
fatal: repository 'http://hasseg.org/git-public/asprint.git/' not found
Command failed: /usr/bin/git clone --progress http://hasseg.org/git-public/asprint.git /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_asprint/asprint/work/asprint-0.5.0 2>&1
Exit code: 128
Error: Failed to fetch asprint: Git clone failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_asprint/asprint/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port asprint failed

Change History (4)

comment:1 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to sepp@…
Status: newassigned
Summary: asprint fails to fetchasprint @0.5.0: Failed to fetch asprint: Git clone failed

According to the project's web site, the code is now at https://github.com/ali-rantakari/asprint.

But this situation (a git server disappears) exemplifies why we don't want ports to fetch from git servers. Now that the software is at GitHub, that can be avoided by using the facilities of the github 1.0 portgroup.

comment:2 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

There are no tags in that repository (https://github.com/ali-rantakari/asprint/issues/2) so we have to continue to fetch using the git hash (but can use an automatically generated tarball instead of using the git repository). We can't use the release asset on the web site (http://hasseg.org/asprint/0.5.0/asprint-v0.5.0.zip) because it only contains the compiled program and related files, not the source code.

comment:3 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

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

sepp, since you haven't marked this port openmaintainer, your permission (or a 72-hour timeout) is required to merge that PR. If you approve, or if you'd like to add openmaintainer or if you no longer wish to maintain this port let us know.

comment:4 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 45c2dd90806de8773fe607d87b142797e3764ef8/macports-ports (master):

asprint: Fetch from GitHub tarball instead of git rep

Closes: #70576

Note: See TracTickets for help on using tickets.