Trying to install rpm-4.2, got the following build failure: [...] 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 -march=athlon -O3 -pipe -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:36:18: gelf.h: No such file or directory debugedit.c:37:19: dwarf.h: No such file or directory debugedit.c:53: parse error before "Elf" debugedit.c:53: warning: no semicolon at end of struct or union debugedit.c:54: warning: type defaults to `int' in declaration of `ehdr' debugedit.c:54: warning: data definition has no type or storage class debugedit.c:55: parse error before '*' token [... snip snip ...] debugedit.c:1209: warning: implicit declaration of function `elf_errno' debugedit.c:1209: warning: format argument is not a pointer (arg 3) debugedit.c:1214: warning: format argument is not a pointer (arg 3) make[2]: *** [debugedit.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2' make: *** [all] Error 2 !!! ERROR: app-arch/rpm-4.2 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! (no error message) All the errors are caused (as far as I can tell) by the lack of the header files. Its complaint is valid: there are no such headers anywhere under /usr, or in the distribution itself. Obviously I can't tell which package used to provide them (if they ever did)... Platform information: GLIBC: 2.3.2 GCC: 3.2.2-r4 (yeah, I know its masked now) Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga java guile mysql sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt kde motif opengl mozilla cdr X gtk gnome cups tcltk" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Same problem here. Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://mirrors.sunsite.dk/gentoo/ http://gentoo.linux.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt kde motif opengl icc curl -3dnow aalib alsa bonobo cdr dga dvd esd evo flash gd ggz gphoto2 gps gtk2 gtkhtml guile imap innodb ipv6 lcms mbox mozilla mysql perl plotutils samba sasl slp snmp sse tcltk tiff wmf xface xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CXXFLAGS="-march=pentium4 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
same for me: [...] debugedit.c:1209: warning: format argument is not a pointer (arg 3) debugedit.c:1214: warning: format argument is not a pointer (arg 3) make[2]: *** [debugedit.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2' make: *** [all] Error 2 !!! ERROR: app-arch/rpm-4.2 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! (no error message) -------------------------------------------------------------------------------- Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Lin ux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config /o pt/quake3/cpma/server.cfg" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 apm avi crypt cups encode jpeg libg++ mikmod mpeg ncurses nls pdflib pn g quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java mysql gpm tcpd pam esd imlib oggvorbis q t opengl mozilla gphoto2 snmp cdr ncures X alsa -motif kde 3dnow sdl perl python guile ruby libwww ssl gtk mmx ogg vorbis oss gif gnome gpg gd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
rpm 4.2 requires elfutils for those header files.
Many thanks, added elfutils to the DEPEND line. That should fix the error. Closing bug. Stefan