Opened 9 years ago

Closed 9 years ago

#32320 closed defect (fixed)

geant4 fails to build with Error: Checksum for G4ABLA.3.0.tar.gz

Reported by: jb.morgado@… Owned by: cristiano.fontana@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: checksum Cc: ryandesign (Ryan Schmidt)
Port: geant4

Description

Hi, geant4 is failing to build complaining of a checksum error in G4ABLA.3.0.tar.gz file.

I tried to re-download the file more than once always with the same error.

:info:checksum --->  Checksumming G4ABLA.3.0.tar.gz
:error:checksum Checksum (md5) mismatch for G4ABLA.3.0.tar.gz
:info:checksum Portfile checksum: G4ABLA.3.0.tar.gz md5 d2d4e99b14f7a5057f4c10d9c2d647dd
:info:checksum Distfile checksum: G4ABLA.3.0.tar.gz md5 d7049166ef74a592cb97df0ed4b757bd
:error:checksum Checksum (sha1) mismatch for G4ABLA.3.0.tar.gz
:info:checksum Portfile checksum: G4ABLA.3.0.tar.gz sha1 5f38676f1650a508e49d35f9405ac96984388135
:info:checksum Distfile checksum: G4ABLA.3.0.tar.gz sha1 503621fd99150ca2623299031d2df0d3d1d0cf81
:error:checksum Checksum (rmd160) mismatch for G4ABLA.3.0.tar.gz
:info:checksum Portfile checksum: G4ABLA.3.0.tar.gz rmd160 5a032ee8e90d00f39b67114fe257ec47001f347b
:info:checksum Distfile checksum: G4ABLA.3.0.tar.gz rmd160 656b10fc9d8022e89e99a728576d0b502161aa69
:info:checksum The correct checksum line may be:
                    G4ABLA.3.0.tar.gz \
                    md5     d7049166ef74a592cb97df0ed4b757bd \
                    sha1    503621fd99150ca2623299031d2df0d3d1d0cf81 \
                    rmd160  656b10fc9d8022e89e99a728576d0b502161aa69 \

Change History (2)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to cristiano.fontana@…

G4ABLA.3.0.tar.gz was stealth-updated on November 24. Comparing the original file on distfiles.macports.org with the revised file on geant4.cern.ch, though the gz files differ, and the tar files inside differ, their contents does not. So I think we should just modify the port to fetch the file from our mirrors, until such a time as upstream releases a new version of G4ABLA that actually contains changes. This will be simpler than introducing dist_subdir into the port (since the port has so many distfiles).

Workaround for now: Download G4ABLA.3.0.tar.gz from http://distfiles.macports.org/geant4/ and place it in /opt/local/var/macports/distfiles/geant4, then try installing geant4 again.

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r87637. This should be undone in the future if a new version of G4ABLA is released and the port is updated to use that version.

Note: See TracTickets for help on using tickets.