Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101317 - app-arch/rpm-4.2.1 - beecrypt.api.h could not be found
Summary: app-arch/rpm-4.2.1 - beecrypt.api.h could not be found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 132792 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-04 05:11 UTC by Thorsten Hirsch
Modified: 2006-10-15 20:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rpm-4.2.1-beecrypt3.patch (rpm-beecrypt.patch,350 bytes, patch)
2005-10-14 07:42 UTC, Panard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Hirsch 2005-08-04 05:11:06 UTC
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.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-08-04 06:22:01 UTC
Try 'emerge >=beecrypt-3.1.0-r1'. If after that 'emerge rpm' works, please mark
as a duplicate of bug 47664.
Comment 2 Thorsten Hirsch 2005-08-04 12:00:10 UTC
Thanks for your quick reply, but the installed version of beecrypt is 4.1.2.
Comment 3 Panard 2005-10-14 07:42:11 UTC
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
Comment 4 Liam Helmer 2005-11-24 20:20:30 UTC
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. */
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-09 07:24:38 UTC
*** Bug 132792 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2006-10-15 20:41:40 UTC
rpm-4.4.6 should have this fixed