commit:     21fbcf9841133ef1c99c08c9f24a257a375d9685
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  5 10:04:00 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Nov  5 10:08:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fbcf98

media-video/ffmpeg: add 'possible' out-of-source race(?) workaround

No idea why I can't hit this, but feel that it should be that the
system doesn't properly create the directory depending on order.

Let's try a blind workaround and see if it helps, will revert if not.

Bug: https://bugs.gentoo.org/965687
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-video/ffmpeg/ffmpeg-8.0.ebuild  | 1 +
 media-video/ffmpeg/ffmpeg-9999.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-video/ffmpeg/ffmpeg-8.0.ebuild 
b/media-video/ffmpeg/ffmpeg-8.0.ebuild
index f24167b64dac..974c497eedcd 100644
--- a/media-video/ffmpeg/ffmpeg-8.0.ebuild
+++ b/media-video/ffmpeg/ffmpeg-8.0.ebuild
@@ -558,6 +558,7 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
+       mkdir -p fftools/resources/ || die #965687
        emake V=1
        in_iuse chromium && use chromium && multilib_is_native_abi &&
                emake V=1 libffmpeg

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index 2e669a8b9f0c..9d88f584adca 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -563,6 +563,7 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
+       mkdir -p fftools/resources/ || die #965687
        emake V=1
        in_iuse chromium && use chromium && multilib_is_native_abi &&
                emake V=1 libffmpeg

Reply via email to