Skip to content

Build fails with ffmpeg 8.x #3

@nexryai

Description

@nexryai
ERROR: /home/runner/work/ikaria/ikaria/BUILD.bazel:61:15: Foreign Cc - Configure: Building ffmpeg_core failed: (Exit 1): bash failed: error executing CcConfigureMakeRule command (from target //:ffmpeg_core) /bin/bash -c bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/wrapper_build_script.sh

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
rules_foreign_cc: Build failed!
rules_foreign_cc: Printing build logs:
_____ BEGIN BUILD LOGS _____

Bazel external C/C++ Rules. Building library 'ffmpeg_core'

Environment:______________
BUILD_SCRIPT=bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/build_script.sh
EXT_BUILD_ROOT=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main
BUILD_LOG=bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/Configure.log
***
CXXFLAGS=-s USE_PTHREADS=0 -O3
LDFLAGS=-s USE_PTHREADS=0 -O3
BUILD_WRAPPER_SCRIPT=bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/wrapper_build_script.sh
TMPDIR=/tmp
EXT_BUILD_DEPS=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.ext_build_deps
NODE_JS_PATH=external/rules_nodejs++node+nodejs_linux_amd64/bin/node
BUILD_TMPDIR=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.build_tmpdir
SHLVL=2
EM_CONFIG_PATH=external/emsdk++emscripten_cache+emscripten_cache/emscripten_config
EM_BIN_PATH=external/emsdk++emscripten_deps+emscripten_bin_linux
INSTALLDIR=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core
MAKE=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/k8-opt-exec-ST-3e3b4836985c/bin/external/rules_foreign_cc+/toolchains/private/make/bin/make
PATH=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main:/home/runner/.cache/bazelisk/downloads/sha256/61d89402f0368e64b6c827be5de79d8e65382e8124c3cbb97325611a1851392e/bin:/opt/hostedtoolcache/node/24.13.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
CFLAGS=-s USE_PTHREADS=0 -O3
EMCC_WASM_BACKEND=1
PKG_CONFIG=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/k8-opt-exec-ST-3e3b4836985c/bin/external/rules_foreign_cc+/toolchains/private/pkgconfig/bin/pkg-config
_=/usr/bin/env
__________________________
Can not copy /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/autoconf
Can not copy /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/automake
Can not copy /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/m4
PKG_CONFIG_PATH=:/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.ext_build_deps/libxml2/lib/pkgconfig
+ mkdir -p /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.build_tmpdir/ffmpeg_core
+ ASFLAGS='--sysroot=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk++emscripten_deps+emscripten_bin_linux/emscripten/cache/sysroot -fdiagnostics-color -fno-strict-aliasing -funsigned-char -no-canonical-prefixes -fomit-frame-pointer -O0 -Wall -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted -fstack-protector-strong -DOPENSSL_NO_ASM -fsanitize=address,undefined'
+ CFLAGS='--sysroot=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk++emscripten_deps+emscripten_bin_linux/emscripten/cache/sysroot -fdiagnostics-color -fno-strict-aliasing -funsigned-char -no-canonical-prefixes -fomit-frame-pointer -O0 -Wall -DOPENSSL_NO_ASM -iwithsysroot/include/c++/v1 -iwithsysroot/include/compat -iwithsysroot/include -isystem /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk++emscripten_deps+emscripten_bin_linux/lib/clang/22/include -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted -fstack-protector-strong -fsanitize=address,undefined -s USE_PTHREADS=0 -O3'
+ CXXFLAGS='--sysroot=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk++emscripten_deps+emscripten_bin_linux/emscripten/cache/sysroot -fdiagnostics-color -fno-exceptions -fno-strict-aliasing -funsigned-char -no-canonical-prefixes -std=gnu++17 -nostdinc -nostdinc++ -fomit-frame-pointer -O0 -Wall -DOPENSSL_NO_ASM -iwithsysroot/include/c++/v1 -iwithsysroot/include/compat -iwithsysroot/include -isystem /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk++emscripten_deps+emscripten_bin_linux/lib/clang/22/include -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted -fstack-protector-strong -fsanitize=address,undefined -s USE_PTHREADS=0 -O3'
+ LDFLAGS='--sysroot=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk++emscripten_deps+emscripten_bin_linux/emscripten/cache/sysroot -fdiagnostics-color -fno-strict-aliasing -funsigned-char -no-canonical-prefixes -s PRINTF_LONG_DOUBLE=1 --oformat=js -O0 -fsanitize=address,undefined -sASSERTIONS=1 -s USE_PTHREADS=0 -O3 -L/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/external/+_repo_rules+boringssl_source -L/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.ext_build_deps/libxml2/lib'
+ AR=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emar.sh
+ CC=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh
+ CXX=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh
+ LD=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc_link.sh
+ RANLIB=:
+ CPPFLAGS='-I/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/+_repo_rules+boringssl_source/include -I/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/external/+_repo_rules+boringssl_source/include -I/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.ext_build_deps/libxml2/include'
+ /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/+_repo_rules+ffmpeg_source/configure --prefix=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.build_tmpdir/ffmpeg_core --disable-debug --disable-x86asm --disable-inline-asm --disable-stripping --disable-doc --disable-all --enable-avcodec --enable-avformat --enable-avfilter --enable-avdevice --enable-avutil --enable-swresample --enable-postproc --enable-swscale --enable-decoder=aac,pcm_s16le,mp3 --enable-demuxer=dash,mov,matroska,mp3,webm --enable-muxer=dash,mp4,webm --disable-gpl --host-cc=clang-20 --disable-programs --enable-protocol=file --target-os=none --arch=x86_32 --enable-cross-compile '--extra-cflags=-s USE_PTHREADS=0 -O3' '--extra-cxxflags=-s USE_PTHREADS=0 -O3' '--extra-ldflags=-s USE_PTHREADS=0 -O3' --cc=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh --cxx=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh --ar=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emar.sh --nm=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/NOT_USED --ranlib=llvm-ranlib-20 --as=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh --objcc=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh --dep-cc=/home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/emsdk+/emscripten_toolchain/emcc.sh
Unknown option "--enable-postproc".
See /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/external/+_repo_rules+ffmpeg_source/configure --help for available options.
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/Configure.log
rules_foreign_cc: Keeping these below directories for debug, but note that the directories inside a sandbox
rules_foreign_cc: are still cleaned unless you specify the '--sandbox_debug' Bazel command line flag.
rules_foreign_cc: Build Dir: /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.build_tmpdir
rules_foreign_cc: Deps Dir: /home/runner/.cache/bazel/_bazel_runner/026c43ef5988076f5ce91d889088ba85/sandbox/processwrapper-sandbox/409/execroot/_main/bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core.ext_build_deps

Target //:ikaria_js failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/ikaria/ikaria/BUILD.bazel:195:10 Linking ikaria failed: (Exit 1): bash failed: error executing CcConfigureMakeRule command (from target //:ffmpeg_core) /bin/bash -c bazel-out/wasm-fastbuild-ST-97b75ba167b6/bin/ffmpeg_core_foreign_cc/wrapper_build_script.sh

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 288.614s, Critical Path: 137.69s
INFO: 422 processes: 14 internal, 408 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions