Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22601 - app-crypt/kth-krb bad libdir in lib/*.la
Summary: app-crypt/kth-krb bad libdir in lib/*.la
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 03:36 UTC by Jeremy Huddleston (RETIRED)
Modified: 2003-10-19 21:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2003-06-11 03:36:40 UTC
/usr/portage $ grep libdir /usr/athena/lib/libdes.la
libdir='/usr/tmp/portage/kth-krb-1.2.1/image//usr/athena/lib'


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




/usr/portage $ emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21-rc7-ac1 i686 AMD Athlon(tm) XP 1700+
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 /var/bind /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/local/download/portage/distfiles"
PKGDIR="/usr/local/download/portage/packages-athlon-xp"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR_OVERLAY="/usr/local/download/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb 
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi 
tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd 
imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 snmp cdr scanner 
acl acpi atlas curl dga doc dvb dvd emacs ethereal evo fbcon flash gb gd gnomedb 
gps gtk2 imap innodb ipv6 jikes junit kerberos krb4 lcms ldam leim libgda mbox 
mozaccess mozcalendar mozinterfaceinfo mozsvg mozxmlterm mpi mule objc odbc ofx 
pcmcia pda pic plotutils pnp ruby samba sasl slp socks5 sse tiff trusted usb wmf 
Xaw3d xinerama xml -ldap"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -falign-functions=4 
-falign-jumps=4 -falign-loops=4"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -falign-functions=4 
-falign-jumps=4 -falign-loops=4"
ACCEPT_KEYWORDS="x86 jer"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox buildpkg userpriv usersandbox"
Comment 1 Aric LeDell 2003-07-24 21:54:35 UTC
I see the same thing.  And it is breaking the emerge of cyrus-sasl-2.1.14
gcc -shared  digestmd5.lo digestmd5_init.lo plugin_common.lo  -L/usr/local/lib -lcrypto -lresolv  -Wl,-soname -Wl,libdigestmd5.so.2 -o .libs/libdigestmd5.so.2.0.14
(cd .libs && rm -f libdigestmd5.so.2 && ln -s libdigestmd5.so.2.0.14 libdigestmd5.so.2)
(cd .libs && rm -f libdigestmd5.so && ln -s libdigestmd5.so.2.0.14 libdigestmd5.so)
creating libdigestmd5.la
rm -fr .libs/libplain.la .libs/libplain.* .libs/libplain.*
(cd . && ln -s plain.lo plain.o)
grep: /var/tmp/portage/kth-krb-1.2.1/image/usr/athena/lib/libdes.la: No such file or directory
sed: can't read /var/tmp/portage/kth-krb-1.2.1/image/usr/athena/lib/libdes.la: No such file or directory
libtool: link: `/var/tmp/portage/kth-krb-1.2.1/image/usr/athena/lib/libdes.la' is not a valid libtool archive
make[2]: *** [libgssapiv2.la] Error 1
Comment 2 Paul Belt 2003-10-01 16:59:59 UTC
It breaks anything requiring those files if y'all haven't noticed.  It's
existed for quite some time now.
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2003-10-05 16:35:19 UTC
I've added a fix to the ebuild... Can you guys test?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2003-10-06 17:00:00 UTC
The bug is still there, but just in /usr/athena/lib/libdes.la:

(16:57:28 Mon Oct 06 2003 jeremy@cloud)
~ $ qpkg -I -v kth-krb
app-crypt/kth-krb-1.2.2-r1 *

(16:58:18 Mon Oct 06 2003 jeremy@cloud)
~ $ grep libdir /usr/athena/lib/*.la 
/usr/athena/lib/libacl.la:libdir='/usr/athena/lib'
/usr/athena/lib/libcom_err.la:libdir='/usr/athena/lib'
/usr/athena/lib/libdes.la:libdir='/usr/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/lib'
/usr/athena/lib/libeditline.la:libdir='/usr/athena/lib'
/usr/athena/lib/libkadm.la:libdir='/usr/athena/lib'
/usr/athena/lib/libkafs.la:libdir='/usr/athena/lib'
/usr/athena/lib/libkdb.la:libdir='/usr/athena/lib'
/usr/athena/lib/libkrb.la:libdir='/usr/athena/lib'
/usr/athena/lib/libotp.la:libdir='/usr/athena/lib'
/usr/athena/lib/libroken.la:libdir='/usr/athena/lib'
/usr/athena/lib/libsl.la:libdir='/usr/athena/lib'
/usr/athena/lib/libss.la:libdir='/usr/athena/lib'
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2003-10-06 17:08:42 UTC
Change the .la fix in the ebuild to:

sed -i "s:${D}/::g" *.la

instead of:

sed -i 's:/var/tmp/portage/kth-krb-.*/image/::g' *.la
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2003-10-19 21:22:58 UTC
Committed. 
Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2003-10-19 21:23:27 UTC
Closed