Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669198 - media-video/smplayer-18.x.x - wrong depends calculation
Summary: media-video/smplayer-18.x.x - wrong depends calculation
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-21 13:23 UTC by Boris Vingradov
Modified: 2019-03-16 06:21 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 Boris Vingradov 2018-10-21 13:23:41 UTC
Than I install smplayer on clear system with previosly installed media-video/mpv it's ignore mpv and already install media-video/mplayer. But than I install net-misc/youtube-dl mplayer not needed for success instalation.

I think there's depend bug:

RDEPEND="${COMMON_DEPEND}
    || (
        media-video/mplayer[bidi?,libass,png,X]
        (
            >=media-video/mpv-0.15.0[libass,X]
            >=net-misc/youtube-dl-2014.11.26
        )
    )

Rule:
An any-of group, which consists of the string ||, followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis
Comment 1 Jeroen Roovers gentoo-dev 2018-10-24 04:30:58 UTC
Does media-video/mpv have USE="libass X"?
Comment 2 Boris Vingradov 2018-10-24 15:18:14 UTC
(In reply to Jeroen Roovers from comment #1)
> Does media-video/mpv have USE="libass X"?

Yes, it does.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2019-03-11 07:25:46 UTC
Please add the out of: emerge -pv smplayer mplayer
Comment 4 Boris Vingradov 2019-03-13 18:41:04 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> Please add the out of: emerge -pv smplayer mplayer

[ebuild  N     ] app-i18n/enca-1.19-r1::gentoo  USE="iconv -doc -recode -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] media-video/mplayer-1.3.0-r5::gentoo  USE="X a52 alsa cdio dts dvd dvdnav enca encode gif iconv ipv6 jpeg libass mad mng mp3 network opengl osdmenu png pulseaudio sdl shm truetype unicode vorbis x264 xscreensaver xv xvid -aalib (-altivec) (-aqua) -bidi -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -doc -dv -dvb -faac -faad -fbcon -ftp -ggi -gsm -jack -joystick -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -nas -nut -openal -oss -pnm -pvr -radio -rar -rtc -rtmp -samba (-selinux) -speex -tga -theora -toolame -tremor -twolame -v4l -vcd -vdpau (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_X86="mmx mmxext sse sse2 -3dnow -3dnowext -ssse3" VIDEO_CARDS="-mga (-tdfx)" 0 KiB
[ebuild   R    ] media-video/smplayer-19.1.0-r1::gentoo  USE="-autoshutdown -bidi -debug -mpris" 0 KiB
Comment 5 Michael Palimaka (kensington) gentoo-dev 2019-03-16 06:21:45 UTC
I think I understand now.

smplayer requires mplayer OR (mpv AND youtube-dl). You had mpv installed, but not youtube-dl.

When faced with an any-of group with neither item. satisfied, portage typically prefers the left-hand item (hence pulling in mplayer).