Source: python-pytray
Version: 0.3.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230203 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config
> /usr/lib/python3/dist-packages/setuptools/dist.py:548: UserWarning: The
> version specified ('${version}') is an invalid version, this may not work as
> expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440
> for more details.
> warnings.warn(
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/dist.py:548: UserWarning: The
> version specified ('${version}') is an invalid version, this may not work as
> expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440
> for more details.
> warnings.warn(
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/pretty.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/obj_load.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/weakdict.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/tree.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/aiothreads.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> copying pytray/futures.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build;
> python3.11 -m pytest test
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.1, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 13 items
>
> test/test_aiothreads.py ........ [
> 61%]
> test/test_obj_load.py .. [
> 76%]
> test/test_tree.py ...
> [100%]
>
> ============================== 13 passed in 0.48s
> ==============================
> create-stamp debian/debhelper-build-stamp
> dh_testroot -O--buildsystem=pybuild
> dh_prep -O--buildsystem=pybuild
> dh_auto_install --destdir=debian/python3-pytray/ -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py install --root
> /<<PKGBUILDDIR>>/debian/python3-pytray
> /usr/lib/python3/dist-packages/setuptools/dist.py:548: UserWarning: The
> version specified ('${version}') is an invalid version, this may not work as
> expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440
> for more details.
> warnings.warn(
> running install
> /usr/lib/python3/dist-packages/setuptools/command/install.py:34:
> SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and
> pip and other standards-based tools.
> warnings.warn(
> running build
> running build_py
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytray/usr
> creating /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__init__.py ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/pretty.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/obj_load.py ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/weakdict.py ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/tree.py
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/aiothreads.py ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> creating
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__pycache__/futures.cpython-311.pyc
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__pycache__/aiothreads.cpython-311.pyc
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__pycache__/obj_load.cpython-311.pyc
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__pycache__/__init__.cpython-311.pyc
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__pycache__/tree.cpython-311.pyc
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/__pycache__/version.cpython-311.pyc
> ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__pycache__
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/version.py ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> copying
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytray/build/pytray/futures.py ->
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/__init__.py
> to __init__.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/pretty.py
> to pretty.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/obj_load.py
> to obj_load.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/weakdict.py
> to weakdict.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/tree.py
> to tree.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/aiothreads.py
> to aiothreads.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/version.py
> to version.cpython-311.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/python3-pytray/usr/lib/python3.11/dist-packages/pytray/futures.py
> to futures.cpython-311.pyc
> running install_egg_info
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 11, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 108, in
> setup
> return distutils.core.setup(**attrs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 185, in setup
> return run_commands(dist)
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 201, in run_commands
> dist.run_commands()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 969, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1213, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 988, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line
> 68, in run
> return orig.install.run(self)
> ^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/setuptools/_distutils/command/install.py",
> line 709, in run
> self.run_command(cmd_name)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line
> 318, in run_command
> self.distribution.run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1213, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 987, in run_command
> cmd_obj.ensure_finalized()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line
> 111, in ensure_finalized
> self.finalize_options()
> File
> "/usr/lib/python3/dist-packages/setuptools/command/install_egg_info.py", line
> 31, in finalize_options
> ei_cmd = self.get_finalized_command("egg_info")
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line
> 305, in get_finalized_command
> cmd_obj.ensure_finalized()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line
> 111, in ensure_finalized
> self.finalize_options()
> File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line
> 219, in finalize_options
> parsed_version = parse_version(self.egg_version)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py",
> line 266, in __init__
> raise InvalidVersion(f"Invalid version: '{version}'")
> pkg_resources.extern.packaging.version.InvalidVersion: Invalid version:
> '-version-'
> E: pybuild pybuild:388: install: plugin distutils failed with: exit code=1:
> /usr/bin/python3 setup.py install --root
> /<<PKGBUILDDIR>>/debian/python3-pytray
> dh_auto_install: error: pybuild --install -i python{version} -p 3.11
> --dest-dir /<<PKGBUILDDIR>>/debian/python3-pytray returned exit code 13
> make: *** [debian/rules:6: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/02/03/python-pytray_0.3.5-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230203;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230203&[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.