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

Bug 903752

Summary: media-video/ffmpeg-4.4.3[abi_x86_32] on llvm fails with integer conversion to VkCommandPool (-Wint-conversion)
Product: Gentoo Linux Reporter: Alfred Persson <cat>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://git.videolan.org/?p=ffmpeg.git;a=patch;h=cc76e8340d28438c1ac56ee7dfd774d25e944264
See Also: https://bugs.gentoo.org/show_bug.cgi?id=919067
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log
emerge--info.txt
ffmpeg-4.3.3-vkcommandpool.patch
ffmpeg-4.3.3-vkcommandpool.patch

Description Alfred Persson 2023-04-03 23:38:04 UTC
ffmpeg fails to build with +abi_x86_32 due to integer conversion
Comment 1 Alfred Persson 2023-04-03 23:39:30 UTC
Created attachment 859491 [details]
build.log

build log
Comment 2 Alfred Persson 2023-04-03 23:40:27 UTC
Created attachment 859492 [details]
emerge--info.txt

emerge --info
Comment 3 Alfred Persson 2023-04-03 23:52:52 UTC
Created attachment 859493 [details]
ffmpeg-4.3.3-vkcommandpool.patch

patch
Comment 4 Alfred Persson 2023-04-03 23:53:45 UTC
whops I messed up, will upload another patch
Comment 5 Alfred Persson 2023-04-03 23:56:07 UTC
Created attachment 859494 [details]
ffmpeg-4.3.3-vkcommandpool.patch

fixed patch
Comment 6 Larry the Git Cow gentoo-dev 2023-04-23 07:05:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2909442704716d00025aee815212245dcbed24ff

commit 2909442704716d00025aee815212245dcbed24ff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-23 07:04:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-23 07:04:58 +0000

    media-video/ffmpeg: fix -Wint-conversion for 4.4.4
    
    Closes: https://bugs.gentoo.org/903752
    Signed-off-by: Sam James <sam@gentoo.org>

 ...mpeg-4.4.4-r1.ebuild => ffmpeg-4.4.4-r2.ebuild} |  1 +
 .../ffmpeg-4.4.4-wint-conversion-vulkan.patch      | 30 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2023-07-24 02:00:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc3ebaf3dc53ab956f0b21aa02a2edf1b9dca9a

commit 4bc3ebaf3dc53ab956f0b21aa02a2edf1b9dca9a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-24 01:58:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-24 01:58:19 +0000

    media-video/ffmpeg: fix -Wint-conversion for 6.0
    
    Bug: https://bugs.gentoo.org/903752
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/ffmpeg-6.0-r3.ebuild            | 603 +++++++++++++++++++++
 .../files/ffmpeg-6.0-wint-conversion-vulkan.patch  |  43 ++
 2 files changed, 646 insertions(+)