[Python-modules-team] Bug#1009476: sleekxmpp: FTBFS: AttributeError: module 'collections' has no attribute 'MutableSet'

Lucas Nussbaum lucas at debian.org
Tue Apr 12 19:19:13 BST 2022


Source: sleekxmpp
Version: 1.3.3-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules clean
> dh clean --buildsystem=pybuild --with python3,sphinxdoc
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:239: python3.10 setup.py clean 
> /<<PKGBUILDDIR>>/setup.py:15: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.core import setup, Command
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 19, in <module>
>     from sleekxmpp.version import __version__
>   File "/<<PKGBUILDDIR>>/sleekxmpp/__init__.py", line 20, in <module>
>     from sleekxmpp.stanza import Message, Presence, Iq
>   File "/<<PKGBUILDDIR>>/sleekxmpp/stanza/__init__.py", line 10, in <module>
>     from sleekxmpp.stanza.error import Error
>   File "/<<PKGBUILDDIR>>/sleekxmpp/stanza/error.py", line 9, in <module>
>     from sleekxmpp.xmlstream import ElementBase, ET
>   File "/<<PKGBUILDDIR>>/sleekxmpp/xmlstream/__init__.py", line 14, in <module>
>     from sleekxmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT
>   File "/<<PKGBUILDDIR>>/sleekxmpp/xmlstream/xmlstream.py", line 35, in <module>
>     from sleekxmpp.thirdparty.statemachine import StateMachine
>   File "/<<PKGBUILDDIR>>/sleekxmpp/thirdparty/__init__.py", line 2, in <module>
>     from sleekxmpp.thirdparty.orderedset import OrderedSet
>   File "/<<PKGBUILDDIR>>/sleekxmpp/thirdparty/orderedset.py", line 25, in <module>
>     class OrderedSet(collections.MutableSet):
> AttributeError: module 'collections' has no attribute 'MutableSet'
> E: pybuild pybuild:369: clean: plugin distutils failed with: exit code=1: python3.10 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned exit code 13
> make: *** [debian/rules:8: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/sleekxmpp_1.3.3-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Python-modules-team mailing list