Opened 11 years ago

Closed 11 years ago

#40029 closed defect (fixed)

hub update to 1.10.6_0 fails with checksum error

Reported by: cdeil (Christoph Deil) Owned by: phw@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: maehne (Torsten Maehne)
Port: hub

Description

$ sudo port upgrade hub
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Computing dependencies for hub
--->  Fetching archive for hub
--->  Attempting to fetch hub-1.10.6_0.darwin_12.noarch.tbz2 from http://lil.fr.packages.macports.org/hub
--->  Attempting to fetch hub-1.10.6_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/hub
--->  Attempting to fetch hub-1.10.6_0.darwin_12.noarch.tbz2 from http://packages.macports.org/hub
--->  Fetching distfiles for hub
--->  Verifying checksums for hub
Error: Checksum (rmd160) mismatch for hub-1.10.6.tar.gz
Error: Checksum (sha256) mismatch for hub-1.10.6.tar.gz
Error: org.macports.checksum for port hub returned: Unable to verify file checksums

And here's the main.log file:

version:1
:msg:main --->  Computing dependencies for hub:info:main .:debug:main hub has no conflicts
:debug:main Searching for dependency: rb-rake
:debug:main Found Dependency: receipt exists for rb-rake
:debug:main Searching for dependency: git-core
:debug:main Found Dependency: receipt exists for git-core
:msg:main 
:debug:main Executing org.macports.main (hub)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Tue Aug  6 09:33:10 CEST 2013
:msg:archivefetch --->  Fetching archive for hub
:debug:archivefetch Executing org.macports.archivefetch (hub)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  hub-1.10.6_0.darwin_12.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch hub-1.10.6_0.darwin_12.noarch.tbz2 from http://lil.fr.packages.macports.org/hub
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch hub-1.10.6_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/hub
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch hub-1.10.6_0.darwin_12.noarch.tbz2 from http://packages.macports.org/hub
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Aug  6 09:33:11 CEST 2013
:notice:fetch --->  Fetching distfiles for hub
:debug:fetch Executing org.macports.fetch (hub)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue Aug  6 09:33:11 CEST 2013
:notice:checksum --->  Verifying checksums for hub
:debug:checksum Executing org.macports.checksum (hub)
:info:checksum --->  Checksumming hub-1.10.6.tar.gz
:error:checksum Checksum (rmd160) mismatch for hub-1.10.6.tar.gz
:info:checksum Portfile checksum: hub-1.10.6.tar.gz rmd160 8e05625ce832ffb572ced5f5090dcb6da423a985
:info:checksum Distfile checksum: hub-1.10.6.tar.gz rmd160 3904600cb58a3d895c373b4faecd73b774f4722d
:error:checksum Checksum (sha256) mismatch for hub-1.10.6.tar.gz
:info:checksum Portfile checksum: hub-1.10.6.tar.gz sha256 0403b6beb4f9a2da68a0b042f6921ae857513aff9237d37a9462432746db2d06
:info:checksum Distfile checksum: hub-1.10.6.tar.gz sha256 096b86ed9dd83db4bab5f10679feaac017f31aad11fb081b3607405a35e93711
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  3904600cb58a3d895c373b4faecd73b774f4722d \
                    sha256  096b86ed9dd83db4bab5f10679feaac017f31aad11fb081b3607405a35e93711
:error:checksum org.macports.checksum for port hub returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: targets not executed for hub: org.macports.install org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:checksum Please see the log file for port hub for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hub/hub/main.log

Attachments (1)

fix-ports-devel-hub-Portfile.patch (624 bytes) - added by maehne (Torsten Maehne) 11 years ago.
Patch to update checksums in hub Portfile

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: phw@… removed
Owner: changed from macports-tickets@… to phw@…

comment:2 Changed 11 years ago by maehne (Torsten Maehne)

Cc: Torsten.Maehne@… added

Cc Me!

Changed 11 years ago by maehne (Torsten Maehne)

Patch to update checksums in hub Portfile

comment:3 Changed 11 years ago by maehne (Torsten Maehne)

After updating the checksums in the hub Portfile (see the attached patch file), I was able to upgrade hub to 1.10.6.

comment:4 Changed 11 years ago by maehne (Torsten Maehne)

Could the proposed patch please be reviewed and committed?

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

Resolution: fixed
Status: newclosed

This was apparently already done in r109912.

Note: See TracTickets for help on using tickets.