[Pkg-javascript-devel] Bug#1103125: node-yarnpkg: FTBFS in testing/i386: emcc: error: --memory-init-file is no longer supported
Lucas Nussbaum
lucas at debian.org
Mon Apr 14 12:35:52 BST 2025
Source: node-yarnpkg
Version: 4.0.2+dfsg-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250414 ftbfs-trixie
Hi,
During a rebuild of all packages in testing (trixie), your package failed
to build on i386.
Relevant part (hopefully):
> make[2]: Entering directory '/build/reproducible-path/node-yarnpkg-4.0.2+dfsg/yoga-wasm-web'
> rm -rf tmp
> mkdir -p tmp
> emcc yoga/yoga/*.cpp yoga/yoga/**/*.cpp yoga/javascript/src_native/*.cc \
> --bind \
> -Iyoga \
> -g0 \
> -O3 \
> -flto \
> -std=c++14 \
> -fno-exceptions \
> -fno-rtti \
> -DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0 \
> -s WASM=1 \
> -s WASM_ASYNC_COMPILATION=1 \
> -s USE_ES6_IMPORT_META=0 \
> -s ASSERTIONS=0 \
> -s ALLOW_MEMORY_GROWTH=1 \
> -s MODULARIZE=1 \
> -s DYNAMIC_EXECUTION=0 \
> -s TEXTDECODER=0 \
> -s ENVIRONMENT='web' \
> -s FETCH_SUPPORT_INDEXEDDB=0 \
> -s FILESYSTEM=0 \
> -s MALLOC="emmalloc" \
> -s INCOMING_MODULE_JS_API=['instantiateWasm']\
> -s EXPORT_NAME="yoga" \
> -o tmp/yoga.mjs
> emcc yoga/yoga/*.cpp yoga/yoga/**/*.cpp yoga/javascript/src_native/*.cc \
> --bind \
> -Iyoga \
> -g0 \
> -Os \
> -flto \
> -std=c++14 \
> -fno-exceptions \
> -fno-rtti \
> -DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0 \
> --memory-init-file 0 \
> -s WASM=0 \
> -s WASM_ASYNC_COMPILATION=0 \
> -s USE_ES6_IMPORT_META=0 \
> -s ASSERTIONS=0 \
> -s ALLOW_MEMORY_GROWTH=1 \
> -s MODULARIZE=1 \
> -s DYNAMIC_EXECUTION=0 \
> -s TEXTDECODER=0 \
> -s ENVIRONMENT='web' \
> -s FETCH_SUPPORT_INDEXEDDB=0 \
> -s FILESYSTEM=0 \
> -s MALLOC="emmalloc" \
> -s EXPORT_NAME="yoga" \
> -o tmp/yoga-asm.mjs
> emcc: error: --memory-init-file is no longer supported
> make[2]: *** [Makefile:33: asm] Error 1
The full build log is available from:
http://qa-logs.debian.net/2025/04/14/node-yarnpkg_4.0.2+dfsg-3_testing-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&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