Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71441 - digikamplugins build fails looking for kde3.2 version of libkdeprint.la
Summary: digikamplugins build fails looking for kde3.2 version of libkdeprint.la
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-16 13:43 UTC by Paul Worrall
Modified: 2004-11-28 14:41 UTC (History)
0 users

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 Paul Worrall 2004-11-16 13:43:26 UTC
/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 -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o digikamplugin_acquireimages.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  plugin_acquireimages.lo acquireimagedialog.lo screenshotdialog.lo screenshotdialog.moc.lo acquireimagedialog.moc.lo plugin_acquireimages.moc.lo  -lkparts -ldigikam -ltiff
grep: /usr/kde/3.2/lib/libkdeprint.la: No such file or directory
/bin/sed: can't read /usr/kde/3.2/lib/libkdeprint.la: No such file or directory
libtool: link: `/usr/kde/3.2/lib/libkdeprint.la' is not a valid libtool archive
make[2]: *** [digikamplugin_acquireimages.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/digikamplugins-0.6.2/work/digikamplugins/acquireimages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/digikamplugins-0.6.2/work/digikamplugins'
make: *** [all] Error 2

!!! ERROR: media-plugins/digikamplugins-0.6.2 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make


libkdeprint.la is in /usr/kde/3.3/lib/

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge digikamplugins




Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1-prw-r2 i686)
=================================================================
System uname: 2.6.9-gentoo-r1-prw-r2 i686 AMD Athlon(TM) XP 2700+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://www.gigaload.org/gentoo.org/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdparanoia crypt cscope cups encode
esd f77 fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2
imagemagick imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms
xv zlib video_cards_radeon linguas_en_GB"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-11-18 10:24:55 UTC
Do you have something under /usr/kde/3.2? or at least do you have /usr/kde/3.2/include/kwin.h? (it's used by the eclass to check for which KDEDIR to use.). 

And what does an 'emerge -pv =kdelibs-3.2*' reports?

If it says that the kdelibs-3.2 are installed then looks like your system have, for a strange reason (.h are not affected by fix_libtool_files.sh), some garbage inside.
Comment 2 Paul Worrall 2004-11-28 14:31:43 UTC
Thanks for the response.

I have quite a lot of stuff under /usr/kde/3.2, but kwin.h is only 
under /usr/kde/3.3/include


wyvern root # emerge -pv =kdelibs-3.2*

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  NS   ] kde-base/arts-1.2.3  +alsa +arts -artswrappersuid -debug +esd 
+mad +oggvorbis -xinerama 0 kB
[ebuild  NS   ] kde-base/kdelibs-3.2.3-r2  +alsa +arts +cups -debug -doc -ipv6 
-ldap +ssl -xinerama 0 kB

Total size of downloads: 0 kB

And:

wyvern root # echo $KDEDIR
/usr/kde/3.3

I re-emerged digikam and now digikamplugins emerges ok.  Don't know why.
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-11-28 14:41:18 UTC
I think that the reason was that the plugins wants to links against libdigikam that was linked against kde 3.2 libs that were removed. So the right solution was to rebuild digikam so it linked against the right libs.