Subject: mozilla build fails due to incorrect hashcodes
To: None <tech-pkg@NetBSD.org>
From: walt <wa1ter@myrealbox.com>
List: tech-pkg
Date: 06/01/2004 10:54:29
Anyone else seeing this problem?:

The 'distinfo' for mozilla contains *all* incorrect SHA1 hashcodes
for the patch files, like this:
a# cat distinfo
$NetBSD: distinfo,v 1.56 2004/06/01 15:01:17 taya Exp $

SHA1 (mozilla-source-1.6.tar.bz2) = baecca0ecec35704049ab6debaec6c96adbade35
Size (mozilla-source-1.6.tar.bz2) = 31037452 bytes
SHA1 (patch-aa) = 03f158fe673a54b8060d541c80f9ebda2977afc5
SHA1 (patch-ab) = 9db4b88f3cc0feb267f8715c2e2238fd80b49f62
SHA1 (patch-ac) = d5e3f5833860cd3404030eff76c993ab48c0d8df
SHA1 (patch-ad) = 5408db4b7585dcf5855f64a342cc721a23aec449
SHA1 (patch-ae) = e10936ff84d8f5b631c5c9f18271f21e902ea351
SHA1 (patch-af) = 8fcedb0bdd48f9527fff8c9b970a0e6ea68711e4
SHA1 (patch-ag) = c52586f92fc801571ccaf5a80c081103a99ed4e7
SHA1 (patch-ah) = d047cad352d83aacb76321ee499184ae81fc9b40
SHA1 (patch-ai) = bc3f841e16ca81962cfe5d082527bc3891c7d8b2
SHA1 (patch-aj) = e1fd4c748b344507eb580d2efab3b2be625b64e5
SHA1 (patch-ak) = d47b4b2904e91eaf6b6042c20594db5e559d126d
SHA1 (patch-al) = bd326a62794a5665dd929b59a96c24fbac51a1a3
SHA1 (patch-am) = 6646e8f1e5dbc3532ba45945ad2054756de2186a
SHA1 (patch-an) = 78b448a64c2a46bc3a1d458bdbcb5d64be1ed9f4
SHA1 (patch-ao) = 7048e3a06d1569e31d2350c2473887a50aa81498
SHA1 (patch-aw) = 5beeefa214a3003a74ccc68776a97a414c6acff1
SHA1 (patch-ax) = 070c88dee0446b093ab1c2a9120dc1747642d46f
SHA1 (patch-ba) = d2e195900ed806aaf18e8a56efcf26c0bd4941ce
SHA1 (patch-bb) = b3cedb7b6ae46749d5222ab9fd6bc087c781d459
SHA1 (patch-bm) = f557aa3ce9a25c91884cfd42bb505422e52ac958
SHA1 (patch-bn) = 07573c79b22821873954d7c70821a382ea42fe4e
SHA1 (patch-bo) = a6bba31568b60818455911279e7db01c49c94498
SHA1 (patch-bp) = 5f5eed098d2763ca6a4987d012c9377b81300aa3
SHA1 (patch-bq) = 0c520287d97027da06a5aa65cbd038bf19a49dde
SHA1 (patch-br) = 560d738c648b864711d663323bdd1478b7d28103
SHA1 (patch-bs) = e9434aadc52b0120dcfc80e57002152d2bd47605
SHA1 (patch-bt) = a033b83ee633391ffc138442697fbe754ec92902
SHA1 (patch-bu) = db33b8651e3cb1fbf9a18dbe78e1e8288cfda0ee
SHA1 (patch-bv) = 4f23dfd885131ea866f31370f1421e7c19706860
SHA1 (patch-bw) = 63f66b8e001b8352e73935a1f629de4bb1e70075

But if I generate the sha1 hashcodes myself I get these
completely different results:

# cd /usr/pkgsrc/www/mozilla/patches
# for i in patch-*; do sha1 $i; done
SHA1 (patch-aa) = 9fdb0e12c1fd985ede2e7f9c6772f7bb60cb0a42
SHA1 (patch-ab) = 9578c9028f81c47cdee41e06677831ded576c871
SHA1 (patch-ac) = 9a5d5ae6b4d15aacd0ae2e0c8a987e958144eafa
SHA1 (patch-ad) = 5011760190b0e019570865f0ef138f273ba996f5
SHA1 (patch-ae) = 8ea9e7c31fe33ed9b29215b8636eac0680cb4507
SHA1 (patch-af) = eb4f0ee10103b26c0c63b877a9bf0f19f7eec5b8
SHA1 (patch-ag) = 04f881a19617393e59f918692cc17216876e20fe
SHA1 (patch-ah) = d5038410da020bd4f319453e1d1c3bf4776e5dc9
SHA1 (patch-ai) = 6ca9112f56804a873151dbd18df7e0be72d23bd7
SHA1 (patch-aj) = 87ffdaf97c150982ec95b939c57fb823874b44a2
SHA1 (patch-ak) = ddf0bb9d86ccdf4e0f60c9c43b70f5f8838b3444
SHA1 (patch-al) = d25b362b9f2cdc0d886dc969e798be7afec61f7e
SHA1 (patch-am) = 71b302699016fc530a7f193a3f694e953b92f3c1
SHA1 (patch-an) = e2f9b1df48b53e5e29ff70d7c5197cf7f9d6ace1
SHA1 (patch-ao) = 06f3bd9d27b109cffd7988aaab264876c719f6e1
SHA1 (patch-aw) = ffe07ce3fb852adf10fd97a0c5a61a268b6354c5
SHA1 (patch-ax) = 92f2138d2a8a8d31951803007d7b7f340a19916e
SHA1 (patch-ba) = 6817e2366b1311af43b7782656ff1265c0dd9886
SHA1 (patch-bb) = 64c8a27e1b98869ea72c0eb5d0ab41b1ba5e7e4d
SHA1 (patch-bm) = 7120826657117880e97c8b32a9d083aebb8d57d4
SHA1 (patch-bn) = 30543c1109cb1eeb77d75743e523d247da33a6e3
SHA1 (patch-bo) = 83eafa2485edead3dcb9cf11ad5b53085d0abe78
SHA1 (patch-bp) = 391da3f3d7f5f82121fe6953cd2ac590d0bd4220
SHA1 (patch-bq) = cb44fd83729ca5b58576778dc67b9058de7456a4
SHA1 (patch-br) = f80f19e30dd8e851ce0c47ab018ca638718faef9
SHA1 (patch-bs) = c197601a17f6d3038d70ba57012908d404ff4199
SHA1 (patch-bt) = 4c5ce727d99f2c77e64a25cd5c0a6bc6c1d75e6a
SHA1 (patch-bu) = e508c1cf12853ad8d9168c9fd8d5c4b1374702a5
SHA1 (patch-bv) = dca59ce6d8ad66a8636e8ba5b88111f34fe88d29
SHA1 (patch-bw) = 02ef55495662559be2c64076b08836cec55a52bf

Oddly, the hashcode for mozilla-source-1.6.tar.bz2 is correct.