fedpkg --dist=el5 srpm, mockbuild fails with MD5 sum mismatch

Chuck Anderson cra at WPI.EDU
Wed Jan 4 19:32:34 UTC 2012


Attempting to build an srpm or do a local mockbuild using fedpkg on an
EL6 buildhost fails with EL5 chroot:

DEBUG util.py:257: error: unpacking of archive failed on file
/builddir/build/SOURCES/0001-10244-Restore-Mongrel-XMLRPC-functionality.patch;4f04a4a9:
cpio: MD5 sum mismatch

I had to build the SRPM manually using rpmbuild-md5:

rpmbuild-md5 -bs puppet.spec

and then submit that to mock:

mock -r epel-5-x86_64 puppet-2.6.12-1.1.el6.src.rpm

Shouldn't fedpkg be calling rpmbuild-md5 -bs when targeting an older
dist like EL5?


More information about the devel mailing list