Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 89227 - building rpm requires elfutils-devel
building rpm requires elfutils-devel
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-04-21 10:46 EDT by David Mansfield
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-21 10:55:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Mansfield 2003-04-21 10:46:14 EDT
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):

How reproducible:

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 10:55:17 EDT
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 10:55:54 EDT
Installing elfutils-devel is still recommended.

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