Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#54876 - [emscripten] default dot file issue
Attached to Project:
Community Packages
Opened by Brian Gomes Bascoy (pera) - Wednesday, 19 July 2017, 16:33 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 08 August 2017, 13:21 GMT
Opened by Brian Gomes Bascoy (pera) - Wednesday, 19 July 2017, 16:33 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 08 August 2017, 13:21 GMT
|
DetailsDescription:
Running emcc throws the following error message: ERROR:root:Error in evaluating ~/.emscripten (at /home/guest/.emscripten): 'NoneType' object has no attribute 'startswith', text: [the .emscripten file is outputted here] Changing the config file line 11, from this: BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN')) to this: BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN') or '{{{ BINARYEN_ROOT }}}') fixed the problem. Additional info: * emscripten-1.37.16-1 * default ~/.emscripten Steps to reproduce: Run emcc after installation. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 08 August 2017, 13:21 GMT
Reason for closing: Upstream
Tuesday, 08 August 2017, 13:21 GMT
Reason for closing: Upstream
sudo pacman -S emscripten
source /etc/profile.d/emscripten.sh
emcc
emcc
The first time you run emcc it will create the ~/.emscripten file. Then the second time is when you get the error.
I'm guessing you can also fix this by installing binaryen.
With this one (same line):
https://github.com/kripken/emscripten/blob/master/tools/settings_template_readonly.py
PKGBUILD runs a sed to modify that file, but I don't see how that could be introducing this issue.
Also, usptream noticed this bug and fixed it, thereby conclusively proving it was indeed... an upstream bug!
https://github.com/kripken/emscripten/commit/b67ecfbccd73f01b0252df660ad2c18471863567
Anyways, this package is using the tag release 1.37.16, which is when this regression was introduced. Versions 1.37.17 and 1.37.18 look good.