Bug 85561 - rpm-4.2.0-68 (latest rawhide) -- debugedit.c calling for non-present header dwarf.h
rpm-4.2.0-68 (latest rawhide) -- debugedit.c calling for non-present header d...
Product: Red Hat Raw Hide
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-03-04 09:02 EST by R P Herrold
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-08 12:39:58 EST
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 R P Herrold 2003-03-04 09:02:33 EST
During a rebuild from SRPM, rpm-4.2.0-68 is calling for, and does not have dwarf.h


'debugedit.c' seems to want 'dwarf.h' --

on an RHL 8.0 box with some front porting.

I see it in CVS:

but not in that SRPM

[herrold@ftp rpm-4.2]$ find -name 'dwarf*'
[herrold@ftp rpm-4.2]$ pwd
if not present should it

creating rpmsignature
source='debugedit.c' object='debugedit.o' libtool=no \
depfile='.deps/debugedit.Po' tmpdepfile='.deps/debugedit.TPo'
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../lib
-I../rpmdb -I../rpmio -I../popt -I../file -I../zlib -I../misc
-O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_REENTRANT -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -c `test -f 'debugedit.c' || echo
debugedit.c:37:19: dwarf.h: No such file or directory
debugedit.c: In function `read_abbrev':
debugedit.c:289: `DW_FORM_indirect' undeclared (first use in
this function)
debugedit.c:289: (Each undeclared identifier is reported only
debugedit.c:289: for each function it appears in.)

... and so on ...


solutions would be to carry the header, which is in CVS, or to add a build time
check for the header, and if components are missing, to omit the ./tools/ tree
elements needing it.
Comment 1 Jeff Johnson 2003-03-08 12:39:58 EST
Fixed (by using internal elfutils-0.76) in rpm-4.2-0.70
and rpm-4.1.1.

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