Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44883 closed defect (fixed)

druntime: checksum mismatch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc:
Port: druntime

Description

Stealth update again. If you haven't already, you may want to get in touch with the developers of this software to explain to them why stealth updates are a bad idea.

$ sudo port -v checksum druntime
--->  Fetching distfiles for druntime
--->  druntime-2.066.tar.gz doesn't seem to exist in /Users/rschmidt/macports/distfiles/druntime/2.066_1
--->  Attempting to fetch druntime-2.066.tar.gz from https://github.com/D-Programming-Language/druntime/tarball/2.066
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   145    0   145    0     0    357      0 --:--:-- --:--:-- --:--:--   357
100  685k  100  685k    0     0   567k      0  0:00:01  0:00:01 --:--:-- 5863k
--->  Verifying checksums for druntime
--->  Checksumming druntime-2.066.tar.gz
Error: Checksum (rmd160) mismatch for druntime-2.066.tar.gz
Portfile checksum: druntime-2.066.tar.gz rmd160 1fd3f8f4c3752888d91dc65bf1190e7300880fe2
Distfile checksum: druntime-2.066.tar.gz rmd160 01bd1e18388b40f55b3d85307b64460966a3600c
Error: Checksum (sha256) mismatch for druntime-2.066.tar.gz
Portfile checksum: druntime-2.066.tar.gz sha256 8663b28043580cfa5e802ed96af2131f2f085d185e0f8d6cbea8b304ad2bc75c
Distfile checksum: druntime-2.066.tar.gz sha256 b35ce8a88db22ddf8d640ce8acf1325a7158925110572e3e661b76d92686f3b8
The correct checksum line may be:
checksums           rmd160  01bd1e18388b40f55b3d85307b64460966a3600c \
                    sha256  b35ce8a88db22ddf8d640ce8acf1325a7158925110572e3e661b76d92686f3b8
Error: Failed to checksum druntime: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_lang_druntime/druntime/main.log for details.
Error: Follow http://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port druntime failed

Change History (2)

comment:1 Changed 10 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Ryan, thanks for reporting. Done in r125109. I joined one of the email lists and posted a suggestion to avoid stealth updates.

$ diff -u work/druntime-2.066/mak/MANIFEST /tmp/druntime-2.066.0-1/mak/MANIFEST 
--- work/druntime-2.066/mak/MANIFEST	2014-09-04 22:02:41.000000000 +0900
+++ /tmp/druntime-2.066.0-1/mak/MANIFEST	2014-08-28 22:38:34.000000000 +0900
@@ -119,7 +119,6 @@
 	src\core\sys\posix\signal.d \
 	src\core\sys\posix\stdio.d \
 	src\core\sys\posix\stdlib.d \
-	src\core\sys\posix\syslog.d \
 	src\core\sys\posix\termios.d \
 	src\core\sys\posix\time.d \
 	src\core\sys\posix\ucontext.d \

comment:2 Changed 10 years ago by tenomoto (Takeshi Enomoto)

The DMD developers responded and one of the reminded me of the difference between the 2.066 branch and the 2.066.0 release. The 2.066 branch is kept updated and the 2.066.0 release is immutable. The github.setup line should have been

github.setup        D-Programming-Language druntime 2.066.0 v

I'll switch from the branch to the tag from the next release.

Note: See TracTickets for help on using tickets.