[Pkg-xmpp-devel] Bug#1061020: libervia-pubsub: FTBFS: make[1]: *** [debian/rules:16: override_dh_auto_install] Error 25
Lucas Nussbaum
lucas at debian.org
Tue Jan 16 19:32:41 GMT 2024
Source: libervia-pubsub
Version: 0.4.0+hg488-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240115 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_install --destdir=debian/tmp
> I: pybuild base:305: /usr/bin/python3.12 setup.py install --root /<<PKGBUILDDIR>>/debian/tmp --install-lib=/usr/share/libervia --install-scripts=/usr/share/libervia --verbose
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of sat_pubsub already set
> warnings.warn(f"version of {dist_name} already set")
> /usr/lib/python3/dist-packages/setuptools/dist.py:509: SetuptoolsDeprecationWarning: Invalid version: '0.5.0D'.
> !!
>
> ********************************************************************************
> The version specified is not a valid version according to PEP 440.
> This may not work as expected with newer versions of
> setuptools, pip, and PyPI.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://peps.python.org/pep-0440/ for details.
> ********************************************************************************
>
> !!
> self._validate_version(self.metadata.version)
> running install
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
>
> ********************************************************************************
> Please avoid running ``setup.py`` directly.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
> ********************************************************************************
>
> !!
> self.initialize_options()
> running build
> running build_py
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/tmp/usr
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/__init__.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/error.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/container.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/exceptions.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/const.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/iidavoll.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/privilege.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/mam.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/pam.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/pubsub_admin.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/pgsql_storage.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/test/test_storage.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/test/__init__.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/test/test_backend.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/backend.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/VERSION -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/sat_pubsub/delegation.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/twisted
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/twisted/plugins
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/twisted/plugins/pubsub.py -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/twisted/plugins
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/__init__.py to __init__.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/error.py to error.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/container.py to container.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/exceptions.py to exceptions.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/const.py to const.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/iidavoll.py to iidavoll.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/privilege.py to privilege.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/mam.py to mam.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/pam.py to pam.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/pubsub_admin.py to pubsub_admin.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/pgsql_storage.py to pgsql_storage.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test/test_storage.py to test_storage.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test/__init__.py to __init__.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/test/test_backend.py to test_backend.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/backend.py to backend.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/sat_pubsub/delegation.py to delegation.cpython-312.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/tmp/usr/share/libervia/twisted/plugins/pubsub.py to pubsub.cpython-312.pyc
> running install_data
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/sat_pubsub
> copying CHANGELOG -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/sat_pubsub
> copying COPYING -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/sat_pubsub
> copying README -> /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/sat_pubsub
> running install_egg_info
> /usr/lib/python3/dist-packages/setuptools/command/egg_info.py:131: SetuptoolsDeprecationWarning: Invalid version: '0.5.0D'.
> !!
>
> ********************************************************************************
> Version '0.5.0D' is not valid according to PEP 440.
>
> Please make sure to specify a valid version for your package.
> Also note that future releases of setuptools may halt the build process
> if an invalid version is given.
>
> This deprecation is overdue, please update your project and remove deprecated
> calls to avoid build errors in the future.
>
> See https://peps.python.org/pep-0440/ for details.
> ********************************************************************************
>
> !!
> return _normalization.best_effort_version(tagged)
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 54, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 107, 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 1233, 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 78, in run
> return orig.install.run(self)
> ^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/install.py", line 708, 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 1233, 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 29, 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 225, in finalize_options
> parsed_version = packaging.version.Version(self.egg_version)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_vendor/packaging/version.py", line 198, in __init__
> raise InvalidVersion(f"Invalid version: '{version}'")
> setuptools.extern.packaging.version.InvalidVersion: Invalid version: '0.5.0D'
> E: pybuild pybuild:391: install: plugin distutils failed with: exit code=1: /usr/bin/python3.12 setup.py install --root /<<PKGBUILDDIR>>/debian/tmp --install-lib=/usr/share/libervia --install-scripts=/usr/share/libervia --verbose
> dh_auto_install: error: pybuild --install -i python{version} -p "3.12 3.11" --dest-dir /<<BUILDDIR>>/libervia-pubsub-0.4.0\+hg488/debian/tmp returned exit code 13
> make[1]: *** [debian/rules:16: override_dh_auto_install] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/01/15/libervia-pubsub_0.4.0+hg488-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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 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.
More information about the Pkg-xmpp-devel
mailing list