Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46849 - dependency_libs line in libfontconfig.la points to /var/tmp/portage/freetype-2.1.5-r1/image//usr/lib/libfreetype.la
Summary: dependency_libs line in libfontconfig.la points to /var/tmp/portage/freetype-...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 06:25 UTC by Eric Ball
Modified: 2004-06-15 09:55 UTC (History)
0 users

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 Eric Ball 2004-04-05 06:25:18 UTC
I couldn't emerge a few kde packages in a new system (still chrooted after the inital 2004.0 install) which gave me the following error during compiling arts (and kdelibs after I used a binary arts package):

libtool: link: warning: library `/usr/lib/libfreetype.la' was moved.
grep: /var/tmp/portage/freetype-2.1.5-r1/image//usr/lib/libfreetype.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/freetype-2.1.5-r1/image//usr/lib/libfreetype.la: No such file or directory
libtool: link: `/var/tmp/portage/freetype-2.1.5-r1/image//usr/lib/libfreetype.la' is not a valid libtool archive

a find /usr -exec grep -H 'libfreetype.la' {} \; gave this line:

/usr/lib/libfontconfig.la:dependency_libs=' /var/tmp/portage/freetype-2.1.5-r1/image//usr/lib/libfreetype.la -lz /usr/lib/libexpat.la'

As a test, re-emerging fontconfig corrected the line to:

dependency_libs=' /usr/lib/libfreetype.la -lz /usr/lib/libexpat.la'

and she's compiling away again. I don't know why it did it, I just thought you'd like to know that it did.

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




Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo
http://public.planetmirror.com/pub/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X X509 aalib acpi acpi4linux alsa apm arts avi berkdb crypt cups dga dvd
encode ethereal fbcon ffmpeg flac foomaticdb gd gdbm gif gpm gtk gtk2
imagemagick imlib java jikes jpeg kde lcms ldap libg++ libwww mad maildir
matroska matrox md5sum mdb memlimit mmx mng mozsvg mpeg mpeg4 ncurses nls oav
offensive oggvorbis openal opengl pam pda pdflib perl pic png ppds psyco python
qt quicktime readline samba sdl slang slp spell sse ssl stencil-buffer tcpd
theora tiff transcode truetype unicode usb videos wmf wxwindows x86 xml xml2
xmms xv xvid zlib"
Comment 1 Simon Strandman 2004-06-15 09:30:18 UTC
I have av very similar problem. Arts compiled fine but kdelibs-3.2.3 failed with this error:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop 
-I../../kio/kssl -I../../arts/kde -I../.. -I/usr/kde/3.2/include/arts -I../../dcop -I../../libltdl -I../../kdefx 
-I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include 
-I/usr/X11R6/include -I/usr/kde/3.2/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long 
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math 
-fprefetch-loop-arrays -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o artskde.lo artskde.cc
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings 
-DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libartskde.la -rpath /usr/kde/3.2/lib 
-L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined 
-version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo 
kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo 
kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl
grep: /var/tmp/portage/fontconfig-2.2.2/image//usr/lib/libfontconfig.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/fontconfig-2.2.2/image//usr/lib/libfontconfig.la: No such file or directory
libtool: link: `/var/tmp/portage/fontconfig-2.2.2/image//usr/lib/libfontconfig.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3/work/kdelibs-3.2.3/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3/work/kdelibs-3.2.3/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.3/work/kdelibs-3.2.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.2.3 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make

I recompiled freetype, fontconfig and arts and that solved the problem!
Comment 2 foser (RETIRED) gentoo-dev 2004-06-15 09:55:52 UTC
it happens sometimes, non-reproducable libtool weirdness...