I try to emerge kmplayer and It fails. It seems it is looking for a library from kde 3.1, but I do not have installed that version, I have installed kde 3.2.2. Reproducible: Always Steps to Reproduce: 1.emerge -u kmplayer Actual Results: It starts compiling and at the end it fails with this: grep: /usr/kde/3.1/lib/libkdeprint.la: No such file or directory /bin/sed: can't read /usr/kde/3.1/lib/libkdeprint.la: No such file or directory libtool: link: `/usr/kde/3.1/lib/libkdeprint.la' is not a valid libtool archive make[2]: *** [libkmplayerkofficepart.la] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/kmplayer-0.8.2/work/kmplayer/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kmplayer-0.8.2/work/kmplayer' make: *** [all] Error 2 !!! ERROR: media-video/kmplayer-0.8.2 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: kmplayer should emerge withought a problem. Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -g -march=pentium3 -mmmx -pipe -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -g -march=pentium3 -mmmx -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc nostrip sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j9" 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 X509 acpi acpi4linux amd apache2 apm arts artswrappersuid autofs avi berkdb cdr composite crypt cups directfb dnd doc dvd encode esd fbcon foomaticdb gd gd-external gdbm gif gpm imagemagick imlib java jbig jpeg kde lcms libg++ libwww mad mikmod motif mozilla mozsvg mpeg music mysql ncurses nls nptl oci8 odbc oggvorbis opengl optional-tasks oss pam pdflib perl php pic png postgres python qt quicktime radeon rage128 readline samba sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype type1 usb wmf wxwindows x86 xml2 xmms xv xvid zlib" # qpkg -I -v kde kde-base/kdeutils-3.2.2 * kde-base/kde-3.2.2 * kde-base/kdeadmin-3.2.2 * kde-base/kdegraphics-3.2.2 * kde-base/kdetoys-3.2.2 * kde-base/kdegames-3.2.2 * kde-base/kdeartwork-3.2.2 * kde-base/kdeaccessibility-3.2.2 * kde-base/kdeedu-3.2.2 * kde-base/kdeaddons-3.2.2 * kde-base/arts-1.2.2 * kde-base/kdepim-3.2.2 * kde-base/kdenetwork-3.2.2 * kde-base/kdemultimedia-3.2.2-r1 * kde-base/kdelibs-3.2.2-r1 * kde-base/kde-env-3-r2 * kde-base/kdebase-3.2.2 * dev-util/kdevelop-3.0.1 * dev-util/kdevelop-3.0.3 *
You've got a file in /usr/lib or /usr/kde/3.2/lib that is pointing to this non-existant file. Try grepping for "3.1" in those directories and see if you can find the culprit.
/usr/lib> grep -rl "3.1/lib/libkdeprint.la" . 2> /dev/null ./kde3/kopete_spellcheck.la ./libkwordexportfilters.la ./libkofficecore.la ./libkotext.la ./libkivioconnectortool.la ./libkiviozoomtool.la ./libkformula.la ./kformulamain.la ./kpresenter.la ./libkopainter.la ./libkivioselecttool.la ./libkochart.la ./kword.la ./kivio.la ./kontour.la ./libkofficeui.la ./kchart.la ./libkugarpart.la ./libkiviotexttool.la ./libkugar.la ./koshell.la ./kspread.la ./karbon.la The funny thing is I do not have koffice installed. I don't know why these .la files are there. Maybe I installed and uninstalled koffice and these files where not uninstalled? I don't know why kmplayer uses anything from koffice. I remerged koffice and tried again and it works. Thanks.
This is not an issue for me anymore, I'm going to close the bug so it is not on your face. Thanks for your help.