Opened 14 years ago

Closed 14 years ago

#22524 closed defect (fixed)

MacVim-7.2.snapshot50 checksum fails

Reported by: srinath@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: MacVim

Description (last modified by jmroot (Joshua Root))

DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port p5-locale-gettext.
DEBUG: Requested variant i386 is not provided by port p5-locale-gettext.
DEBUG: Requested variant macosx is not provided by port p5-locale-gettext.
DEBUG: No need to upgrade! p5-locale-gettext 1.05_0 >= p5-locale-gettext 1.05_0
DEBUG: No need to upgrade! help2man 1.36.4_1 >= help2man 1.36.4_1
DEBUG: No need to upgrade! autoconf 2.64_2 >= autoconf 2.64_2
--->  Computing dependencies for MacVim
DEBUG: Searching for dependency: unzip
DEBUG: Didn't find receipt, going to depspec regex for: unzip
DEBUG: Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
DEBUG: Searching for dependency: ncurses
DEBUG: Found Dependency: receipt exists for ncurses
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Searching for dependency: ctags
DEBUG: Found Dependency: receipt exists for ctags
DEBUG: Searching for dependency: gnutar
DEBUG: Found Dependency: receipt exists for gnutar
DEBUG: Searching for dependency: grep
DEBUG: Didn't find receipt, going to depspec regex for: grep
DEBUG: Found Dependency: path: /usr/bin filename: grep regex: ^grep$
DEBUG: Searching for dependency: autoconf
DEBUG: Found Dependency: receipt exists for autoconf
DEBUG: Executing org.macports.main (MacVim)
--->  Fetching MacVim
DEBUG: Executing org.macports.fetch (MacVim)
--->  MacVim-7.2.snapshot50.zip doesn't seem to exist in /opt/local/var/macports/distfiles/MacVim
DEBUG: Pinging repo.or.cz...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: Pinging aarnet.au.distfiles.macports.org...
DEBUG: repo.or.cz ping time is 10000
DEBUG: distfiles.macports.org ping time is 10000
DEBUG: arn.se.distfiles.macports.org ping time is 10000
DEBUG: aarnet.au.distfiles.macports.org ping time is 10000
--->  Attempting to fetch MacVim-7.2.snapshot50.zip from http://repo.or.cz/w/MacVim.git?a=snapshot;h=snapshot-50;sf=zip;foo=
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.5M    0 12.5M    0     0   852k      0 --:--:--  0:00:15 --:--:-- 1137k
--->  Verifying checksum(s) for MacVim
DEBUG: Executing org.macports.checksum (MacVim)
--->  Checksumming MacVim-7.2.snapshot50.zip
Error: Checksum (md5) mismatch for MacVim-7.2.snapshot50.zip
Portfile checksum: MacVim-7.2.snapshot50.zip md5 ac2bde597bc455e9bbdc13a582647a2d
Distfile checksum: MacVim-7.2.snapshot50.zip md5 0d103997373b27241543cdd8cb69d10e
Error: Checksum (sha1) mismatch for MacVim-7.2.snapshot50.zip
Portfile checksum: MacVim-7.2.snapshot50.zip sha1 c58fe52d162e53dcd125180a0138748c3e2d0195
Distfile checksum: MacVim-7.2.snapshot50.zip sha1 762dbdef01f64c60b733aa9c3a824c94b8c2a6dc
Error: Checksum (rmd160) mismatch for MacVim-7.2.snapshot50.zip
Portfile checksum: MacVim-7.2.snapshot50.zip rmd160 8c5fe73de7e0580312d313c3f0bc478fd4b2d5b0
Distfile checksum: MacVim-7.2.snapshot50.zip rmd160 fd8a1223bc7954b67a7de9898b810227909799b2
The correct checksum line may be:
checksums           md5     0d103997373b27241543cdd8cb69d10e \
                    sha1    762dbdef01f64c60b733aa9c3a824c94b8c2a6dc \
                    rmd160  fd8a1223bc7954b67a7de9898b810227909799b2
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for MacVim): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Attachments (1)

macvim-diff.txt.gz (130.2 KB) - added by kuperman@… 14 years ago.
diff between xxd of tar of unziped source files

Download all attachments as: .zip

Change History (10)

comment:1 Changed 14 years ago by srinath@…

oops sorry about the formatting.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: checksum macvim removed
Owner: changed from macports-tickets@… to raimue@…
Port: MacVim added; macvim removed

comment:3 Changed 14 years ago by raimue (Rainer Müller)

Status: newassigned

comment:4 Changed 14 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

Thanks for the report, fixed in r60488.

comment:5 Changed 14 years ago by srinath@…

How does one now use the fixed version? I did a "sudo port -d seflupdate", but "sudo port -d install macvim" gives the same checksum error.

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

You have to wait up to an hour for the changes to sync. It should work for you now.

comment:7 in reply to:  6 Changed 14 years ago by kuperman@…

Replying to macsforever2000@…:

You have to wait up to an hour for the changes to sync. It should work for you now.

So, I just selfupdated and synced and got

--->  Computing dependencies for MacVim
--->  Fetching MacVim
--->  Attempting to fetch MacVim-7.2.snapshot50.zip from http://distfiles.macports.org/MacVim
--->  Attempting to fetch MacVim-7.2.snapshot50.zip from http://arn.se.distfiles.macports.org/MacVim
--->  Verifying checksum(s) for MacVim
Error: Checksum (md5) mismatch for MacVim-7.2.snapshot50.zip
Error: Checksum (sha1) mismatch for MacVim-7.2.snapshot50.zip
Error: Checksum (rmd160) mismatch for MacVim-7.2.snapshot50.zip
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.

and with detail

--->  Verifying checksum(s) for MacVim
DEBUG: Executing org.macports.checksum (MacVim)
--->  Checksumming MacVim-7.2.snapshot50.zip
Error: Checksum (md5) mismatch for MacVim-7.2.snapshot50.zip
Portfile checksum: MacVim-7.2.snapshot50.zip md5 0d103997373b27241543cdd8cb69d10e
Distfile checksum: MacVim-7.2.snapshot50.zip md5 ac2bde597bc455e9bbdc13a582647a2d
Error: Checksum (sha1) mismatch for MacVim-7.2.snapshot50.zip
Portfile checksum: MacVim-7.2.snapshot50.zip sha1 762dbdef01f64c60b733aa9c3a824c94b8c2a6dc
Distfile checksum: MacVim-7.2.snapshot50.zip sha1 c58fe52d162e53dcd125180a0138748c3e2d0195
Error: Checksum (rmd160) mismatch for MacVim-7.2.snapshot50.zip
Portfile checksum: MacVim-7.2.snapshot50.zip rmd160 fd8a1223bc7954b67a7de9898b810227909799b2
Distfile checksum: MacVim-7.2.snapshot50.zip rmd160 8c5fe73de7e0580312d313c3f0bc478fd4b2d5b0
The correct checksum line may be:
checksums           md5     ac2bde597bc455e9bbdc13a582647a2d \
                    sha1    c58fe52d162e53dcd125180a0138748c3e2d0195 \
                    rmd160  8c5fe73de7e0580312d313c3f0bc478fd4b2d5b0
Error: Target org.macports.checksum returned: Unable to verify file checksums

The original report shows that the download was from "repo.or.cz" and mine was from "arn.se.distfiles.macports.org". After manually downloading both of these, I can confirm that they have differing checksums. I can't track down the source of the checksum mismatch other than the differing file sizes (possibly due to different compression ratios?).

%  ls -l */*MacVim*.zip
-rw-r--r--  1 kuperman  wheel  14983213 Oct 11 04:38 arn.se.distfiles.macports.org/MacVim-7.2.snapshot50.zip
-rw-r--r--  1 kuperman  wheel  13195383 Nov 16 10:56 repo.or.cz/MacVim-7.2.snapshot50.zip

"diff -r" of the unpacked zip reports no changes, "ls -laR" has no differing files or timestamps, and a find/md5 of all the files contained within also reports no changes. If I unzip, tar up the results, send them through xxd, and then diff I get the attached file listing difference, none of which appear malicious to me (but I don't know enough about the structure of tar files to say for certain).

Summing up, it looks like there are two slightly different version of the zipfile out there, so some folks are going to encounter checksum problems either way. Is there a way to force it to try a particular repository first?

Changed 14 years ago by kuperman@…

Attachment: macvim-diff.txt.gz added

diff between xxd of tar of unziped source files

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: closedreopened

Confirmed, it's not on distfiles because of the mismatch.

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

Resolution: fixed
Status: reopenedclosed

Changed dist_subdir in r60876 to avoid the problem.

Note: See TracTickets for help on using tickets.