[Pkg-javascript-devel] Bug#1003873: emscripten: emcc search for /usr/bin/clang (and other binaries) which doesn't exist

Yadd yadd at debian.org
Mon Jan 17 11:44:52 GMT 2022


Package: emscripten
Version: 3.1.1~dfsg+~1.39.6-3
Severity: important

Hi,

when trying to build a WASM file from a C file, emcc fails because it
doesn't find /usr/bin/clang (and other clang binaries). In Debian, clang
binaries are versionned (clang-13, clang++-13,...)

To reproduce, go to node-jest/cjs-module-lexer and launch:

  emcc src/lexer.c -s WASM=1 -I include-wasm -o lib/lexer.wasm

Cheers,
Yadd



More information about the Pkg-javascript-devel mailing list