Hello, ffmpeg 6.1.1-r8 and the previous stable one (I presume it was 6.1.1-r5) both can't be compiled with amf support in. 6.1.1-r7 and 7.0.1 (both unstable) compile fine with amf support built in. This might be a regression, so I was advised to file a bug report. Thanks for your time.
Please include the full build.log and emerge --info.
Created attachment 898092 [details] emerge --info
Created attachment 898093 [details] emerge -vp ffmpeg ffmpeg builds fine, but it's not possible to use amf as a flag, no matter what I try (on the aforementioned versions).
Created attachment 898095 [details] build log of ffmpeg 6.1.1-r5
I think I get what's happening now. $ rg ffmpeg.*amf profiles/ profiles/features/musl/package.use.mask:125:media-video/ffmpeg amf profiles/arch/base/package.use.mask:196:media-video/ffmpeg amf profiles/arch/amd64/package.use.mask:210:media-video/ffmpeg -amf profiles/arch/amd64/package.use.stable.mask:85:media-video/ffmpeg amf
If that's the issue, I don't think it's quite a bug, just jarring UX with package.use.stable.mask. That said, p.use.stable.mask is so confusing that we should try to avoid it where we can, so I'll file a stablereq for the needed deps..
media-video/amdgpu-pro-amf now has a stable version, the stable mask can be dropped
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce13d2713acd7c0139e3e3614d4d6e67c5fcc82a commit ce13d2713acd7c0139e3e3614d4d6e67c5fcc82a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-02 02:11:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-02 02:11:05 +0000 profiles/arch/amd64: un-stable-mask USE=amf Closes: https://bugs.gentoo.org/936414 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/amd64/package.use.stable.mask | 4 ---- 1 file changed, 4 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c7bc296cb29caa99b8bd8cbe0dbf3ca8f36fa89 commit 5c7bc296cb29caa99b8bd8cbe0dbf3ca8f36fa89 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-14 05:17:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-14 05:17:38 +0000 Revert "media-libs/amf-headers: drop 1.4.33" This reverts commit 86d5236dd39c83392a585d1a5cde534bfc320a01. This drops stable keywords and we *wanted* it on stable. Bug: https://bugs.gentoo.org/936414 Bug: https://bugs.gentoo.org/936515 Signed-off-by: Sam James <sam@gentoo.org> media-libs/amf-headers/Manifest | 1 + media-libs/amf-headers/amf-headers-1.4.33.ebuild | 33 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+)