Description of problem: Incorrect elfutils_version value in systemtap.spec - 0.124. Correct version is 0.125! Version-Release number of selected component (if applicable): 0.5.12-1.el5 How reproducible: Always Steps to Reproduce: 1. rpm -i ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/systemtap-0.5.12-1.el5.src.rpm 2. rpm -i ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/elfutils-0.125-3.el5.src.rpm 3. rpmbuild -ba --define="dist .el5" systemtap.spec Actual results: error: File /usr/src/redhat/SOURCES/elfutils-0.124.tar.gz: No such file or directory Expected results: Additional info:
While you are correct that the systemtap spec file refers to an older elfutils source, this is not in fact used for RHEL5 builds. On RHEL5, the spec file arranges to unset the "bundled_elfutils" flag, which makes systemtap build against the system elfutils library.
I thing, that this may cause problem when someone tries to compile embeded system based on RHEL5 sources. You are right, that (at this time and version of spec) the correct build must be produced lake that: $ rpmbuild --sign -ba --define="dist .el5" --define="rhel 5" systemtap.spec but I think that spec file must be corrected in the future. Regards