<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>50076</bug_id>
          
          <creation_ts>2004-05-05 00:30 0000</creation_ts>
          <short_desc>fontconfig-2.2.2: libfontconfig.la contains incorrect information</short_desc>
          <delta_ts>2005-07-17 13:06:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>2004.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mathfox@xs4all.nl</reporter>
          <assigned_to>fonts@gentoo.org</assigned_to>
          <cc>joecool1029@gmail.com</cc>
    
    <cc>linuxgabe@yahoo.com</cc>
    
    <cc>martin.eisenhardt@uni-bayreuth.de</cc>

      

      
          <long_desc isprivate="0">
            <who>mathfox@xs4all.nl</who>
            <bug_when>2004-05-05 00:30:09 0000</bug_when>
            <thetext>The file /usr/lib/libfontconfig.la contains the following lines:

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

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&apos; seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la&apos; seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la&apos; seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la&apos; seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la&apos; seems to be moved
libtool: link: warning: `/usr/lib/libfontconfig.la&apos; seems to be moved
libtool: link: warning: library `/usr/lib/libfontconfig.la&apos; was moved.
grep: /var/tmp/portage/fontconfig-2.2.2/image//usr/lib/libfontconfig.la: No such
file or directory
/bin/sed: can&apos;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&apos; is not a
valid libtool archive


Expected Results:  
build without errors.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>smiler@lanil.mine.nu</who>
            <bug_when>2004-05-06 05:05:14 0000</bug_when>
            <thetext>This makes libgnomeprintui-2.6.1 go bad.
See this comment for more info: http://bugs.gentoo.org/show_bug.cgi?id=49046#c6</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-05-06 06:00:43 0000</bug_when>
            <thetext>thats another bug, describing another problem.

rebuild your fontconfig, it is probably not reproducable.

Is this a fresh install or something ? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mathfox@xs4all.nl</who>
            <bug_when>2004-05-06 06:19:39 0000</bug_when>
            <thetext>It was a fresh install. Rebuilding fontconfig (emerging again) didn&apos;t solve the problem; downgrading to an older version and upgrading afterwards worked to fix it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-05-06 07:05:41 0000</bug_when>
            <thetext>fresh install of what stage/livecd etc ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mathfox@xs4all.nl</who>
            <bug_when>2004-05-06 07:36:20 0000</bug_when>
            <thetext>I did a &quot;stage3&quot; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>martin.eisenhardt@uni-bayreuth.de</who>
            <bug_when>2004-06-16 07:55:37 0000</bug_when>
            <thetext>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&apos;t want to see in Gentoo.

Thanks in advance!

Martin</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>martin.eisenhardt@uni-bayreuth.de</who>
            <bug_when>2004-06-16 07:57:20 0000</bug_when>
            <thetext>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&apos;t want to see in Gentoo.

Thanks in advance!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mathfox@xs4all.nl</who>
            <bug_when>2004-06-17 03:19:54 0000</bug_when>
            <thetext>On request of Martin Eisenhardt I upped the severety of this bug to critical and changed the architectures to &quot;all&quot;. Martin is unable to install KDE due to this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-06-17 09:47:51 0000</bug_when>
            <thetext>i bet it&apos;s some version of libtool messing up or something...

try editing the ebuild .. replace the einstall part with &apos;make DESTDIR=${D} install || die&apos;, see if that solves the incorrect paths.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>martin.eisenhardt@uni-bayreuth.de</who>
            <bug_when>2004-06-18 03:00:19 0000</bug_when>
            <thetext>Hi foser,

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

&lt;snip&gt;

/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&apos;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&apos; 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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2/arts&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2&apos;
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

&lt;/snip&gt;

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

Any suggestions?

Thanks in advance!
Martin</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-06-18 04:35:46 0000</bug_when>
            <thetext>the problem is you already compiled certain lower-level libs with the &apos;broken&apos; fontconfig references. 

Do a &apos;grep &quot;/var/tmp/portage/fontconfig&quot; /usr/lib/*.la&apos; , you should get some output and rebuild the packages that own those .la&apos;s .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2004-06-19 08:55:39 0000</bug_when>
            <thetext>*** Bug 54234 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-06-19 09:48:24 0000</bug_when>
            <thetext>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 &apos;move to destdir&apos; bug to get that some exposure again..

*** This bug has been marked as a duplicate of 37782 ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>