Fedora 11 / EPEL 5 MD5 Issue

Rick L. Vinyard, Jr. rvinyard at cs.nmsu.edu
Thu Jul 16 20:30:16 UTC 2009

Farkas Levente wrote:
> Dennis Gilmore wrote:
>> On Thursday 16 July 2009 09:51:32 am Mathieu Bridon (bochecha) wrote:
>>> On Thu, Jul 16, 2009 at 16:32, Rick L. Vinyard,
>>> Jr.<rvinyard at cs.nmsu.edu>
>> wrote:
>>>> I've built the following package on Fedora 10 and 11 in mock without
>>>> any
>>>> problems.
>>>>     http://miskatonic.cs.nmsu.edu/pub/libMini-9.0.3-2.fc11.src.rpm
>>>> However, when I try and build for EPEL 5 using mock on a F11 machine I
>>>> get the following in root.log:
>>>> DEBUG util.py:256:  error: unpacking of archive failed on file
>>>> /builddir/build/SOURCES/MINI-9.0.3.zip;4a5f3532: cpio: MD5 sum
>>>> mismatch
>>>> Any suggestions?
>>> I did the following two days ago (all on a F11 host) :
>>> - rebuild the F11 srpm in a F10 mock chroot
>>> - rebuild the F10 srpm in a EL5 mock chroot
>>> F11 and F10 rpm versions are compatible, and so are F10 and EL5.
>>> Totally suboptimal, but it works, and I didn't have time to search
>>> more thoroughly for a better solution :)
>> just for this type of thing i added a new script to fedora-packager
>> rpmbuild-
>> md5  it creates rpms/srpms with the old style hashes.  its a simple bash
>> script that is a wrapper around rpmbuild with the defines for old style
>> hashes.
>> the fedora-packager with it is in updates-testing.
> the real problem is that you can't rebuild fedora's src.rpm on epel. the
> real good thing would be add a script which will be rebuild the new
> src.rpms.

It wouldn't be that hard... just unpack and repack with MD5. The only
problem I see is that a corrupted file would be repacked with a valid

More information about the devel mailing list