Source: python-daemon
Version: 3.0.1-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:310: python3.11 setup.py clean
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2768,
> in version
> return self._version
> ^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2902,
> in __getattr__
> raise AttributeError(attr)
> AttributeError: _version. Did you mean: 'version'?
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 28, in <module>
> main_module = __import__(
> ^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/daemon/_metadata.py", line 66, in <module>
> distribution = get_distribution(distribution_name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/daemon/_metadata.py", line 29, in get_distribution
> distribution = pkg_resources.get_distribution(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 528,
> in get_distribution
> dist = get_provider(dist)
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 400,
> in get_provider
> return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 697,
> in find
> if dist is not None and dist not in req:
> ^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3200,
> in __contains__
> item = item.version
> ^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2776,
> in version
> raise ValueError(msg, self) from e
> ValueError: ("Missing 'Version:' header and/or PKG-INFO file at path:
> /<<PKGBUILDDIR>>/python_daemon.egg-info/PKG-INFO", python-daemon [unknown
> version] (/<<PKGBUILDDIR>>))
> E: pybuild pybuild:395: clean: plugin distutils failed with: exit code=1:
> python3.11 setup.py clean
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.11 returned
> exit code 13
> make: *** [debian/rules:21: clean] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/python-daemon_3.0.1-1.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&[email protected]&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 mark 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.