Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907478 - media-video/ffmpeg-5.1.3:0/57.59.59 - ERROR: failed (compile phase): emake failed
Summary: media-video/ffmpeg-5.1.3:0/57.59.59 - ERROR: failed (compile phase): emake fa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-05-31 08:46 UTC by squatted_posture785
Modified: 2023-05-31 18:43 UTC (History)
2 users (show)

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


Attachments
ffmpeg-5.1.3.log (ffmpeg-5.1.3.log.tar.gz,58.91 KB, application/gzip)
2023-05-31 08:46 UTC, squatted_posture785
Details
emerge --info (emerge-info.log,16.99 KB, text/x-log)
2023-05-31 08:47 UTC, squatted_posture785
Details
Backported upstream commits (ffmpeg-5.1.3-svt-av1.patch,3.53 KB, patch)
2023-05-31 11:22 UTC, Kostadin Shishmanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description squatted_posture785 2023-05-31 08:46:37 UTC
Created attachment 862958 [details]
ffmpeg-5.1.3.log

media/video/ffmpeg-5.1.3 compiled fine yesterday:

$ emlop l media/video/ffmpeg
2023-05-23 23:04:36   6:29 media-video/ffmpeg-4.4.4-r2
2023-05-30 00:10:16   2:52 media-video/ffmpeg-5.1.3

But with today's @world update I got a reinstall/replacing operation:

[ebuild  rR   ] media-video/ffmpeg-5.1.3  USE="X alsa bzip2 dav1d encode gnutls gpl iconv lcms libaom mp3 network opengl opus postproc pulseaudio sdl svg svt-av1 threads truetype vdpau vorbis vpx vulkan x264 x265 xvid zlib -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl -kvazaar -ladspa -libaribb24 -libass -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc -openal -opencl -openh264 -openssl -oss -pic -qsv -rav1e -rubberband -samba -snappy -sndio -speex -srt -ssh -static-libs -test -theora -twolame -v4l -vaapi -verify-sig -vidstab -vmaf -webp -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"

which fails with the following error:

 * ERROR: media-video/ffmpeg-5.1.3::gentoo failed (compile phase):
 *   emake failed
Comment 1 squatted_posture785 2023-05-31 08:47:03 UTC
Created attachment 862959 [details]
emerge --info
Comment 2 Kostadin Shishmanov 2023-05-31 11:22:13 UTC
Created attachment 862965 [details, diff]
Backported upstream commits

Can you test the attached patch? It's a combination of two upstream commits that have already been merged.

https://github.com/FFmpeg/FFmpeg/commit/bea695d54372b66a6b9b136982fc92adb63e4745
https://github.com/FFmpeg/FFmpeg/commit/3344d47a88506aba060b5fd2a214cf7785b11483
Comment 3 squatted_posture785 2023-05-31 11:45:10 UTC
Thank you, can confirm the provided patch fixes the issue.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-31 15:49:58 UTC
Thanks, but it's not fixed until we fix it in Gentoo.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-31 18:43:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786f54b7aa322c015dd121519970eaba3e17bec1

commit 786f54b7aa322c015dd121519970eaba3e17bec1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-31 18:40:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-31 18:43:01 +0000

    media-video/ffmpeg: fix build w/ svt-av1-1.5.0
    
    Closes: https://bugs.gentoo.org/907478
    Closes: https://bugs.gentoo.org/907493
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/ffmpeg-4.4.4-r2.ebuild          |  1 +
 media-video/ffmpeg/ffmpeg-5.1.3.ebuild             |  1 +
 .../ffmpeg-4.4.4-fix-build-svt-av1-1.5.0.patch     | 44 ++++++++++++
 .../ffmpeg-5.1.3-fix-build-svt-av1-1.5.0.patch     | 81 ++++++++++++++++++++++
 4 files changed, 127 insertions(+)