kdemultimdia fails to emerge. Even without USE="speex" it fails: /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o mpeg_decoder.lo mpeg_decoder.cpp speex_decoder.cpp: In member function `virtual bool aKode::SpeexDecoder::readFrame(aKode::AudioFrame*)': speex_decoder.cpp:222: error: cannot convert `float*' to `short int*' for argument `3' to `int speex_decode(void*, SpeexBits*, short int*)' speex_decoder.cpp:231: error: cannot convert `float*' to `short int*' for argument `1' to `void speex_decode_stereo(short int*, int, SpeexStereoState*)' make[4]: *** [speex_decoder.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta1/work/kdemultimedia-3.2.91/akode/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta1/work/kdemultimedia-3.2.91/akode/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta1/work/kdemultimedia-3.2.91/akode' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta1/work/kdemultimedia-3.2.91' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.3.0_beta1 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make Gentoo Base System version 1.4.16 Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3
What version of speex do you have? kdemultimedia expects the interface of 1.0.2 or 1.1.5, not the one of 1.1.4. For the ebuild: there should be something like speex ( >=media-libs/speex-1.1.5 ) in DEPEND however, there's no configure switch, so this is yet another case of compilation depending upon what's installed on the system.
I had speex-1.0.2 on my system. After adding >=media-libs/speex-1.1.5 to the ebuild (if there's no configure-switch for speex, why make it an optional dependency :)), kdemultimedia compiles fine. So it seems to have trouble with speex-1.0.2 as well.
Compilation also fails for me. I see the error reported when trying to emerge kdemultimedia-3.3.0_beta1 while KDE is running. When KDE is not running, I get a link error at the end of the compilation for "juk": "libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libstdc++.la`" I have gcc-3.4.1 currently installed and have compiled all of KDE 3.3 beta1 with that. This is the only compilation error so far I haven't been able to work around.
changed dep to: speex? ( media-libs/speex !=media-libs/speex-1.1.4 )