rpm-4.2.1 fails to build on my machine, apparently due to problems with beecrypt. I'll attach snippets from the build output. # emerge info Portage 2.0.49-r15 (default-alpha-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-alpha-r1) ================================================================= System uname: 2.4.21-alpha-r1 alpha EV67 Gentoo Base System version 1.4.3.11 distcc 2.11.1 alphaev67-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="alpha ~alpha" AUTOCLEAN="yes" CFLAGS="-mcpu=ev67 -O3 -pipe -mieee" CHOST="alphaev67-unknown-linux-gnu" COMPILER="gcc3" 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/cups /etc/init.d /etc/openldap /etc/postfix/sample /etc/sound /etc/X11/app-defaults /etc/X11/rstart /etc/X11/serverconfig /etc/X11/Sessions /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ev67 -O3 -pipe -mieee" DISTDIR="/usr/distfiles" FEATURES="sandbox ccache cvs noauto keepwork noclean" GENTOO_MIRRORS="http://kant.zk3.dec.com/gentoo/mirror/sources/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/local/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/home/agriffis/proj/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alpha crypt cups encode foomaticdb gif jpeg libg++ mikmod ncurses nls oss pdflib png quicktime spell truetype xml2 xmms xv zlib gnome-libs gtkhtml gdbm berkdb readline tetex bonobo tcltk java guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gnome gtk qt motif opengl mozilla ldap cdr -alsa -apm -arts -esd -kde -slang cscope ev6 perl ruby imap snmp socks5 moznoirc moznomail moznocompose gtk2"
Created attachment 19850 [details] rpm-4.2.1 build output
Have you got dev-libs/beecrypt installed? If so could you do qpkg -l dev-libs/beecrypt The missing headers get installed by beecrypt. It might be that having rpm-4.2 installed ( which provides an old beecrypt ( 4.2.1 doesn't have beecrypt anymore )) botched the beecrypt install progress.
Created attachment 19894 [details] objdump -T /usr/lib/libbeecrypt.so.2.2.0 Output of objdump -T /usr/lib/libbeecrypt.so.2.2.0
Created attachment 19895 [details] emerge beecrypt
Ok, this is the diagnosis: beecrypt used to be provided in the rpm package piror to this version, but it now got split out. On alpha the old rpm package installed libbeecryt.so in /usr/lib, the beecrypt standalone package, on alpha64, seems to install it in /usr/lib64. Now when you try and build rpm-4.2.1 it only sees the old lib in /usr/lib not the one it should use in /usr/lib64; thus causing the configure error and not including the beecrypt include dir. I am not sure which dir beecryt should be installed in (lib or lib64) but just for fun I will block rpm-4.2_pre in the beecrypt ebuild, it will annoy ppl but it is a fix ...
I guess this is fixed ...
Good diagnosis, Cretin, but still having problems on Alpha. checking beecrypt/beecrypt.h usability... yes checking beecrypt/beecrypt.h presence... yes checking for beecrypt/beecrypt.h... yes checking for mpfprintln in -lbeecrypt... no It doesn't seem to be finding the lib in /usr/lib64
Okay, the problem here is that beecrypt should not be installing libraries in /usr/lib64 at all. There is no 32-bit model supported on alpha, so all libraries should be installed in /usr/lib. I'm investigating the problem on beecrypt now.
okay, committed beecrypt-3.1.0-r1 but it still isn't completely solving the problem... will investigate more tomorrow
fixed beecrypt-3.1.0-r1... here is the ChangeLog entry: This library's makefiles are way too smart for its own good. If you update configure.ac, then the makefiles notice and insist on rebuilding half a dozen other things (even after you run autoconf). The end result is that mpopt.s is emptied and undefined symbols appear in the library. Modified the patch to affect configure instead of configure.ac so that autoconf isn't required and the build system doesn't screw up. Now that beecrypt is installing in /usr/lib and mpopt.s is building correctly, this allows rpm-4.2.1 to build on alpha. Bug closed.