[Pkg-javascript-devel] Bug#1091032: node-inwasm: FTBFS: wasm-ld-18: error: unknown argument: --no-growable-memory
Lucas Nussbaum
lucas at debian.org
Sun Dec 22 09:02:36 GMT 2024
Source: node-inwasm
Version: 0.0.13~git20230419+dfsg-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20241222 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> tsc -p inwasm
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> /!\ ./package.json not found
> ln -s ../debian/tests/test_modules/source-map-loader node_modules/source-map-loader
> ln -s ../inwasm node_modules/inwasm
> /bin/sh -ex debian/tests/pkg-js/test
> + cd testproject
> + BIN=node ../inwasm/lib/cli.js
> + [ != ]
> + tsc
> + grep -v example_rust.wasm.js
> + grep -v example_zig.wasm.js
> + ls lib/example_clang_c.wasm.js lib/example_custom.wasm.js lib/example_emscripten_c.wasm.js lib/example_rust.wasm.js lib/example_wat.wasm.js lib/example_zig.wasm.js
> + node ../inwasm/lib/cli.js lib/example_clang_c.wasm.js lib/example_custom.wasm.js lib/example_emscripten_c.wasm.js lib/example_wat.wasm.js
> [inwasm config] used configration:
> APP_ROOT: /<<PKGBUILDDIR>>/inwasm
> PROJECT_ROOT: /<<PKGBUILDDIR>>/testproject
> {
> zig: { version: 'master', store: 'project' },
> emsdk: { version: 'latest', store: 'project' }
> }
> [inwasm compile] Building lib/example_clang_c.wasm.js:add
> /usr/bin/clang --target=wasm32-unknown-unknown --no-standard-libraries -Wl,--export=add -Wl,--no-entry -Wl,--lto-O3 -O3 -Wl,--initial-memory=0 -Wl,--max-memory=0 -Wl,--import-memory -Wl,-z,stack-size=0 -flto -o add.wasm add.c
>
> [inwasm compile] Successfully built 'add' (183 Bytes).
>
> clang-c add: 65
> memory bytelength: 0
> [inwasm compile] Building lib/example_custom.wasm.js:custom
> [inwasm compile] Successfully built 'custom' (41 Bytes).
>
> custom module: [Object: null prototype] { add: [Function: 0] }
> custom module add 23 + 42: 65
> [inwasm compile] Building lib/example_emscripten_c.wasm.js:convert-simd
> /usr/bin/emcc -O3 -DCHUNK_SIZE=32768 -s EXPORTED_FUNCTIONS=_chunk_addr,_target_addr,_convert -msimd128 -msse -msse2 -mssse3 -msse4.1 --no-entry convert-simd.c -o convert-simd.wasm
> emcc: warning: LLVM version for clang executable "/usr/bin/clang-18" appears incorrect (seeing "18.1", expected "20") [-Wversion-check]
> wasm-ld-18: error: unknown argument: --no-growable-memory
> emcc: error: '/usr/bin/wasm-ld-18 -o convert-simd.wasm -L/usr/share/emscripten/cache/sysroot/lib/wasm32-emscripten /tmp/emscripten_temp_gv6fxsjy/convert-simd_0.o /usr/share/emscripten/cache/sysroot/lib/wasm32-emscripten/crt1_reactor.o -lGL-getprocaddr -lal -lhtml5 -lstandalonewasm-nocatch -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /tmp/tmp59j32b0qlibemscripten_js_symbols.so --strip-debug --export=chunk_addr --export=target_addr --export=convert --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --entry=_initialize --table-base=1 --global-base=1024' failed (returned 1)
>
> Error: ENOENT: no such file or directory, open 'convert-simd.wasm'
> at Object.openSync (node:fs:573:18)
> at Object.readFileSync (node:fs:452:35)
> at Object.default_1 [as C] (/<<PKGBUILDDIR>>/inwasm/lib/runners/emscripten_c.js:71:15)
> at compileWasm (/<<PKGBUILDDIR>>/inwasm/lib/cli.js:287:65)
> at processFile (/<<PKGBUILDDIR>>/inwasm/lib/cli.js:386:32)
> at main (/<<PKGBUILDDIR>>/inwasm/lib/cli.js:606:19)
> at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
> errno: -2,
> code: 'ENOENT',
> syscall: 'open',
> path: 'convert-simd.wasm'
> }
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
> make: *** [debian/rules:8: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/12/22/node-inwasm_0.0.13~git20230419+dfsg-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241222;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241222&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list