Opened 7 years ago

Closed 7 years ago

#54784 closed defect (fixed)

axel @2.13.1: Checksum error

Reported by: rickyzhang82 (Ricky Zhang) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: axel

Description

I did update in Tiger 10.4 PPC. I encountered the following error:

--->  Computing dependencies for axel
--->  Fetching archive for axel
--->  Attempting to fetch axel-2.13.1_0.darwin_8.ppc.tbz2 from http://packages.macports.org/axel
--->  Attempting to fetch axel-2.13.1_0.darwin_8.ppc.tbz2 from http://sea.us.packages.macports.org/macports/packages/axel
--->  Attempting to fetch axel-2.13.1_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/axel
--->  Fetching distfiles for axel
--->  Attempting to fetch axel-2.13.1.tar.gz from https://github.com/eribertomota/axel/tarball/2.13.1
--->  Verifying checksums for axel
Error: Checksum (rmd160) mismatch for axel-2.13.1.tar.gz
Error: Checksum (sha256) mismatch for axel-2.13.1.tar.gz
Error: Failed to checksum axel: Unable to verify file checksums

Attachments (1)

main.log (4.2 KB) - added by rickyzhang82 (Ricky Zhang) 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by rickyzhang82 (Ricky Zhang)

Attachment: main.log added

comment:1 Changed 7 years ago by rickyzhang82 (Ricky Zhang)

I believe the culprit is openssl package. But I haven't figured it out how to fix it.

Version 0, edited 7 years ago by rickyzhang82 (Ricky Zhang) (next)

comment:2 Changed 7 years ago by rickyzhang82 (Ricky Zhang)

Finally, I got it all fixed. See my PR in https://github.com/kencu/TigerPorts/pull/4

comment:3 Changed 7 years ago by kencu (Ken)

Ricky mentions Tiger, but this port is currently broken for building on all systems, I believe.

I can confirm that Ricky's Portfile fixes axel on 10.4, 10.6, and 10.12.

Ricky - do you want to go ahead and submit a PR to MacPorts for this? In doing so, it will run Travis builds on 10.10, 10.11, and 10.12 to verify those systems as well.

Last edited 7 years ago by kencu (Ken) (previous) (diff)

comment:4 Changed 7 years ago by rickyzhang82 (Ricky Zhang)

My Intel Mac get the binary directly from macports. Thus it never build it from scratch.

I wonder how this works. I don't see this in MacPort documentation.

BTW, I don't mind send a PR to macports github. But what's the point if yours are for Tiger and only Tigers build it from scratch. I don't even notice axel is downloaded as binary in my Intel Mac.

comment:5 Changed 7 years ago by kencu (Ken)

Oh, I find the same problem trying to build axel on all my machines, when building from source. You do it like this, to force a build from source even if a binary exists: sudo port -v -s install axel . So it would be general fix for all of MacPorts.

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

Owner: set to ryandesign
Status: newaccepted
Summary: axel@2.13.1_0.darwin_8.ppc: Checksum erroraxel @2.13.1: Checksum error

Checksum mismatches will occur when projects move from one GitHub user or organization to another, as happened here when axel moved from the eribertomota user to the axel-download-accelerator organization.

If this problem is handled on its own (without a version update), it needs to be handled as a stealth update, not just by changing the checksums.

Since version 2.14 was just released, I'll instead fix it by updating the port to that version.

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

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