Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671084 - media-video/obs-studio depends on media-video/ffmpeg[nvenc] which may not exist
Summary: media-video/obs-studio depends on media-video/ffmpeg[nvenc] which may not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-13 16:03 UTC by Craig Andrews
Modified: 2018-11-21 08:10 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 Craig Andrews gentoo-dev 2018-11-13 16:03:19 UTC
media-video/ffmpeg-4 doesn't have an nvenc use flag; instead, it has a video_cards_nvidia use flag. See bug 671040

Originally reported at https://forums.gentoo.org/viewtopic-t-1089320-highlight-nvenc.html
Comment 1 Craig Andrews gentoo-dev 2018-11-13 16:06:55 UTC
Looks like this was already fixed for -9999 in https://github.com/gentoo/gentoo/commit/e3fd6616680a91a2882c24d830a7f191f4aa77b7 - it just hasn't been applied to the release ebuild yet.
Comment 2 Chiitoo gentoo-dev 2018-11-13 16:37:49 UTC
(In reply to Craig Andrews from comment #1)
> it just hasn't been applied to the release ebuild yet.

It was.  :]

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3a0897ea8dabf75455760193f004e9c9839a70

But yeah, guess it's time to look into re-adding it.

Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2018-11-13 20:33:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e217c8c785e711fc69680129a5701cd00d800786

commit e217c8c785e711fc69680129a5701cd00d800786
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-13 16:10:42 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-13 20:33:06 +0000

    media-video/obs-studio: Support ffmpeg 4
    
    The USE="nvenc" in '>=media-video/ffmpeg-4' has been replaced with
    'video_cards_nvidia'.
    
    Closes: https://bugs.gentoo.org/671084
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-video/obs-studio/obs-studio-21.1.2.ebuild | 7 ++++++-
 media-video/obs-studio/obs-studio-22.0.3.ebuild | 7 ++++++-
 media-video/obs-studio/obs-studio-9999.ebuild   | 7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)
Comment 4 Kamen Dokov 2018-11-21 08:10:24 UTC
Now ffmpeg wants to upgrade nvidia-drivers to an incompatible version!


emerge -pv ffmpeg

These are the packages that would be merged, in order:

Calculating dependencies                   ... done!
[ebuild     U #] x11-drivers/nvidia-drivers-410.78:0/410::gentoo [340.107:0/340::gentoo] USE="X acpi driver%* kms%* multilib tools uvm%* -compat% -gtk3% -pax_kernel -static-libs -wayland%" ABI_X86="32 (64) (-x32)" 106.504 KiB
[ebuild  N     ] media-libs/nv-codec-headers-8.1.24.2::gentoo  ABI_X86="32 (64) (-x32)" 53 KiB
[ebuild     U  ] media-video/ffmpeg-4.1:0/56.58.58::gentoo [3.4.4:0/55.57.57::gentoo] USE="X alsa bzip2 encode gpl hardcoded-tables iconv mp3 network opencl opengl openssl postproc pulseaudio sdl speex svg threads truetype vaapi vdpau vorbis x264 xcb xvid zlib (-altivec) -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2% -cpudetection -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libaom% -libass -libcaca -libdrm -libilbc -libressl% -librtmp -libsoxr -libv4l -lv2% -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -openh264 -opus -oss -pic -rubberband -samba -snappy -ssh -static-libs -test -theora -twolame -v4l -vpx -wavpack -webp -x265 -zeromq -zimg -zvbi (-celt%) (-nvenc%)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="nvidia%*" 10.437 KiB

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 116.994 KiB

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by media-libs/nv-codec-headers-8.1.24.2::gentoo
# required by media-video/ffmpeg-4.1::gentoo[video_cards_nvidia]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/nvidia-drivers:
=x11-drivers/nvidia-drivers-410.78