Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416675 - app-cdr/k3b-2.0.2-r2 automatic dependency on media-sound/lame-3.99.3
Summary: app-cdr/k3b-2.0.2-r2 automatic dependency on media-sound/lame-3.99.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-19 23:17 UTC by Petteri Räty (RETIRED)
Modified: 2012-05-23 20:58 UTC (History)
1 user (show)

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 Petteri Räty (RETIRED) gentoo-dev 2012-05-19 23:17:20 UTC
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.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2012-05-22 21:30:09 UTC
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.
Comment 2 Maciej Mrozowski gentoo-dev 2012-05-23 20:54:24 UTC
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).
Comment 3 Michael Palimaka (kensington) gentoo-dev 2012-05-23 20:58:38 UTC
(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