Opened 13 years ago

Closed 13 years ago

#29995 closed defect (fixed)

dialog @1.1-20110302 (devel) +mismatch in checksum for dialog.tar.gz

Reported by: georg@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: dialog

Description

When i try to install dialog i get the following error:

$ sudo port install dialog
--->  Computing dependencies for dialog
--->  Verifying checksum(s) for dialog
Error: Checksum (md5) mismatch for dialog.tar.gz
Error: Checksum (sha1) mismatch for dialog.tar.gz
Error: Checksum (rmd160) mismatch for dialog.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for dialog is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dialog/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Output from the file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dialog/main.log:

$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dialog/main.log
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_0 exists in the ports tree
:debug:main ncurses 5.9_0  is the latest installed
:debug:main ncurses 5.9_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
:debug:main OS darwin/10.7.4 (Mac OS X 10.6) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! ncurses 5.9_0 >= ncurses 5.9_0
:msg:main --->  Computing dependencies for dialog:info:main .:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:msg:main 
:debug:main Executing org.macports.main (dialog)
:debug:main Skipping completed org.macports.fetch (dialog)
:msg:main --->  Verifying checksum(s) for dialog
:debug:checksum checksum phase started at Fri Jul  1 11:09:13 CEST 2011
:debug:checksum Executing org.macports.checksum (dialog)
:info:checksum --->  Checksumming dialog.tar.gz
:error:checksum Checksum (md5) mismatch for dialog.tar.gz
:info:checksum Portfile checksum: dialog.tar.gz md5 2eaa82055b86006e205d2c3f74d9b800
:info:checksum Distfile checksum: dialog.tar.gz md5 a7912999a985bf58ce00b222bd902afd
:error:checksum Checksum (sha1) mismatch for dialog.tar.gz
:info:checksum Portfile checksum: dialog.tar.gz sha1 ba4e79abaf579e0d23f247ae65196437f8d8e031
:info:checksum Distfile checksum: dialog.tar.gz sha1 65a9a145a48d578a5b8ed5959c33f29974a1d4dc
:error:checksum Checksum (rmd160) mismatch for dialog.tar.gz
:info:checksum Portfile checksum: dialog.tar.gz rmd160 3dfcdb674f8d3f91f48984b9bea31574faeddf64
:info:checksum Distfile checksum: dialog.tar.gz rmd160 6f8cc9830732331ae4813b5d48a94b66321a754c
:info:checksum The correct checksum line may be:
:info:checksum checksums           md5     a7912999a985bf58ce00b222bd902afd \
                    sha1    65a9a145a48d578a5b8ed5959c33f29974a1d4dc \
                    rmd160  6f8cc9830732331ae4813b5d48a94b66321a754c
:error:checksum Target org.macports.checksum returned: Unable to verify file checksums
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: the following items did not execute (for dialog): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:checksum Log for dialog is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dialog/main.log

Versions of my OS:

$ uname -a
Darwin xxx 10.7.4 Darwin Kernel Version 10.7.4: Mon Apr 18 21:24:17 PDT 2011; root:xnu-1504.14.12~3/RELEASE_X86_64 x86_64

Thanks!

Attachments (1)

dialog-1.1-20110630.diff (1.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

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

Cc: ryandesign@… added; jwa@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to jwa@…

Here's a patch to update the port to the latest version and prevent this problem from ever happening again (by no longer using an unversioned distfile). The patch also fixes the livecheck so it actually tells you what newer version is available, not just that some unspecified newer version might be available.

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: dialog-1.1-20110630.diff added

proposed patch

comment:2 Changed 13 years ago by georg@…

It works!

Thank you for the quick reply.

comment:3 Changed 13 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

Done in r80056, thanks for the patch!

Note: See TracTickets for help on using tickets.