Opened 6 years ago

Closed 6 years ago

#55789 closed defect (fixed)

py27-wxpython-3.0 @3.0.2.0: Checksum mismatch

Reported by: asoki Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: py-wxpython-3.0

Description

port install py27-wxpython-3.0 -v
--->  Computing dependencies for py27-wxpython-3.0
--->  Fetching distfiles for py27-wxpython-3.0
--->  Attempting to fetch wxPython-src-3.0.2.0.tar.bz2 from https://distfiles.macports.org/wxWidgets/3.0.2
--->  Verifying checksums for py27-wxpython-3.0                                      
Error: Checksum (rmd160) mismatch for wxPython-src-3.0.2.0.tar.bz2
Error: Checksum (sha256) mismatch for wxPython-src-3.0.2.0.tar.bz2
Error: Failed to checksum py27-wxpython-3.0: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-wxpython-3.0/py27-wxpython-3.0/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py27-wxpython-3.0 failed

the relevant part of the main log:

...
:debug:archivefetch archivefetch phase started at Mon Feb  5 14:19:53 CET 2018
:debug:archivefetch Executing org.macports.archivefetch (py27-wxpython-3.0)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Feb  5 14:19:53 CET 2018
:notice:fetch --->  Fetching distfiles for py27-wxpython-3.0
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 503, egid changed to 501.
:debug:fetch Executing org.macports.fetch (py27-wxpython-3.0)
:info:fetch --->  wxPython-src-3.0.2.0.tar.bz2 does not exist in /opt/local/var/macports/distfiles/wxWidgets/3.0.2
:notice:fetch --->  Attempting to fetch wxPython-src-3.0.2.0.tar.bz2 from https://distfiles.macports.org/wxWidgets/3.0.2
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Feb  5 14:20:01 CET 2018
:notice:checksum --->  Verifying checksums for py27-wxpython-3.0
:debug:checksum Executing org.macports.checksum (py27-wxpython-3.0)
:info:checksum --->  Checksumming wxPython-src-3.0.2.0.tar.bz2
:debug:checksum Calculated (rmd160) is 6ae920a192f482ec92de8539c8f957e1f427f9c4
:error:checksum Checksum (rmd160) mismatch for wxPython-src-3.0.2.0.tar.bz2
:info:checksum Portfile checksum: wxPython-src-3.0.2.0.tar.bz2 rmd160 8bdde810be33c7b5412812f69479b87dadcf7f64
:info:checksum Distfile checksum: wxPython-src-3.0.2.0.tar.bz2 rmd160 6ae920a192f482ec92de8539c8f957e1f427f9c4
:debug:checksum Calculated (sha256) is d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61
:error:checksum Checksum (sha256) mismatch for wxPython-src-3.0.2.0.tar.bz2
:info:checksum Portfile checksum: wxPython-src-3.0.2.0.tar.bz2 sha256 325d71fb4a62c81fdb36cf3dbc7d2c816df1a821b818fab80a9959a80b6e1df6
:info:checksum Distfile checksum: wxPython-src-3.0.2.0.tar.bz2 sha256 d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  6ae920a192f482ec92de8539c8f957e1f427f9c4 \
:info:checksum                     sha256  d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61
:error:checksum Failed to checksum py27-wxpython-3.0: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"
...

then i calculated the shasum of the downloaded file:

shasum -a256 /opt/local/var/macports/distfiles/wxWidgets/3.0.2/wxPython-src-3.0.2.0.tar.bz2 
d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61  /opt/local/var/macports/distfiles/wxWidgets/3.0.2/wxPython-src-3.0.2.0.tar.bz2

ls -l /opt/local/var/macports/distfiles/wxWidgets/3.0.2/wxPython-src-3.0.2.0.tar.bz2
-rw-r--r--  1 macports  wheel  58304944  5 Feb 14:20 /opt/local/var/macports/distfiles/wxWidgets/3.0.2/wxPython-src-3.0.2.0.tar.bz2

Change History (2)

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

Cc: mojca@… removed
Owner: set to mojca
Port: py-wxpython-3.0 added; py27-wxpython-3.0 removed
Status: newassigned

comment:2 Changed 6 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: assignedclosed

In fbedb6327c7c2fce3adaa8b163590dae15e37813/macports-ports:

py-wxpython-3.0: fix checksums (revert 925d4e8097)

Closes: #55789

Note: See TracTickets for help on using tickets.