Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50076 - fontconfig-2.2.2: libfontconfig.la contains incorrect information
Summary: fontconfig-2.2.2: libfontconfig.la contains incorrect information
Status: RESOLVED DUPLICATE of bug 37782
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
: 54234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-05 00:30 UTC by Peter `MathFox' Roozemaal
Modified: 2005-07-17 13:06 UTC (History)
3 users (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 Peter `MathFox' Roozemaal 2004-05-05 00:30:09 UTC
The file /usr/lib/libfontconfig.la contains the following lines:

# Directory that this library needs to be installed in:
libdir='/var/tmp/portage/fontconfig-2.2.2/image//usr/lib'

This causes problems later on when emerging gnome and kde.

Reproducible: Always
Steps to Reproduce:
emerge fontconfig

emerge gnome; emerge kde
Actual Results:  
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la' seems to be moved
libtool: link: warning: library `/usr/lib/libfontconfig.la' was moved.
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


Expected Results:  
build without errors.
Comment 1 Christian Axelsson 2004-05-06 05:05:14 UTC
This makes libgnomeprintui-2.6.1 go bad.
See this comment for more info: http://bugs.gentoo.org/show_bug.cgi?id=49046#c6
Comment 2 foser (RETIRED) gentoo-dev 2004-05-06 06:00:43 UTC
thats another bug, describing another problem.

rebuild your fontconfig, it is probably not reproducable.

Is this a fresh install or something ? 
Comment 3 Peter `MathFox' Roozemaal 2004-05-06 06:19:39 UTC
It was a fresh install. Rebuilding fontconfig (emerging again) didn't solve the problem; downgrading to an older version and upgrading afterwards worked to fix it.
Comment 4 foser (RETIRED) gentoo-dev 2004-05-06 07:05:41 UTC
fresh install of what stage/livecd etc ?
Comment 5 Peter `MathFox' Roozemaal 2004-05-06 07:36:20 UTC
I did a "stage3" install from install-amd64-minimal-2004.1.iso and did the rest of the installation over the internet. I built some X applications before I built the X server.
Comment 6 Martin Eisenhardt 2004-06-16 07:55:37 UTC
Same problem over here. I did a clean and fresh stage 1 install on a P3 system, and I got the same error messages.

I tried the workaround suggested by a previous post (downgrading and upgrading) - but guess what? It did not work.

Please, see to it that this bug is resolved as it blocks the compilation of KDE, and this is something we don't want to see in Gentoo.

Thanks in advance!

Martin
Comment 7 Martin Eisenhardt 2004-06-16 07:57:20 UTC
Same problem over here. I did a clean and fresh stage 1 install on a P3 system, and I got the same error messages.

I tried the workaround suggested by a previous post (downgrading and upgrading) - but guess what? It did not work.

Please, see to it that this bug is resolved as it blocks the compilation of KDE, and this is something we don't want to see in Gentoo.

Thanks in advance!
Comment 8 Peter `MathFox' Roozemaal 2004-06-17 03:19:54 UTC
On request of Martin Eisenhardt I upped the severety of this bug to critical and changed the architectures to "all". Martin is unable to install KDE due to this bug.
Comment 9 foser (RETIRED) gentoo-dev 2004-06-17 09:47:51 UTC
i bet it's some version of libtool messing up or something...

try editing the ebuild .. replace the einstall part with 'make DESTDIR=${D} install || die', see if that solves the incorrect paths.
Comment 10 Martin Eisenhardt 2004-06-18 03:00:19 UTC
Hi foser,

your tip resolved the bug just a little bit; fontconfig does compile and install now, but "emerge kde" stops while emerging kdelibs with the following statement:

<snip>

/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 -Wco
nversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse -pipe -fomit-frame-po
inter -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_CO
MPAT -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 -W
l,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo ka
udiorecordstream.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.2-r1/work/kdelibs-3.2.2/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2'
make: *** [all] Error 2

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

</snip>

IMHO, there are still some issues with library paths or something similar ...

Any suggestions?

Thanks in advance!
Martin
Comment 11 foser (RETIRED) gentoo-dev 2004-06-18 04:35:46 UTC
the problem is you already compiled certain lower-level libs with the 'broken' fontconfig references. 

Do a 'grep "/var/tmp/portage/fontconfig" /usr/lib/*.la' , you should get some output and rebuild the packages that own those .la's .
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-19 08:55:39 UTC
*** Bug 54234 has been marked as a duplicate of this bug. ***
Comment 13 foser (RETIRED) gentoo-dev 2004-06-19 09:48:24 UTC
well, i guess this happened on a install CD maybe or it is related to certain version of parts of the toolchain. I fixed fontconfig-2.2.2 ebuild to use DESTDIR from now on, that should prevent this happening in the future.

making this a dupe of the 'move to destdir' bug to get that some exposure again..

*** This bug has been marked as a duplicate of 37782 ***