Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86186 - libkabinterfaces.so.1 missing (kdepim-kresources)
Summary: libkabinterfaces.so.1 missing (kdepim-kresources)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 14:48 UTC by Kenyon Ralph
Modified: 2005-06-08 10:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kdepim-kresources-3.4.0.ebuild (kdepim-kresources-3.4.0.ebuild,1.25 KB, text/plain)
2005-03-26 11:56 UTC, Simone Gotti (RETIRED)
Details
Like the previous attachement, but calls the myconf section too. (kdepim-kresources-3.4.0.ebuild,1.27 KB, text/plain)
2005-04-29 04:44 UTC, Dan Armak (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenyon Ralph 2005-03-21 14:48:37 UTC
Running revdep-rebuild gives this:
  broken /usr/kde/3.4/lib/kde3/kabc_xmlrpc.so (requires libkabinterfaces.so.1 libkabinterfaces.so.1)
  broken /usr/kde/3.4/lib/libkabc_xmlrpc.so.1.0.0 (requires libkabinterfaces.so.1)
 done.


So it wants to fix it by doing this emerge:
emerge --oneshot --nodeps -vp =kde-base/kdepim-kresources-3.4.0

I've DONE that emerge and re-run revdep-rebuild, and it gives the same "broken" errors.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-21 16:27:56 UTC
herd: btw. RDEPENDS are 
kde-base/kaddressbook-3.4.0
kde-base/kdelibs-3.4.0
kde-base/ktnef-3.4.0
kde-base/libkcal-3.4.0
kde-base/libkdepim-3.4.0
kde-base/libkpimexchange-3.4.0

but not 
kde-base/libkpgp, ...

since when we do not distinct? :)
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-24 10:10:36 UTC
what's the output of
# ldd /usr/kde/3.4/lib/libkabc_xmlrpc.so.1.0.0

and
# locate libkabinterfaces
Comment 3 Kenyon Ralph 2005-03-24 10:16:26 UTC
# ldd /usr/kde/3.4/lib/libkabc_xmlrpc.so.1.0.0
        linux-gate.so.1 =>  (0xffffe000)
        libkabinterfaces.so.1 => not found
        libkdepim.so.1 => /usr/kde/3.4/lib/libkdepim.so.1 (0xa7e73000)
        libkcal.so.2 => /usr/kde/3.4/lib/libkcal.so.2 (0xa7d58000)
        libktnef.so.1 => /usr/kde/3.4/lib/libktnef.so.1 (0xa7d45000)
        libkabc.so.1 => /usr/kde/3.4/lib/libkabc.so.1 (0xa7c9c000)
        libvcard.so.0 => /usr/kde/3.4/lib/libvcard.so.0 (0xa7c7a000)
        libkresources.so.1 => /usr/kde/3.4/lib/libkresources.so.1 (0xa7c5a000)
        libkparts.so.2 => /usr/kde/3.4/lib/libkparts.so.2 (0xa7c1c000)
        libkimproxy.so.0 => /usr/kde/3.4/lib/libkimproxy.so.0 (0xa7c0c000)
        libkio.so.4 => /usr/kde/3.4/lib/libkio.so.4 (0xa7910000)
        libkdeui.so.4 => /usr/kde/3.4/lib/libkdeui.so.4 (0xa765f000)
        libkdesu.so.4 => /usr/kde/3.4/lib/libkdesu.so.4 (0xa7646000)
        libkwalletclient.so.1 => /usr/kde/3.4/lib/libkwalletclient.so.1 (0xa7635000)
        libkdecore.so.4 => /usr/kde/3.4/lib/libkdecore.so.4 (0xa741f000)
        libDCOP.so.4 => /usr/kde/3.4/lib/libDCOP.so.4 (0xa73f0000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xa73db000)
        libutil.so.1 => /lib/libutil.so.1 (0xa73d7000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xa73bf000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xa738e000)
        libkdefx.so.4 => /usr/kde/3.4/lib/libkdefx.so.4 (0xa7362000)
        libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0xa6c87000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0xa6c28000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xa6c08000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xa6c00000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xa6bfb000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xa6bf1000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xa6bdd000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xa6bb3000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xa6b32000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xa6b06000)
        libdl.so.2 => /lib/libdl.so.2 (0xa6b01000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0xa6ac8000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xa6ab6000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xa69e0000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xa69d7000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xa69bf000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xa69ab000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xa69a3000)
        libz.so.1 => /lib/libz.so.1 (0xa6991000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0xa6988000)
        libqui.so.1 => /usr/qt/3/lib/libqui.so.1 (0xa6956000)
        libstdc++.so.6 => //usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.so.6 (0xa688c000)
        libm.so.6 => /lib/libm.so.6 (0xa6866000)
        libc.so.6 => /lib/libc.so.6 (0xa6736000)
        libgcc_s.so.1 => //usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libgcc_s.so.1 (0xa672d000)
        /lib/ld-linux.so.2 (0x75555000)

# locate libkabinterfaces
/usr/kde/3.3/lib/libkabinterfaces.la

And I ran updatedb just before doing the locate.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-24 15:14:05 UTC
So, it seems kdepim-kresources uses some libraries at compile time through KMCOMPILEONLY but don't require them as RDEPEND.

Can someone figure out exactly what needs to be added?
Comment 5 Kenyon Ralph 2005-03-24 16:53:39 UTC
Seems like a
qpkg -fp libkabinterfaces.so.1
on a working box would say which package gives that file, right?
Comment 6 Simone Gotti (RETIRED) gentoo-dev 2005-03-26 06:07:42 UTC
libkabinterfaces.so.1 is provided by kde-base/kaddressbook.

Like said by Carsten, kde-base/kaddressbook should be a DEPEND (and also an RDEPEND).

Carsten: libkgpg is needed for libqgpgme 

Gregorio, Carsten: kaddressbook (and many others) in KMCOMPILEONLY are there because some .h files needs to be generated. I used a DO_NOT_COMPILE directive inside src_compile to compile only these files and not the full kaddressbook again, but Dan removed these lines. This slowdowns a lot kdepim compilation... 

A better solution will be to change how the kde-meta eclass work, sedding out the "all:" and "install:" target instead of emptying the full makefile. So we can put kaddressbook under KMEXTRACTONLY and keep the makefiles (and the rules to generate the needed .h files) without compiling everything. But this will bring to a eclass change and without ecladd versioning this is bad to do. 

Dan: can we please readd the DO_NOT_COMPILE trick until we can freely change the eclass please?
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-26 08:16:48 UTC
>libkgpg is needed for libqgpgme 

which is part of kde-base/libkdenetwork. libkgpg is not a runtime dependency of kdepim-kresources
Comment 8 Simone Gotti (RETIRED) gentoo-dev 2005-03-26 08:31:21 UTC
Ok thanks, I'll remove it, I'd also readd the DO_NOT_COMPILE stuffs so the ebuild will compile in a lot of less time and I can test it without losing hours. 

Only if you are right of course. :D
Comment 9 Simone Gotti (RETIRED) gentoo-dev 2005-03-26 11:56:02 UTC
Created attachment 54540 [details]
kdepim-kresources-3.4.0.ebuild

I cleaned out a lot the ebuild, removing unneeded deps and adding kaddressbook
as a dep and using DO_NOT_COMPILE on knotes as only a noinst lib provided by it
is needed for the compilation.

There are other ebuilds from kdepim that should be cleaned in the same way.

If you can please test it and let me know if I can commit it.
Comment 10 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-13 02:39:22 UTC
Simone: I think it can be committed now...
Comment 11 Markus Tacker 2005-04-22 07:01:08 UTC
The -arts flag is ignored
# nice emerge -pv kdepim-kresources
[ebuild   R   ] kde-base/kdepim-kresources-3.4.0  -arts -debug -kdeenablefinal +kdexdeltas -xinerama 0 kB

...
checking for KDE... libraries /usr/kde/3.4/lib, headers /usr/kde/3.4/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/kde/3.4/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.4/bin/dcopidl2cpp
checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly or use
--without-arts to compile without aRts support (this will remove functionality).
Comment 12 Dan Armak (RETIRED) gentoo-dev 2005-04-22 12:35:41 UTC
> Dan: can we please readd the DO_NOT_COMPILE trick until we can freely change the eclass please?
Sorry. Yes. I originally removed this because I feel it's so ugly, but since
we've ended up not adding eclass support for this and since this is such a
performance problem in this case, please add it back.

About the arts issue: the code for this is in kde_src_compile section myconf.
The attached ebuild should read:
kde_meta-src-compile myconf configure
rather than:
kde_meta-src-compile configure

Other than that it's OK. Simone, if your removal of myconf wasn't deliberate,
this can be committed.
Comment 13 Markus Tacker 2005-04-28 05:39:13 UTC
> About the arts issue: the code for this is in kde_src_compile section myconf.
> The attached ebuild should read:
> kde_meta-src-compile myconf configure
> rather than:
> kde_meta-src-compile configure

Where do I put this?
Comment 14 Dan Armak (RETIRED) gentoo-dev 2005-04-29 04:44:48 UTC
Created attachment 57567 [details]
Like the previous attachement, but calls the myconf section too.

I mean like this.
Comment 15 Mike Nerone 2005-05-16 06:40:12 UTC
Ping...missing library problem persists.
Comment 16 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-08 07:25:40 UTC
All the dependencies are now listed in the ebuild, so everythng should work 
now. Any remaining problem? 
 
Comment 17 Kenyon Ralph 2005-06-08 08:15:11 UTC
It's not a problem for me anymore, but that's because I had to install
kaddressbook for a separate reason anyway.
Comment 18 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-08 10:08:33 UTC
kaddressbook is a dependency now... please reopen if the problem persists.