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: /home/herrold/cvsroot/rpm/elfutils/libdw/dwarf.h but not in that SRPM [herrold@ftp rpm-4.2]$ find -name 'dwarf*' [herrold@ftp rpm-4.2]$ pwd /home/herrold/redhat/BUILD/rpm-4.2 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 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 once 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.
Fixed (by using internal elfutils-0.76) in rpm-4.2-0.70 and rpm-4.1.1.