[Pkg-javascript-devel] Bug#979405: emscripten: FTBFS: Fatal: globalBase must be set

Andreas Beckmann anbe at debian.org
Wed Jan 6 10:31:24 GMT 2021


Source: emscripten
Version: 2.0.9~dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

emscripten/experimental FTBFS with

[...]
PATH="/build/emscripten-2.0.9~dfsg:$PATH" EM_CACHE="/build/emscripten-2.0.9~dfsg/debian/em_cache" emcc tests/hello_world.c
shared:INFO: (Emscripten: Running sanity checks)
cache:INFO: generating system library: libc.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libc.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libcompiler_rt.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libc++-noexcept.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libc++-noexcept.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libc++abi-noexcept.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libc++abi-noexcept.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libdlmalloc.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libdlmalloc.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libpthread_stub.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libpthread_stub.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libc_rt_wasm.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libc_rt_wasm.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libsockets.a... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/libsockets.a" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/build/emscripten-2.0.9~dfsg/debian/em_cache/wasm/generated_struct_info.json" for subsequent builds)
Fatal: globalBase must be set
emcc: error: '/usr/bin/wasm-emscripten-finalize --detect-features --minimize-wasm-changes --dyncalls-i64 /tmp/tmplzjtvhxu.wasm -o /tmp/tmplzjtvhxu.wasm' failed (1)
FAIL: Compilation failed!: ['emcc', '-D_GNU_SOURCE', '-o', '/tmp/tmplzjtvhxu.js', '/tmp/tmprdy33uqc.c', '-O0', '--memory-init-file', '0', '-Werror', '-Wno-format', '-s', 'BOOTSTRAPPING_STRUCT_INFO=1', '-s', 'WARN_ON_UNDEFINED_SYMBOLS=0', '-s', 'STRICT=1', '-s', 'SINGLE_FILE=1', '-Wno-error=version-check', '-Wno-deprecated']
make[1]: *** [debian/rules:260: override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/emscripten-2.0.9~dfsg'
make: *** [debian/rules:244: binary] Error 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emscripten_2.0.9~dfsg-1.log.gz
Type: application/gzip
Size: 22498 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210106/e3e3e6d3/attachment.gz>


More information about the Pkg-javascript-devel mailing list