[oe] [PATCH] Fix rpm2cio sums

Koen Kooi k.kooi at student.utwente.nl
Thu Feb 12 12:35:37 UTC 2009


On 12-02-09 13:16, Philip Balister wrote:
> Koen Kooi wrote:
>> On 12-02-09 12:26, Roman I Khimov wrote:
>>> Hello all.
>>>
>>> Don't know why, but rpm2cpio tarball checksums are wrong, so here is
>>> the fix:
>>
>> If they are wrong we want to see the diff between the old and new
>> tarballs, replacing checksums as soon as upstream changes defeats the
>> purpose of us adding them.
>
> How can we find a copy of the tarball with the original checksum? I do
> not have it in my local source cache. The file date on the ftp server is
> March 1 2008. I'm surprised the FreeBSD crowd would change a tarball,
> without changing the version.

It gets worse:

koen at dominion:/OE/build$ md5sum /OE/downloads/*rpm*tbz ; sha256sum 
/OE/downloads/*rpm*tbz
cb0cabdac81b7171843427f32427ca84  rpm2cpio-1.2_2.tbz
20f48aa3c1f950c224e844d3a7d28a679f41173a26a2d7095ef1da27bda42c2f 
rpm2cpio-1.2_2.tbz

angstrom at serenity:~/website/unstable/sources$ md5sum *rpm* ; sha256sum *rpm*
76f8b7060500191c7cde078f831c7f0c  rpm2cpio-1.2_2.tbz
aac7daba6d805d87e62636f0af53ce4b532cacf00a29485d94b3a605f2ffdf6c 
rpm2cpio-1.2_2.tbz


git annotate:

0da69511    (Marcin Juszkiewicz 2007-10-24 13:09:31 +0000 
18933)[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz]
a7d0813d    (Otavio Salvador    2008-11-18 12:21:08 -0200 
18934)md5=63f39118ea5ef7cda84a0638002ed6d2
a7d0813d    (Otavio Salvador    2008-11-18 12:21:08 -0200 
18935)sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3

The first commit is:

commit 0da695117f8a142e6d15601d8d7064ed5c35074a
Author: Marcin Juszkiewicz <hrw at openembedded.org>
Date:   Wed Oct 24 13:09:31 2007 +0000

     checksums.ini: sync with Poky
     r2954 | hrw | 2007-10-24 14:29:57 +0200 (<C5><9A>r, 24 X 2007) | 1 line
     checksums.ini: added some new entries from OpenMoko build
 
------------------------------------------------------------------------
     r2953 | hrw | 2007-10-24 14:28:03 +0200 (<C5><9A>r, 24 X 2007) | 1 line
     checksums.ini: sort by archive name (script for it will be pushed 
into OE later)
 
------------------------------------------------------------------------
     r2952 | hrw | 2007-10-24 13:39:13 +0200 (<C5><9A>r, 24 X 2007) | 1 line
     checksums.ini: sort alphabetically to make updates easier

This is a red herring, see the diff:

-[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz]
-md5=d4950dc6918ca79a4abab306b6188512
-sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25

+[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz]
+md5=d4950dc6918ca79a4abab306b6188512
+sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25


The second one:

commit a7d0813dd5c391183b1356c49bf082a647123985
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Tue Nov 18 12:21:08 2008 -0200

     checksums.ini: fix rpm2cpio checksums

-md5=d4950dc6918ca79a4abab306b6188512
-sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25
+md5=63f39118ea5ef7cda84a0638002ed6d2
+sha256=27ffe0392ae193eb04786a2159c099a00fe38ccd

So it seems that freebsd people are replacing their files or that their 
server suffers massive disk corruption.

regards,

Koen






More information about the Openembedded-devel mailing list