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

Bug 927763

Summary: media-video/ffmpeg: ERROR: cuda_llvm requested but not found
Product: Gentoo Linux Reporter: look
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexandref75, cctsurf, chewi, ionen, look
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build environment
The emerge --info output
The ffbuild config.log
The build log.

Description look 2024-03-25 03:17:07 UTC
Created attachment 888482 [details]
Build environment

Hello. I just updated my profile and recompiled my system and 12 packages failed to build, for varying reasons. One of them is FFMPEG. I get the error:
ERROR: cuda_llvm requested but not found

I have attached some relevant files.
Comment 1 look 2024-03-25 03:17:55 UTC
Created attachment 888483 [details]
The emerge --info output
Comment 2 look 2024-03-25 03:18:30 UTC
Created attachment 888484 [details]
The ffbuild config.log
Comment 3 look 2024-03-25 03:18:49 UTC
Created attachment 888485 [details]
The build log.
Comment 4 look 2024-03-25 03:19:05 UTC
I also added -ggdb3 globally before I rebuilt too.
Comment 5 look 2024-03-25 20:10:52 UTC
I just tried re-emerging my system without -gddb3 and ffmpeg still failed.
Comment 6 Alexandre Ferreira 2024-03-26 12:28:32 UTC
Same error here. No changes beyond the new profile and recompiling everything.
Comment 7 Ionen Wolkens gentoo-dev 2024-03-26 15:04:51 UTC
(In reply to look from comment #2)
> Created attachment 888484 [details]
> The ffbuild config.log
error: option 'cf-protection=return' cannot be specified on this target
Comment 8 Ionen Wolkens gentoo-dev 2024-03-26 15:07:08 UTC
(In reply to Ionen Wolkens from comment #7)
> (In reply to look from comment #2)
> > Created attachment 888484 [details]
> > The ffbuild config.log
> error: option 'cf-protection=return' cannot be specified on this target

Haven't tried, but this was likely already fixed by:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a026c9c2fc47
Author: Sv. Lockal <lockalsash@gmail.com>
Date:   Tue Mar 26 09:36:40 2024

    sys-devel/clang-common: add -Xarch_host to fix GPU compilation
Comment 9 look 2024-03-27 12:47:35 UTC
I just re-emerged world and I can now compile ffmpeg so this is now fixed for me.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-28 04:06:42 UTC

*** This bug has been marked as a duplicate of bug 927752 ***