[Pkg-javascript-devel] Bug#975069: emscripten: Incompatibilities with LLVM 11

Sebastien Jodogne s.jodogne at gmail.com
Wed Nov 18 17:55:15 GMT 2020


Package: emscripten
Version: 2.0.8~dfsg1-9
Severity: important

Dear Maintainer,

When building a large C++ project using the current package, the WebAssembly
linking might fail with error "emscripten:ERROR: emscript: failure to parse
metadata output from wasm-emscripten-finalize".

It turns out that such error is a consequence of the fact that Emscripten 2.0.x
is expected to be run with LLVM 12. But, the patch
"d/patches/2005_older_llvm.patch" allows to run Emscripten with LLVM 11, which
might result in incompatibilities.

More context is available in the following issue of the upstream project:
https://github.com/emscripten-core/emscripten/issues/11895

This issue can be closed once LLVM 12 will land in Debian Sid, once "d/control"
is adapted to use version 12 on all LLVM-related packages, and once the
"d/patches/2005_older_llvm.patch" is removed.

Best Regards,
Sébastien-



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emscripten depends on:
ii  binaryen                           98-1
ii  clang-11                           1:11.0.0-5
ii  lld-11                             1:11.0.0-5
ii  llvm-11                            1:11.0.0-5
ii  node-debbundle-acorn [node-acorn]  8.0.4+ds+~cs19.19.27-1
ii  nodejs                             12.19.0~dfsg-1
ii  python3                            3.8.6-1

Versions of packages emscripten recommends:
ii  libjs-d3       3.5.17-2
ii  python3-numpy  1:1.19.4-1

Versions of packages emscripten suggests:
pn  adb               <none>
ii  automake          1:1.16.2-4
pn  closure-compiler  <none>
ii  cmake             3.18.4-1
ii  make              4.3-4
ii  python3-ply       3.11-4
ii  scons             4.0.1+dfsg-2
ii  wabt              1.0.20-1

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/emscripten/emscripten.py (from emscripten package)


More information about the Pkg-javascript-devel mailing list