SRPMs for EPEL 5

T.C. Hollingsworth tchollingsworth at gmail.com
Fri Dec 16 23:40:53 UTC 2011


Do you need to do anything special to produce a SRPM that will mock
build on EPEL 5 on modern Fedoras?

I just tried to build two different SRPMS [1][2] that work fine on
F15-16 and EPEL6 and got different errors out of each:

DEBUG util.py:307:  Executing command: ['rpm', '-q', '-a']
DEBUG util.py:257:  error: cannot open Packages index using db3 -
Invalid argument (22)
DEBUG util.py:257:  error: cannot open Packages database in /var/lib/rpm
DEBUG util.py:347:  Child returncode was: 0

DEBUG util.py:300:  Executing command: ['rpm', '-Uvh', '--nodeps',
'/builddir/build/originals/nodejs-0.6.6-1.fc16.src.rpm']
DEBUG util.py:257:  nodejs                      warning: user tc does
not exist - using root
DEBUG util.py:257:  warning: group tc does not exist - using root
DEBUG util.py:257:  ##################################################
DEBUG util.py:257:  error: unpacking of archive failed on file
/builddir/build/SOURCES/macros.nodejs;4eebce4a: cpio: MD5 sum mismatch
DEBUG util.py:340:  Child returncode was: 1

They both still have the BuildRoot and %clean sections so should be
fine for EL5 AFAIK.

Thanks!
-T.C.

[1] http://nodejs.tchol.org/stable/el6/SRPMS/nodejs-0.6.6-1.el6.src.rpm
[2] http://nodejs.tchol.org/stable/el6/SRPMS/v8-3.6.6.11-1.el6.src.rpm


More information about the devel mailing list