[Pkg-javascript-devel] Bug#1105426: node-yarnpkg: FTBFS with make --shuffle=reverse: emcc: error: specified output file (tmp/yoga-asm.mjs) is in a directory that does not exist

Lucas Nussbaum lucas at debian.org
Tue May 13 20:09:43 BST 2025


Source: node-yarnpkg
Version: 4.1.0+dfsg-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[2]: Entering directory '/build/reproducible-path/node-yarnpkg-4.1.0+dfsg/yoga-wasm-web'
> Makefile:33: update target 'asm' due to: target does not exist
> 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 \
> 	-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: specified output file (tmp/yoga-asm.mjs) is in a directory that does not exist
> make[2]: *** [Makefile:33: asm] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/node-yarnpkg_4.1.0+dfsg-1_unstable_reverse.log

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



More information about the Pkg-javascript-devel mailing list