After depcleaning lame I found the following problem: >>> package: media-sound/lame-3.99.3 * - /usr/lib/libmp3lame.so.0 * - /usr/lib/libmp3lame.so.0.0.0 * used by /usr/lib/kde4/k3blameencoder.so (app-cdr/k3b-2.0.2-r2) pena overlays # emerge -pv k3b These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-cdr/k3b-2.0.2-r2 USE="(-aqua) -debug -dvd -emovix -encode -ffmpeg -flac -handbook -lame -mad -musepack -sndfile -sox -taglib -vcd -vorbis -wav" LINGUAS="-ast -be -bg -ca -ca@valencia -cs -csb -da -de -el -en_GB -eo -es -et -eu -fi -fr -ga -gl -he -hi -hne -hr -hu -is -it -ja -km -ko -ku -lt -mai -nb -nds -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -sk -sl -sv -th -tr -uk -zh_CN -zh_TW" 0 kB pena overlays # qlist k3b | grep lame /usr/lib/kde4/kcm_k3blameencoder.so /usr/lib/kde4/k3blameencoder.so /usr/share/kde4/services/kcm_k3blameencoder.desktop /usr/share/kde4/services/k3blameencoder.desktop It doesn't look like the use flag is respected by the build system or the ebuild.
This is now fixed in CVS, thank-you for the report. + 22 May 2012; Michael Palimaka <kensington@gentoo.org> +k3b-2.0.2-r3.ebuild, + -k3b-2.0.2-r2.ebuild: + Properly avoid automagic dependencies, fixing bug #416675 by Petteri Räty + <betelgeuse@gentoo.org>. Add REQUIRED_USE to prevent use flag combinations + that do nothing. Remove old.
Too bad we didn't get build.log for this. It would be interested to see which variables were passed to cmake (they may have been fine).
(In reply to comment #2) > Too bad we didn't get build.log for this. > It would be interested to see which variables were passed to cmake (they may > have been fine). The default for lame is on, and it was never turned off in the ebuild if encode was disabled: if use encode; then mycmakeargs+=( $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN) $(cmake-utils_use lame K3B_BUILD_LAME_ENCODER_PLUGIN) $(cmake-utils_use sox K3B_BUILD_SOX_ENCODER_PLUGIN) ) fi