Bugzilla – Bug 997
incorrect URL for jasontools dependency in build.py prevents install of validator.nu
Last modified: 2014-07-10 16:48:28 CEST
Yesterday I tried to install validator.nu twice ("hg clone" from "bitbucket" and "git clone" from "github"). Both builds using "build/build.py" as provided by the clones failed, reporting: "http://download.berlios.de/jsontools/jsontools-core-1.5.jar Bad MD5 hash for http://download.berlios.de/jsontools/jsontools-core-1.5.jar." I checked the berlios site, but was unable to find the jsontools. Sourceforge seems to be the only location for jsontools nowadays. The URL that worked for me: "http://cznic.dl.sourceforge.net/jsontools.berlios/jsontools-core-1.5.jar" I edited my copy of "build.py", hashed out the berlios reference and added the sourceforge reference, updated my git repo and was then able to successfully install and run validator.nu. I hope you will update "build.py" soon! For your reference: - OS-version: Tux4u(R)/Penguin Suite "PS-wheezy" (based on Debian "wheezy") - output of command "git diff HEAD^": diff --git a/build.py b/build.py index 86bae8e..b4f3c13 100755 --- a/build.py +++ b/build.py @@ -96,7 +96,8 @@ dependencyPackages = [ ("http://archive.apache.org/dist/logging/log4j/1.2.15/apache-log4j-1.2.15.zip", "5b0d27be24d6ac384215b6e269d3e352"), ("http://archive.apache.org/dist/xerces/j/Xerces-J-bin.2.9.1.zip", "a0e07ede1c3bd5231fe15eae24032b2e"), ("http://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R1.zip", "613eed8201d37be201805e5048ebb0c3"), - ("http://download.berlios.de/jsontools/jsontools-core-1.5.jar", "1f242910350f28d1ac4014928075becd"), +# ("http://download.berlios.de/jsontools/jsontools-core-1.5.jar", "1f242910350f28d1ac4014928075becd"), + ("http://cznic.dl.sourceforge.net/jsontools.berlios/jsontools-core-1.5.jar", "1f242910350f28d1ac4014928075becd"), ("http://hsivonen.iki.fi/code/antlr.jar", "9d2e9848c52204275c72d9d6e79f307c"), ("http://www.cafeconleche.org/XOM/xom-1.1.jar", "6b5e76db86d7ae32a451ffdb6fce0764"), ("http://www.slf4j.org/dist/slf4j-1.5.2.zip", "00ff08232a9959af3c7101b88ec456a7"), (END)
Problem solved on 7th July 2014 by H. Sivonen, but with a different download URL than the one proposed by me. - ("http://download.berlios.de/jsontools/jsontools-core-1.5.jar", "1f242910350f28d1ac4014928075becd"), + ("http://sunet.dl.sourceforge.net/project/jsontools.berlios/jsontools-core-1.5.jar", "1f242910350f28d1ac4014928075becd"), (See: origin/master SHA1: af5a7282a7f5eaa319c072fb1e8d683f46c4ada0 )