emcc --clear-cache fails.
Description:
When running emcc --clear-cache
it errors out with:
emcc: error: error in evaluating config file (/usr/lib/emscripten/.emscripten): name 'os' is not defined, text: NODE_JS = '/usr/bin/node'
LLVM_ROOT = '/opt/emscripten-llvm/bin'
BINARYEN_ROOT = '/usr'
EMSCRIPTEN_ROOT = '/usr/lib/emscripten'
CACHE = os.path.expanduser('~/.cache/emscripten')
Simple fix is to add import os
to the top of /usr/lib/emscripten/.emscripten
.
Additional info:
- package version(s): 3.1.71-4
- config and/or log files: N/A
- link to upstream bug report, if any: N/A
Steps to reproduce:
- Install
emscripten
- Run
emcc --clear-cache
- Watch it fail.
Edited by Josh Ellithorpe