Bug 89227

Summary: building rpm requires elfutils-devel
Product: [Retired] Red Hat Linux Reporter: David Mansfield <bugzilla>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-21 14:55:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Mansfield 2003-04-21 14:46:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
the build of rpm has a non-listed requirement (in fact the text of the spec is
actually wrong, not just insufficient, claiming only elfutils-libelf is required)

elfutils-devel is required to build RPM out-of-the-box

(gelf.h, dwarf.h included at some point)


Version-Release number of selected component (if applicable):
rpm-4.2-0.69

How reproducible:
Always

Steps to Reproduce:
1. install rpm source rpm
2. rpm -e elfutils-devel
3. rpmbuild -bb --clean /usr/src/redhat/SPECS/rpm.spec
    

Actual Results:  compile fails after include of gelf.h, dwarf.h not found.

Expected Results:  production of rpm rpm

Additional info:

Comment 1 Jeff Johnson 2003-04-21 14:55:17 UTC
Later versions of rpm-4.2 (or rpm-4.1.1) build using
internal elfutils.

SRPM at ftp://ftp.rpm.org/pub/rpm/test-{4.2,4.1.1}

Comment 2 Jeff Johnson 2003-04-21 14:55:54 UTC
Installing elfutils-devel is still recommended.