Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#68210 closed defect (invalid)

R-git2r @0.32.0: Unable to verify file checksums

Reported by: Alex11N Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: R-git2r

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dear Macports R-git2r port maintainer,

I was persistently getting a failed checksum response for this port even using sudo port upgrade outdate. The same thing happens when uninstalling R-git2r (0.31) and attempting to re-install. Please see port -v terminal output below. Now that I have uninstalled the port I cant re-install it, of course.

Note that all outdated ports including R-git2r dependencies (e.g., libgit2) upgrade normally.

Best regards,
Alex Newman

--->  Fetching distfiles for R-git2r
--->  Verifying checksums for R-git2r
--->  Checksumming git2r_0.32.0.tar.gz
Error: Checksum (rmd160) mismatch for git2r_0.32.0.tar.gz
Portfile checksum: git2r_0.32.0.tar.gz rmd160 04b78c61f97a9c384f5fc8dcc78c9c1f527f9928
Distfile checksum: git2r_0.32.0.tar.gz rmd160 071c7ae9a6a12e12d09a83086432b8b8fbb711fd
Error: Checksum (sha256) mismatch for git2r_0.32.0.tar.gz
Portfile checksum: git2r_0.32.0.tar.gz sha256 1b5d254c0c684a56751d26d482823d0006964eb1f55c558f365d037f5e984671
Distfile checksum: git2r_0.32.0.tar.gz sha256 16a3c44b5a1ef1a322246483d57568427cedb37d3a3d00f74c1891c1afca7b33
Error: Checksum (size) mismatch for git2r_0.32.0.tar.gz
Portfile checksum: git2r_0.32.0.tar.gz size 1345719
Distfile checksum: git2r_0.32.0.tar.gz size 1334631
The correct checksum line may be:
checksums           rmd160  071c7ae9a6a12e12d09a83086432b8b8fbb711fd \
                    sha256  16a3c44b5a1ef1a322246483d57568427cedb37d3a3d00f74c1891c1afca7b33 \
                    size    1334631
Error: Failed to checksum R-git2r: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_R_R-git2r/R-git2r/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (1)

Terminal output for successful R-git2r download and build.txt (37.7 KB) - added by Alex11N 8 months ago.
terminal output of successful port build of R-git2r

Download all attachments as: .zip

Change History (10)

comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: checksum failure 0.32 removed
Owner: set to barracuda156
Status: newassigned
Summary: R-git2r failing checksum on 'port upgrade outdated'R-git2r @0.32.0: Unable to verify file checksums

I do not see that problem here. Can you sudo port clean --all R-git2r and try again?

comment:2 Changed 8 months ago by barracuda156

I do not experience any issues either:

10:~ svacchanda$ sudo port clean R-git2r
--->  Cleaning R-git2r
10:~ svacchanda$ sudo port -v -n install R-git2r
--->  Computing dependencies for R-git2r.
--->  Fetching distfiles for R-git2r
--->  git2r_0.32.0.tar.gz does not exist in /opt/local/var/macports/distfiles/R-git2r
--->  Attempting to fetch git2r_0.32.0.tar.gz from http://distfiles.macports.org/R-git2r
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1314k  100 1314k    0     0   326k      0  0:00:04  0:00:04 --:--:--  326k
--->  Verifying checksums for R-git2r
--->  Checksumming git2r_0.32.0.tar.gz
--->  Extracting R-git2r
--->  Extracting git2r_0.32.0.tar.gz

comment:3 Changed 8 months ago by jmroot (Joshua Root)

It's possible there's one mirror having problems, but we need to know which mirror your download came from in that case.

comment:4 in reply to:  description Changed 8 months ago by barracuda156

Replying to Alex11N:

Dear Macports R-git2r port maintainer

Could you please do what Ryan suggests above and, if it still fails, share the complete log or at least the part where the mirror address is shown?

Changed 8 months ago by Alex11N

terminal output of successful port build of R-git2r

comment:5 Changed 8 months ago by Alex11N

Hello All,

Thank you all very much for your help. --all did the trick, please see the attached text file of terminal output.

The key line is --->  Removing temporary archives for R-git2r. There was something nasty in the woodwork, --all flushed it out. I hadn’t come across that arg to clean in the man page, I will go back and have a closer look.

--->  Cleaning R-git2r
--->  Removing distfiles for R-git2r
--->  Removing temporary archives for R-git2r
--->  Removing work directory for R-git2r

Rerunning sudo port (-v) install R-git2r went without a hitch, happily installed. I hadn’t come across that arg to clean in the man page, I will go back and have a closer look.

Best regards,
Alex.

Last edited 8 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 in reply to:  5 ; Changed 8 months ago by barracuda156

Replying to Alex11N:

Rerunning sudo port (-v) install R-git2r went without a hitch, happily installed.

Glad to hear.

  1. S. I guess, we can close the ticket.
Last edited 8 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 in reply to:  5 ; Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Replying to Alex11N:

I hadn’t come across that arg to clean in the man page, I will go back and have a closer look.

It's there!

https://man.macports.org/port-clean.1.html

comment:8 in reply to:  6 Changed 8 months ago by Alex11N

Replying to barracuda156:

Replying to Alex11N:

Rerunning sudo port (-v) install R-git2r went without a hitch, happily installed.

Glad to hear.

  1. S. I guess, we can close the ticket.

:). Yes, please close the ticket.

comment:9 in reply to:  7 Changed 8 months ago by Alex11N

Replying to ryandesign:

Replying to Alex11N:

I hadn’t come across that arg to clean in the man page, I will go back and have a closer look.

It's there!

https://man.macports.org/port-clean.1.html

Thanks for the link! I found in in the manpage too, but nice to have a browser version :).

Thanks, Alex.

Note: See TracTickets for help on using tickets.