kdelibs bootstrap problem with meinproc revisited

Michael Nottebrock michaelnottebrock at gmx.net
Sun Jun 13 21:52:02 BST 2004


This problem is not really new, however, while the workaround for us (on 
FreeBSD) has always been to just disable the doc build (so meinproc isn't run 
at all), makekdewidgets now is used in a similar fashion, and breaks in a 
similar fashion. This went unnoticed for four months because nobody bothered 
to build kdelibs in a clean environment (without any libraries from previous 
versions visible to the runtime linker) from scratch, until now.

Since I think other platforms will be affected as well, we really need a 
proper fix for this...

Here's a description of the problem with meinproc (it's first in the build, so 
I have the data ready here right now):

Kdelibs build fails here:

gmake[3]: Entering directory `/usr/home/lofi/kdelibs/doc/kspell'
../../kdoctools/meinproc --srcdir=../../kdoctools --check --cache 
index.cache.bz2 ./index.docbook
/libexec/ld-elf.so.1: Shared object "libkdeui.so.6" not found

What happens is that the rt-meinproc in kdoctools/.libs gets linked like by 
the libtool wrapper script like this...

        libkio.so.6 => /usr/home/lofi/kdelibs/kio/.libs/libkio.so.6 
(0x2807b000)
        libkdeui.so.6 => /usr/home/lofi/kdelibs/kdeui/.libs/libkdeui.so.6 
(0x28355000)
        libkdesu.so.6 => /usr/home/lofi/kdelibs/kdesu/.libs/libkdesu.so.6 
(0x285cd000)
        libkwalletclient.so.1 
=> /usr/home/lofi/kdelibs/kwallet/client/.libs/libkwalletclient.so.1 
(0x285e7000)
        libkdecore.so.6 
=> /usr/home/lofi/kdelibs/kdecore/.libs/libkdecore.so.6 (0x285f5000)
        libDCOP.so.6 => /usr/home/lofi/kdelibs/dcop/.libs/libDCOP.so.6 
(0x287f3000)
        libutil.so.4 => /lib/libutil.so.4 (0x28822000)
        libart_lgpl_2.so.5 => /usr/local/lib/libart_lgpl_2.so.5 (0x2882e000)
        libkdefx.so.6 => /usr/home/lofi/kdelibs/kdefx/.libs/libkdefx.so.6 
(0x28843000)
        libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x2886c000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28f2a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28f4f000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28f5e000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x29026000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x2902f000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x29046000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x2904e000)
        libxslt.so.2 => /usr/local/lib/libxslt.so.2 (0x2905d000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x2908b000)
        libz.so.2 => /lib/libz.so.2 (0x29178000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x29186000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x29275000)
        libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x29293000)
        libm.so.2 => /lib/libm.so.2 (0x2934f000)
        libc_r.so.5 => /usr/lib/libc_r.so.5 (0x29368000)
        libc.so.5 => /lib/libc.so.5 (0x2938c000)
        libkdeui.so.6 => not found (0x0)
        libkdesu.so.6 => not found (0x0)
        libkwalletclient.so.1 => not found (0x0)
        libkdecore.so.6 => not found (0x0)
        libDCOP.so.6 => not found (0x0)
        libkdefx.so.6 => not found (0x0)
        libkdecore.so.6 => not found (0x0)
        libDCOP.so.6 => not found (0x0)
        libkdefx.so.6 => not found (0x0)
        libkdecore.so.6 => not found (0x0)
        libDCOP.so.6 => not found (0x0)
        libkdefx.so.6 => not found (0x0)
        libkdecore.so.6 => not found (0x0)
        libDCOP.so.6 => not found (0x0)
        libkdefx.so.6 => not found (0x0)
        libDCOP.so.6 => not found (0x0)
        libkdefx.so.6 => not found (0x0)
        libmng.so.1 => /usr/local/lib/libmng.so.1 (0x29466000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x294c4000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x29531000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x29547000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x2954b000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x2955d000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2956f000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x295d9000)
        liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x29601000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x2961c000)
        libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x2966d000)

... and FreeBSD's runtime linker barfs on the unresolved dependencies.

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040613/2e6d595b/attachment.sig>


More information about the kde-core-devel mailing list