Bug 89227 - building rpm requires elfutils-devel
Summary: building rpm requires elfutils-devel
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-21 14:46 UTC by David Mansfield
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-04-21 14:55:17 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.