[Pkg-javascript-devel] Bug#972324: Fails with "FROZEN_CACHE disallows building system libs: libc.a"

Giovanni Mascellani gio at debian.org
Fri Oct 16 08:53:25 BST 2020


Package: emscripten
Version: 2.0.7~dfsg-3
Severity: important

Hi, I am completely newbie with emscripten, but trying to follow the first
tutorial I found on the Internet[1] quickly led me to a dead end.

 [1] https://emscripten.org/docs/getting_started/Tutorial.html

More precisely, I created a file hello.c with content:

---
#include <stdio.h>

int main() {
  printf("hello, world!\n");
  return 0;
}
---

and then tries to compile it, obtaining this scary Python stack trace:

$ emcc hello.c
Traceback (most recent call last):
  File "/usr/share/emscripten/emcc.py", line 3254, in <module>
    sys.exit(run(sys.argv))
  File "/usr/share/emscripten/emcc.py", line 2116, in run
    extra_files_to_link += system_libs.calculate([f for _, f in
sorted(temp_files)] + extra_files_to_link, link_as_cxx, forced=forced_stdlibs)
  File "/usr/share/emscripten/tools/system_libs.py", line 1565, in calculate
    add_library(system_libs_map['libc'])
  File "/usr/share/emscripten/tools/system_libs.py", line 1508, in add_library
    libs_to_link.append((lib.get_path(), need_whole_archive))
  File "/usr/share/emscripten/tools/system_libs.py", line 335, in get_path
    return shared.Cache.get(self.get_filename(), self.build)
  File "/usr/share/emscripten/tools/cache.py", line 117, in get
    raise Exception('FROZEN_CACHE disallows building system libs: %s' %
shortname)
Exception: FROZEN_CACHE disallows building system libs: libc.a

I can't find relevant information on the Internet. I tried removing
~/.emscripten*,
but that problem remains. I had tinkered with non-Debian-packaged versions of
emscripten in the past, but I don't think there should be leftovers interfering
with the Debian-package version now, so I believe there is a chance this is an
actual
bug in the Debian packaging.

I am setting severity "important" because this package seems completely
unusable for
me at the moment, but feel free to change it.

Thanks for maintaining emscripten!

All the best, Giovanni.



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

Kernel: Linux 5.7.0-3-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emscripten depends on:
ii  binaryen                           97-1
ii  clang                              1:9.0-49.1
ii  clang-11                           1:11.0.0-2
ii  cmake                              3.18.2-1
ii  lld-11                             1:11.0.0-2
ii  llvm                               1:9.0-49.1
ii  llvm-11                            1:11.0.0-2
ii  node-debbundle-acorn [node-acorn]  8.0.4+ds+~cs13.19.27-3
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.2-2+b1

Versions of packages emscripten suggests:
ii  adb               1:8.1.0+r23-8
pn  closure-compiler  <none>
ii  wabt              1.0.19-1

-- no debconf information



More information about the Pkg-javascript-devel mailing list