On Mon, Jul 5, 2021 at 4:50 PM Miro Hrončok <mhron...@redhat.com> wrote:

> On 05. 07. 21 15:14, Richard Shaw wrote:
> > 0ad failed:
> >
> > Traceback (most recent call last):
> >    File
> >
> "/builddir/build/BUILD/0ad-0.0.24b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/../js/src/../../configure.py",
>
> > line 25, in <module>
> >      from mozbuild.configure import (
> >    File
> >
> "/builddir/build/BUILD/0ad-0.0.24b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>
> > line 33, in <module>
> >      from mozbuild.util import (
> >    File
> >
> "/builddir/build/BUILD/0ad-0.0.24b-alpha/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py",
>
> > line 760, in <module>
> >      class HierarchicalStringList(object):
> >    File
> >
> "/builddir/build/BUILD/0ad-0.0.24b-alpha/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
> >
> > https://kojipkgs.fedoraproject.org//work/tasks/4873/71344873/build.log
> > <https://kojipkgs.fedoraproject.org//work/tasks/4873/71344873/build.log>
> >
> > Doesn't look fmt related.
>
> This is Python 3.10 related.
>
> https://docs.python.org/3.10/whatsnew/3.10.html#removed
>
> "Remove deprecated aliases to Collections Abstract Base Classes from the
> collections module."
>
> E.g. use collections.abc.Sequence instead of collections.Sequence.
> collections.Sequence was deprecated from Python 3.7.
>

Well the fix looks simple enough but it's the bundled spidermonkey that
needs to be patched and it's gziped inside of the 0ad archive with a
separate patching mechanism. BLEH.

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to