Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931135

Summary: media-libs/avidemux-core-2.8.1-r1 fails to compile with >=media-libs/nv-codec-headers-12 - ERROR: nvenc requested but not found
Product: Gentoo Linux Reporter: Tiago Resende <t.resende9>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal CC: ervin.peters, t.resende9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge --info output
ebuild environment file

Description Tiago Resende 2024-05-03 14:18:37 UTC
Created attachment 892209 [details]
Build log

With media-libs/nv-codec-headers-12.1.14.0 installed, media-libs/avidemux-core-2.8.1-r1 fails to compile with USE="nvenc" due to it including ffmpeg-4.4.2, which does not support nvenc SDK 12. The error message is:

CMake Error at /var/tmp/portage/media-libs/avidemux-core-2.8.1-r1/work/avidemux2-2.8.1/cmake/admFFmpegBuild_helpers.cmake:292 (MESSAGE):
  configure output is <ERROR: nvenc requested but not found

Downgrading to media-libs/nv-codec-headers-11.1.5.2 fixes the issue, though it prevents media-video/ffmpeg-6 from being built. Version 11.1.5.3 should be compatible with both ffmpeg-4 and ffmpeg-6, but there is no ebuild currently available for it.

emerge -pqv '=media-libs/avidemux-core-2.8.1-r1::gentoo'
[ebuild   R   ] media-libs/avidemux-core-2.8.1-r1  USE="nls nvenc vdpau xv -debug -sdl (-system-ffmpeg) -vaapi"

Working directory: '/var/tmp/portage/media-libs/avidemux-core-2.8.1-r1/work/avidemux2-2.8.1/avidemux_core_build'
Comment 1 Tiago Resende 2024-05-03 14:19:25 UTC
Created attachment 892210 [details]
emerge --info output
Comment 2 Tiago Resende 2024-05-03 14:20:06 UTC
Created attachment 892211 [details]
ebuild environment file
Comment 3 Ervin Peters 2024-06-02 06:17:31 UTC
This appears independently of the nvenc use flag state.