I could not find beecrypt.api.h on my whole system, seems like it's missing. But the package beecrypt is installed, I even recompiled it. Reproducible: Always Steps to Reproduce: 1. emerge rpm 2. 3. Actual Results: Making all in rpmio make[2]: Entering directory `/var/tmp/portage/rpm-4.2.1/work/rpm-4.2.1/rpmio' if /bin/sh ../libtool --mode=compile sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/beecrypt -I../popt -I../zlib -O2 -mcpu=ultrasparc -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF ".deps/digest.Tpo" \ -c -o digest.lo `test -f 'digest.c' || echo './'`digest.c; \ then mv -f ".deps/digest.Tpo" ".deps/digest.Plo"; \ else rm -f ".deps/digest.Tpo"; exit 1; \ fi mkdir .libs sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/beecrypt -I../popt -I../zlib -O2 -mcpu=ultrasparc -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF .deps/digest.Tpo -c digest.c -fPIC -DPIC -o .libs/digest.lo In file included from digest.c:6: rpmio_internal.h:12:26: beecrypt.api.h: No such file or directory make[2]: *** [digest.lo] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/rpm-4.2.1/work/rpm-4.2.1/rpmio' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.2.1/work/rpm-4.2.1' make: *** [all] Fehler 2 Expected Results: correct build of rpm The platform is sparc64, an Ultra 10 to be precise. Some months ago rpm built without problems on a x86 machine, so this problem might be platform-specific.
Try 'emerge >=beecrypt-3.1.0-r1'. If after that 'emerge rpm' works, please mark as a duplicate of bug 47664.
Thanks for your quick reply, but the installed version of beecrypt is 4.1.2.
Created attachment 70661 [details, diff] rpm-4.2.1-beecrypt3.patch I'm running ~ppc and got the same problem. It seems that rpm requires beecrypt < 4 so here is a patch for rpm-4.2.1.ebuild to restrict it to beecrypt 3.x
Actually, this patch trivial to the rpm source allows it to get past this error. diff -ru rpm-4.2.1/rpmio/rpmio_internal.h rpm-4.2.1-new/rpmio/rpmio_internal.h --- rpm-4.2.1/rpmio/rpmio_internal.h 2005-11-24 20:05:09.000000000 -0800 +++ rpm-4.2.1-new/rpmio/rpmio_internal.h 2005-11-24 20:03:58.000000000 -0800 @@ -9,7 +9,7 @@ #include <rpmio.h> #include <rpmurl.h> -#include <beecrypt.api.h> +#include <beecrypt/api.h> #include <rpmpgp.h> /* Drag in the beecrypt includes. */
*** Bug 132792 has been marked as a duplicate of this bug. ***
rpm-4.4.6 should have this fixed