Opened 9 years ago

Closed 9 years ago

#49199 closed defect (fixed)

terminal-notifier: Checksum mismatch

Reported by: past (Panagiotis Astithas) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: terminal-notifier

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This is what I get after upgrading to El Capitan and doing a full upgrade of macports (all other ports were upgraded successfully):

$ sudo port clean --dist terminal-notifier
--->  Cleaning terminal-notifier
$ sudo port install terminal-notifier
--->  Fetching archive for terminal-notifier
--->  Attempting to fetch terminal-notifier-1.6.3_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/terminal-notifier 
--->  Attempting to fetch terminal-notifier-1.6.3_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/terminal-notifier 
--->  Attempting to fetch terminal-notifier-1.6.3_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/terminal-notifier 
--->  Fetching distfiles for terminal-notifier
--->  Attempting to fetch terminal-notifier-1.6.3.tar.gz from https://github.com/alloy/terminal-notifier/tarball/1.6.3 
--->  Verifying checksums for terminal-notifier
Error: Checksum (rmd160) mismatch for terminal-notifier-1.6.3.tar.gz
Error: Checksum (sha256) mismatch for terminal-notifier-1.6.3.tar.gz
Error: org.macports.checksum for port terminal-notifier returned: Unable to verify file checksums
Please see the log file for port terminal-notifier for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_terminal-notifier/terminal-notifier/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets 
Error: Processing of port terminal-notifier failed
$ cat `port file terminal-notifier`|grep 256
                sha256  02317d40f467b7fa87e24e1c3873cd21473608549be4c39f537897b64f360c4c
$ shasum -a 256 /opt/local/var/macports/distfiles/terminal-notifier/terminal-notifier-1.6.3.tar.gz 
78bed0b77f312d07cd80767030f7ac264e2ef86f79b74ea35eebccf5914fd9ae  /opt/local/var/macports/distfiles/terminal-notifier/terminal-notifier-1.6.3.tar.gz

Change History (2)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to raimue@…
Port: terminal-notifier added
Summary: Checksum mismatch for terminal-notifierterminal-notifier: Checksum mismatch

Looks like the terminal-notifier project has changed from author "alloy" to author "julienXX", which would be a reason for the checksums to change when using the default auto-generated tarballs, which this port does. This wouldn't happen if the release download were used ("github.tarball_from releases" and, in this case, "use_zip yes").

comment:2 Changed 9 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Thanks for the report.

The zip file attached to releases actually contains a binary app bundle, not the source code.

I switched to the new distfile location in r141375, adding a dist_subdir for the fetch.

Note: See TracTickets for help on using tickets.