Jump to content

Can't build SpiderMonkey 45


Recommended Posts

Thanks! Exactly that I asking... but have problem with building on ubuntu 18.04. according to  https://trac.wildfiregames.com/wiki/BuildInstructions

can not correctly configure SpiderMonkey 45  and build failed.

  Reveal hidden contents

 

Link to comment
Share on other sites

.... finished! ..... but :

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 2 years later...

I use this topic because, while building from scratch using the code on Github, on an Intel computer with Fedora 35 Gnome up-to-date, I have the same error, which I already had a few days ago.

[nicolas@fedora workspaces]$ ./update-workspaces.sh -j3
Updating bundled third-party dependencies...

FCollada is already up to date.

Building SpiderMonkey...

SpiderMonkey build options: --disable-tests
           --disable-jemalloc
           --disable-js-shell
           --without-intl-api
           --enable-shared-js
           --disable-jitspew         
patching file js/src/build/moz.build
patching file mozglue/build/moz.build
patching file config/makefiles/target_binaries.mk
patching file js/src/moz.build
patching file js/src/old-configure
patching file js/public/StructuredClone.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 381 with fuzz 1 (offset 53 lines).
patching file js/public/AllocPolicy.h
Hunk #1 succeeded at 109 (offset 2 lines).
Hunk #2 succeeded at 175 (offset 3 lines).
patching file js/public/RootingAPI.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 931 with fuzz 1.
patching file build/moz.configure/toolchain.configure
patching file build/moz.configure/toolchain.configure
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 169 with fuzz 1.
patching file js/src/wasm/WasmSignalHandlers.cpp
patching file .cargo/config.in
patching file Cargo.lock
patching file Cargo.toml
Traceback (most recent call last):
  File "/home/nicolas/0ad/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/../js/src/../../configure.py", line 25, in <module>
    from mozbuild.configure import (
  File "/home/nicolas/0ad/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py", line 33, in <module>
    from mozbuild.util import (
  File "/home/nicolas/0ad/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py", line 760, in <module>
    class HierarchicalStringList(object):
  File "/home/nicolas/0ad/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py", line 785, in HierarchicalStringList
    class StringListAdaptor(collections.Sequence):
AttributeError: module 'collections' has no attribute 'Sequence'
ERROR: SpiderMonkey build failed

 Is the error related to a Python version incompatibility, as it was told in a previous post?

  • Thanks 1
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...