Red Hat Bugzilla – Bug 81190
rpm BuildRequires: elfutils-devel
Last modified: 2007-04-18 12:49:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Description of problem:
I tried to build RPM to test the fix for bug 75057. The build failed in
debugedit.c, because gelf.h and dwarf.h were not present. These are provided by
The spec file (and possibly the configure script) should catch this dependency.
Note that RPM 4.2-0.25.1 in RH 8.0 does specify BuildRequires: elfutils-devel.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. confirm that elfutils-devel is not installed
2. confirm that gelf.h and dwarf.h are not present
3. rpmbuild --rebuild rpm-4.2-0.50.src.rpm
Actual Results: Build aborts compiling debugedit.c.
Expected Results: Build should abort immediately if elfutils-devel is not
*** This bug has been marked as a duplicate of 84526 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.