Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931135 - media-libs/avidemux-core-2.8.1-r1 fails to compile with >=media-libs/nv-codec-headers-12 - ERROR: nvenc requested but not found
Summary: media-libs/avidemux-core-2.8.1-r1 fails to compile with >=media-libs/nv-codec...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 14:18 UTC by Tiago Resende
Modified: 2024-06-02 06:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,13.12 KB, text/x-log)
2024-05-03 14:18 UTC, Tiago Resende
Details
emerge --info output (emerge-info.txt,19.12 KB, text/plain)
2024-05-03 14:19 UTC, Tiago Resende
Details
ebuild environment file (environment,93.95 KB, text/plain)
2024-05-03 14:20 UTC, Tiago Resende
Details

Note You need to log in before you can comment on or make changes to this bug.
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.