Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32100 - rpm-4.2.1 fails to build
Summary: rpm-4.2.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-27 06:16 UTC by Aron Griffis (RETIRED)
Modified: 2003-11-12 07:44 UTC (History)
1 user (show)

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


Attachments
rpm-4.2.1 build output (rpm-4.2.1-build-output.txt,48.75 KB, text/plain)
2003-10-27 06:17 UTC, Aron Griffis (RETIRED)
Details
objdump -T /usr/lib/libbeecrypt.so.2.2.0 (objdump.txt,32.68 KB, text/plain)
2003-10-28 09:05 UTC, Aron Griffis (RETIRED)
Details
emerge beecrypt (typescript,51.47 KB, text/plain)
2003-10-28 09:06 UTC, Aron Griffis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Griffis (RETIRED) gentoo-dev 2003-10-27 06:16:58 UTC
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"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-10-27 06:17:50 UTC
Created attachment 19850 [details]
rpm-4.2.1 build output
Comment 2 Stefan Jones (RETIRED) gentoo-dev 2003-10-28 08:25:18 UTC
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.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-10-28 09:05:42 UTC
Created attachment 19894 [details]
objdump -T /usr/lib/libbeecrypt.so.2.2.0

Output of objdump -T /usr/lib/libbeecrypt.so.2.2.0
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-10-28 09:06:23 UTC
Created attachment 19895 [details]
emerge beecrypt
Comment 5 Stefan Jones (RETIRED) gentoo-dev 2003-10-28 09:21:28 UTC
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 ...
Comment 6 Stefan Jones (RETIRED) gentoo-dev 2003-10-28 16:36:46 UTC
I guess this is fixed ...
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2003-11-01 07:39:49 UTC
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
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2003-11-11 14:21:49 UTC
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.
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2003-11-11 20:38:02 UTC
okay, committed beecrypt-3.1.0-r1 but it still isn't completely solving the problem... will investigate more tomorrow
Comment 10 Aron Griffis (RETIRED) gentoo-dev 2003-11-12 07:44:01 UTC
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.