Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936414 - media-video/ffmpeg: remove stable mask for amf flag
Summary: media-video/ffmpeg: remove stable mask for amf flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 936515
Blocks:
  Show dependency tree
 
Reported: 2024-07-21 03:17 UTC by Sleepy Mario
Modified: 2024-09-02 02:26 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info-SHSA.txt,17.26 KB, text/plain)
2024-07-22 01:34 UTC, Sleepy Mario
Details
emerge -vp ffmpeg (emerge-vpffmpeg-2NVA.txt,1.37 KB, text/plain)
2024-07-22 01:36 UTC, Sleepy Mario
Details
build log of ffmpeg 6.1.1-r5 (ffmpeg-build-log.zip,180.05 KB, application/zip)
2024-07-22 02:43 UTC, Sleepy Mario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sleepy Mario 2024-07-21 03:17:02 UTC
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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-21 09:37:45 UTC
Please include the full build.log and emerge --info.
Comment 2 Sleepy Mario 2024-07-22 01:34:22 UTC
Created attachment 898092 [details]
emerge --info
Comment 3 Sleepy Mario 2024-07-22 01:36:36 UTC
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).
Comment 4 Sleepy Mario 2024-07-22 02:43:00 UTC
Created attachment 898095 [details]
build log of ffmpeg 6.1.1-r5
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-22 08:54:17 UTC
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
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-23 05:57:48 UTC
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..
Comment 7 Greg Kubaryk 2024-09-01 20:12:41 UTC
media-video/amdgpu-pro-amf now has a stable version, the stable mask can be dropped
Comment 8 Larry the Git Cow gentoo-dev 2024-09-02 02:26:32 UTC
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(-)