Jump to content

SpiderMonkey fails to build due to 'invalid escape sequence' in __init__.py


angrybunny
 Share

Recommended Posts

Just tried to run update-workspaces.sh and got the following error:

/home/ldh/Downloads/0ad/libraries/source/spidermonkey/mozjs-91.13.1/python/mozbuild/mozbuild/configure/__init__.py:915: SyntaxWarning: invalid escape sequence '\.'
  RE_MODULE = re.compile("^[a-zA-Z0-9_\.]+$")
Traceback (most recent call last):
  File "/home/ldh/Downloads/0ad/libraries/source/spidermonkey/mozjs-91.13.1/build-debug/../js/src/../../configure.py", line 22, in <module>
    from mozbuild.configure import (
  File "/home/ldh/Downloads/0ad/libraries/source/spidermonkey/mozjs-91.13.1/python/mozbuild/mozbuild/configure/__init__.py", line 13, in <module>
    from six.moves import builtins as __builtin__
ModuleNotFoundError: No module named 'six.moves'
ERROR: SpiderMonkey build failed

I have attached the full log.

Running latest Fedora release on amd ryzen 7

buildattempt.txt

Edited by angrybunny
Adding system info
Link to comment
Share on other sites

1 hour ago, s0600204 said:

Are you attempting to build with python 3.12 (or newer) installed globally? Then please see https://code.wildfiregames.com/D5227.

Thank you. That fixed that error, but now onto another lol:

patching file third_party/python/virtualenv/virtualenv/util/path/_win.py
patching file third_party/python/virtualenv/virtualenv/util/subprocess/_win_subprocess.py
patching file third_party/python/virtualenv/virtualenv/version.py
patching file third_party/python/virtualenv/__virtualenv__/pathlib2-2.3.5-py2.py3-none-any/pathlib2-2.3.5.dist-info/RECORD
cp: cannot stat '../wheels/*.whl': No such file or directory
ERROR: SpiderMonkey build failed

Going to do more research. Seems that every time I try and build anything from mozilla, it fails.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...