Package: src:python-amqp
Version: 5.3.1-2
Severity: important
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck

(It's a wiki, so you are welcome to contribute)

[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-amqp, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf docs/.build
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_amqp  
* Building wheel...
<string>:79: SetuptoolsDeprecationWarning: The test command is disabled and 
references to it are deprecated.
!!

        
********************************************************************************
        Please remove any references to `setuptools.command.test` in all 
supported versions of the affected package.

        This deprecation is overdue, please update your project and remove 
deprecated
        calls to avoid build errors in the future.
        
********************************************************************************

!!
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/amqp
copying amqp/__init__.py -> build/lib/amqp
copying amqp/method_framing.py -> build/lib/amqp
copying amqp/channel.py -> build/lib/amqp
copying amqp/basic_message.py -> build/lib/amqp
copying amqp/platform.py -> build/lib/amqp
copying amqp/abstract_channel.py -> build/lib/amqp
copying amqp/connection.py -> build/lib/amqp
copying amqp/serialization.py -> build/lib/amqp
copying amqp/transport.py -> build/lib/amqp
copying amqp/spec.py -> build/lib/amqp
copying amqp/sasl.py -> build/lib/amqp
copying amqp/utils.py -> build/lib/amqp
copying amqp/exceptions.py -> build/lib/amqp
copying amqp/protocol.py -> build/lib/amqp
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/amqp
copying build/lib/amqp/__init__.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/method_framing.py -> 
build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/channel.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/basic_message.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/platform.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/abstract_channel.py -> 
build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/connection.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/serialization.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/transport.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/spec.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/sasl.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/utils.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/exceptions.py -> build/bdist.linux-x86_64/wheel/./amqp
copying build/lib/amqp/protocol.py -> build/bdist.linux-x86_64/wheel/./amqp
running install_egg_info
running egg_info
creating amqp.egg-info
writing amqp.egg-info/PKG-INFO
writing dependency_links to amqp.egg-info/dependency_links.txt
writing requirements to amqp.egg-info/requires.txt
writing top-level names to amqp.egg-info/top_level.txt
writing manifest file 'amqp.egg-info/SOURCES.txt'
reading manifest file 'amqp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.py' under directory 'demo'
warning: no files found matching 'README' under directory 'extra'
warning: no previously-included files matching '*' found under directory 
'docs/_build'
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
warning: no previously-included files matching '.*.sw*' found under directory 
'*'
adding license file 'LICENSE'
writing manifest file 'amqp.egg-info/SOURCES.txt'
Copying amqp.egg-info to build/bdist.linux-x86_64/wheel/./amqp-5.3.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/amqp-5.3.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_amqp/.tmp-xtcifvmb/amqp-5.3.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'amqp/__init__.py'
adding 'amqp/abstract_channel.py'
adding 'amqp/basic_message.py'
adding 'amqp/channel.py'
adding 'amqp/connection.py'
adding 'amqp/exceptions.py'
adding 'amqp/method_framing.py'
adding 'amqp/platform.py'
adding 'amqp/protocol.py'
adding 'amqp/sasl.py'
adding 'amqp/serialization.py'
adding 'amqp/spec.py'
adding 'amqp/transport.py'
adding 'amqp/utils.py'
adding 'amqp-5.3.1.dist-info/licenses/LICENSE'
adding 'amqp-5.3.1.dist-info/METADATA'
adding 'amqp-5.3.1.dist-info/WHEEL'
adding 'amqp-5.3.1.dist-info/top_level.txt'
adding 'amqp-5.3.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built amqp-5.3.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
dh: command-omitted: The call to "dh_auto_test -O--buildsystem=pybuild" was 
omitted due to "DEB_BUILD_OPTIONS=nocheck"
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   dh_auto_install -O--buildsystem=pybuild
I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
   dh_installdocs -O--buildsystem=pybuild
   debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=. python3 -m sphinx -D today="February 16, 2025" -b html -N docs/ 
/<<PKGBUILDDIR>>/debian/python-amqp-doc/usr/share/doc/python-amqp-doc/html
Running Sphinx v8.2.3

Configuration error!

Versions
========

* Platform:         linux; 
(Linux-6.12.48+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version:   3.13.7 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.21.2
* Jinja2 version:   3.1.6
* Pygments version: 2.18.0

Last Messages
=============

None.

Loaded Extensions
=================

None.

Traceback
=========

      File "/usr/lib/python3/dist-packages/sphinx/config.py", line 616, in 
eval_config_file
        raise ConfigError(msg % traceback.format_exc()) from exc
    sphinx.errors.ConfigError: There is a programmable error in your 
configuration file:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/sphinx/config.py", line 601, in 
eval_config_file
        exec(code, namespace)  # NoQA: S102
        ~~~~^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/docs/conf.py", line 3, in <module>
        globals().update(conf.build_config(
                         ~~~~~~~~~~~~~~~~~^
            'amqp', __file__,
            ^^^^^^^^^^^^^^^^^
        ...<17 lines>...
            apicheck_ignore_modules=['amqp'],
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ))
        ^
      File "/usr/lib/python3/dist-packages/sphinx_celery/conf.py", line 150, in 
build_config
        package = import_package(package)
      File "/usr/lib/python3/dist-packages/sphinx_celery/conf.py", line 82, in 
import_package
        return __import__(package)
      File "/<<PKGBUILDDIR>>/docs/../amqp/__init__.py", line 29, in <module>
        from .basic_message import Message  # noqa
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/docs/../amqp/basic_message.py", line 3, in <module>
        from .serialization import GenericContent
      File "/<<PKGBUILDDIR>>/docs/../amqp/serialization.py", line 16, in 
<module>
        from .utils import bytes_to_str as pstr_t
      File "/<<PKGBUILDDIR>>/docs/../amqp/utils.py", line 6, in <module>
        from vine import promise  # noqa
        ^^^^^^^^^^^^^^^^^^^^^^^^
    ModuleNotFoundError: No module named 'vine'


The full traceback has been saved in:
/tmp/sphinx-err-0ncs65m9.log

To report this error to the developers, please open an issue at 
<https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message 
can be provided next time.
make[1]: *** [debian/rules:20: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to