I made another experiment. As all corrupt Monticello files happened to be .mcd files I tried Bert's suggention and did the trunk update without using .mcd but only .mcz files. To do this I commented out the diffy part in MCConfiguration>>versionNamed:for:from: and did the trunk update.
This results in the infamous "Error: Bits size mismatch" for Kernel-eem.851.mcz. I checked the package-cache and this is the only one corrupt .mcz file.
unzip -t Kernel-eem.851.mcz Archive: Kernel-eem.851.mcz End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of Kernel-eem.851.mcz or Kernel-eem.851.mcz.zip, and cannot find Kernel-eem.851.mcz.ZIP, period.
Again it seems not corrupt on source.squeak.org:
curl -O http://source.squeak.org/trunk/Kernel-eem.851.mcz unzip -t Kernel-eem.851.mcz Archive: Kernel-eem.851.mcz testing: package OK testing: version OK testing: snapshot/source.st OK testing: snapshot.bin OK No errors detected in compressed data of Kernel-eem.851.mcz.
Cheers, Bernhard
Am 30.08.2014 um 16:03 schrieb Bernhard Pieber bernhard@pieber.com:
I forgot to mention that I checked for some of the corrupt files if they are corrupt on source.squeak.org and it seems they are not, e.g.
curl -O http://source.squeak.org/trunk/Collections-eem.571%5C(nice.569%5C).mcd unzip -t Collections-eem.571(nice.569).mcd Archive: Collections-eem.571(nice.569).mcd testing: package OK testing: version OK testing: base OK testing: old/source.st OK testing: new/source.st OK testing: patch.bin OK No errors detected in compressed data of Collections-eem.571(nice.569).mcd.
It seems to follow that the corruptions happen locally because of broken (intermediate?) code which is executed during the trunk update.
Cheers, Bernhard
Am 30.08.2014 um 15:50 schrieb Bernhard Pieber bernhard@pieber.com:
One other thing that I found out is that the trunk update from Squeak4.5-13680.image seems to create corrupt files in the package-cache. I use the following batch script to verify:
#!/bin/bash cd trunk/package-cache for f in *.mcd *.mcz do unzip -t $f | grep "No errors" done
Most but not all of the files in the package-cache seem to be corrupt.
I would be interested if others see that also.
Cheers, Bernhard