Bug 50076 - fontconfig-2.2.2: libfontconfig.la contains incorrect information
|
Bug#:
50076
|
Product: Gentoo Linux
|
Version: 2004.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: DUPLICATE
|
Assigned To: fonts@gentoo.org
|
Reported By: mathfox@xs4all.nl
|
|
Component: Library
|
|
|
URL:
|
|
Summary: fontconfig-2.2.2: libfontconfig.la contains incorrect information
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-05-05 00:30 0000
|
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.
thats another bug, describing another problem.
rebuild your fontconfig, it is probably not reproducable.
Is this a fresh install or something ?
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.
fresh install of what stage/livecd etc ?
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.
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
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!
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.
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.
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
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 .
*** Bug 54234 has been marked as a duplicate of this bug. ***
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 ***