Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56112 closed defect (fixed)

Checksum mismatch for texshopsource399.zip

Reported by: mcmara (Jack McMara) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: Texshop3

Description

I'm getting the following (concerning?) error while trying to upgrade/install Texshop3:

$ sudo port selfupdate
Password:
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.4.2 installed,
MacPorts base version 2.4.2 downloaded.
--->  Updating the ports tree
$ sudo port clean Texshop3
--->  Cleaning TeXShop3
$ sudo port upgrade Texshop3
--->  Computing dependencies for TeXShop3
--->  Fetching archive for TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from http://her.gr.packages.macports.org/TeXShop3
--->  Fetching distfiles for TeXShop3
--->  Verifying checksums for TeXShop3
Error: Checksum (rmd160) mismatch for texshopsource399.zip
Error: Checksum (sha256) mismatch for texshopsource399.zip
Error: Failed to checksum TeXShop3: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_aqua_TeXShop3/TeXShop3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

My system:

$ uname -a
Darwin wvrtc-imac-gm1.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64
$ port version
Version: 2.4.2

Attachments (1)

main.log (3.9 KB) - added by mcmara (Jack McMara) 6 years ago.
Log file

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by mcmara (Jack McMara)

Attachment: main.log added

Log file

comment:1 Changed 6 years ago by Schamschula (Marius Schamschula)

Hmm. It worked for me less than an hour ago. Checking...

comment:2 Changed 6 years ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Status: newassigned

comment:3 Changed 6 years ago by Schamschula (Marius Schamschula)

I have verified that the current checksums are correct.

There is something amiss in your download process.

Try a manual download from http://pages.uoregon.edu/koch/texshop/texshop-64/texshopsource399.zip

and then move the file in place

sudo mv texshopsource399.zip /opt/local/var/macports/distfiles/TeXShop/

Now things should work.

comment:4 Changed 6 years ago by mcmara (Jack McMara)

Thanks for the feedback. I'm still having the same problem. In fact, the file at oregon.edu and the one in my macport folder have the same checksum, which is different from the one included into the port file:

[tmp]$ cd /tmp/

[tmp]$ sudo rm /opt/local/var/macports/distfiles/TeXShop/texshopsource399.zip 
Password:

[tmp]$ sudo port clean TeXShop3 
--->  Cleaning TeXShop3

[tmp]$ sudo port install TeXShop3 
--->  Computing dependencies for TeXShop3
--->  Fetching archive for TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from http://her.gr.packages.macports.org/TeXShop3
--->  Fetching distfiles for TeXShop3
--->  Attempting to fetch texshopsource399.zip from http://pages.uoregon.edu/koch/texshop/texshop-64
--->  Verifying checksums for TeXShop3                                               
Error: Checksum (rmd160) mismatch for texshopsource399.zip
Error: Checksum (sha256) mismatch for texshopsource399.zip
Error: Failed to checksum TeXShop3: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_aqua_TeXShop3/TeXShop3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port TeXShop3 failed

[tmp]$ wget http://pages.uoregon.edu/koch/texshop/texshop-64/texshopsource399.zip
--2018-03-20 15:12:30--  http://pages.uoregon.edu/koch/texshop/texshop-64/texshopsource399.zip
<... snip ...>
2018-03-20 15:12:55 (4.11 MB/s) - ‘texshopsource399.zip’ saved [109357149/109357149]

[tmp]$ openssl dgst -rmd160 /opt/local/var/macports/distfiles/TeXShop/texshopsource399.zip 
RIPEMD160(/opt/local/var/macports/distfiles/TeXShop/texshopsource399.zip)= c545b10305bb7c5f3d63d38e4766a529b5ebd421

[tmp]$ openssl dgst -rmd160 texshopsource399.zip 
RIPEMD160(texshopsource399.zip)= c545b10305bb7c5f3d63d38e4766a529b5ebd421

[tmp]$ cat /opt/local//var/macports/sources/sea.us.rsync.macports.org/release/tarballs/ports//aqua/TeXShop3/Portfile | grep md160
checksums           rmd160  44b2e2f90665511727775d7f42b6537a33a915d1 \

Just in case, here it the result by placing manually the downloaded file into macport (as expected):

[tmp]$ sudo mv texshopsource399.zip /opt/local/var/macports/distfiles/TeXShop/ 
Password:

[tmp]$ sudo port clean TeXShop3 
--->  Cleaning TeXShop3

[tmp]$ sudo port install TeXShop3 
--->  Computing dependencies for TeXShop3
--->  Fetching archive for TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/TeXShop3
--->  Attempting to fetch TeXShop3-3.99_0.darwin_16.x86_64.tbz2 from http://her.gr.packages.macports.org/TeXShop3
--->  Fetching distfiles for TeXShop3
--->  Verifying checksums for TeXShop3
Error: Checksum (rmd160) mismatch for texshopsource399.zip
Error: Checksum (sha256) mismatch for texshopsource399.zip
Error: Failed to checksum TeXShop3: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_aqua_TeXShop3/TeXShop3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port TeXShop3 failed

comment:5 Changed 6 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In d1abde9d3a8e43877ba950aa20257d6297c44fb3/macports-ports:

TeXShop3 3.99: stealth update

Closes: #56112

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

Keywords: checksum mismatch removed
Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.