Won't build inside Docker Container
205.3 configure: ./configure --cc=emcc --ar=emar --prefix=/greenfield/libs/compositor-ffmpeg-h264/ffmpeg/../ffmpeg-build --enable-cross-compile --target-os=none --arch=x86_32 --cpu=generic --enable-gpl --enable-version3 --enable-nonfree --disable-avdevice --disable-avformat --disable-avfilter --disable-swscale --disable-swresample --disable-programs --disable-logging --disable-everything --enable-decoder=h264 --disable-debug --disable-w32threads --disable-asm --disable-doc --disable-devices --disable-network --disable-hwaccels --disable-parsers --disable-bsfs --disable-protocols --disable-indevs --disable-outdevs --enable-lto --disable-sdl2 --disable-cuda-llvm --disable-iconv --disable-postproc --disable-runtime-cpudetect --disable-autodetect --pkg-config-flags=--static --nm=emnm --ranlib=emranlib --cxx=em++ --dep-cc=emcc
205.3 make: make
205.3 libavcodec/error_resilience.c:396:12: warning: variable 'depth' set but not used [-Wunused-but-set-variable]
205.3 396 | int i, depth, num_avail;
205.3 | ^
205.3 1 warning generated.
205.3 In file included from libavcodec/options.c:38:
205.3 libavcodec/options_table.h:272:116: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
205.3 272 | {"request_channel_layout", NULL, OFFSET(request_channel_layout), AV_OPT_TYPE_CHANNEL_LAYOUT, {.i64 = DEFAULT }, 0, UINT64_MAX, A|D, "request_channel_layout"},
205.3 | ~ ^~~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:51:21: note: expanded from macro 'UINT64_MAX'
205.3 51 | #define UINT64_MAX (0xffffffffffffffffu)
205.3 | ^~~~~~~~~~~~~~~~~~~
205.3 In file included from libavcodec/options.c:38:
205.3 libavcodec/options_table.h:271:100: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
205.3 271 | {"channel_layout", NULL, OFFSET(channel_layout), AV_OPT_TYPE_CHANNEL_LAYOUT, {.i64 = DEFAULT }, 0, UINT64_MAX, A|E|D, "channel_layout"},
205.3 | ~ ^~~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:51:21: note: expanded from macro 'UINT64_MAX'
205.3 51 | #define UINT64_MAX (0xffffffffffffffffu)
205.3 | ^~~~~~~~~~~~~~~~~~~
205.3 In file included from libavcodec/options.c:38:
205.3 libavcodec/options_table.h:48:110: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
205.3 48 | {"b", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT64, {.i64 = AV_CODEC_DEFAULT_BITRATE }, 0, INT64_MAX, A|V|E},
205.3 | ~ ^~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
205.3 46 | #define INT64_MAX (0x7fffffffffffffff)
205.3 | ^~~~~~~~~~~~~~~~~~
205.3 libavcodec/options.c:201:84: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
205.3 201 | {"channel_layout", "", FOFFSET(channel_layout), AV_OPT_TYPE_INT64, {.i64 = 0 }, 0, INT64_MAX, 0},
205.3 | ~ ^~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
205.3 46 | #define INT64_MAX (0x7fffffffffffffff)
205.3 | ^~~~~~~~~~~~~~~~~~
205.3 libavcodec/options.c:195:81: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
205.3 195 | {"pkt_size", "", FOFFSET(pkt_size), AV_OPT_TYPE_INT64, {.i64 = -1 }, INT64_MIN, INT64_MAX, 0},
205.3 | ~ ^~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
205.3 46 | #define INT64_MAX (0x7fffffffffffffff)
205.3 | ^~~~~~~~~~~~~~~~~~
205.3 libavcodec/options.c:194:79: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
205.3 194 | {"pkt_pos", "", FOFFSET(pkt_pos), AV_OPT_TYPE_INT64, {.i64 = -1 }, INT64_MIN, INT64_MAX, 0},
205.3 | ~ ^~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
205.3 46 | #define INT64_MAX (0x7fffffffffffffff)
205.3 | ^~~~~~~~~~~~~~~~~~
205.3 libavcodec/options.c:193:119: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
205.3 193 | {"best_effort_timestamp", "", FOFFSET(best_effort_timestamp), AV_OPT_TYPE_INT64, {.i64 = AV_NOPTS_VALUE }, INT64_MIN, INT64_MAX, 0},
205.3 | ~ ^~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
205.3 46 | #define INT64_MAX (0x7fffffffffffffff)
205.3 | ^~~~~~~~~~~~~~~~~~
205.3 7 warnings generated.
205.3 libavutil/cpu.c:114:76: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
205.3 114 | { "flags" , NULL, 0, AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT64_MIN, INT64_MAX, .unit = "flags" },
205.3 | ~ ^~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
205.3 46 | #define INT64_MAX (0x7fffffffffffffff)
205.3 | ^~~~~~~~~~~~~~~~~~
205.3 1 warning generated.
205.3 libavutil/eval.c:237:41: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
205.3 237 | return e->value * (r * (1.0/UINT64_MAX));
205.3 | ~^~~~~~~~~~
205.3 /greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h:51:21: note: expanded from macro 'UINT64_MAX'
205.3 51 | #define UINT64_MAX (0xffffffffffffffffu)
205.3 | ^~~~~~~~~~~~~~~~~~~
205.3 1 warning generated.
205.3 make: make install
205.3 cache:INFO: generating system asset: symbol_lists/c5123060b3f2375836ca9d7ca501f02dbe158192.json... (this will be cached in "/greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/symbol_lists/c5123060b3f2375836ca9d7ca501f02dbe158192.json" for subsequent builds)
205.3 cache:INFO: - ok
205.3 cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libnoexit.a... (this will be cached in "/greenfield/libs/compositor-ffmpeg-h264/emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/lto/libnoexit.a" for subsequent builds)
205.3 system_libs:INFO: compiled 1 inputs
205.3 cache:INFO: - ok
205.3 building:INFO: ctor_evaller: trying to eval global ctors (--ctors=__wasm_call_ctors --ignore-external-input)
205.3 building:INFO:
205.3
205.3 trying to eval __wasm_call_ctors
205.3 ...success on __wasm_call_ctors.
205.3
205.3 The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
205.3 Failed with errors in 3m 25s
failed to solve: process "/bin/sh -c yarn workspaces foreach --all --parallel --topological-dev \t--exclude @gfld/compositor-proxy \t--exclude @gfld/compositor-proxy-cli \t--exclude @gfld/compositor-shell \trun build" did not complete successfully: exit code: 1`
Above Is the log, i followed the steps from the Documentation any Help would be welcomed
Thanks for reporting. The log output doesn’t show the error but I’ll see if I can reproduce and fix it. 👍
I ran the build.sh script inside the docker directory and was unable to reproduce a build error.
Could you describe the steps you did?
I didnt run the build.sh script because the documentation said nothing about it.
I`ll try to build using the build script.
I didnt run the build.sh script because the documentation said nothing about it.
I’ll try to make this more clear in the documentation