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:
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}
Installing elfutils-devel is still recommended.