Package: src:python-funcsigs
Version: 1.0.2-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=pybuild --with 
python3,sphinxdoc
dh: error: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose 
from: binary binary-arch binary-indep build build-arch build-indep clean 
install install-arch install-indep)
dh build --buildsystem=pybuild --with python3,sphinxdoc
dh: warning: The target override_dh_gconf references a now obsolete command and 
will not be run! (Marked by debhelper, will be an error in compat 14)
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:88: _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)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:88: _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)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build/funcsigs
copying funcsigs/version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build/funcsigs
copying funcsigs/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build/funcsigs
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build; 
python3.12 -m unittest discover -v
test_builtin_type (tests.test_formatannotation.TestFormatAnnotation) ... ok
test_string (tests.test_formatannotation.TestFormatAnnotation) ... ok
test_user_type (tests.test_formatannotation.TestFormatAnnotation) ... ok
test_has_version (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_keywords_args (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_multiple_arguments (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_readme (tests.test_funcsigs.TestFunctionSignatures) ... ERROR
test_single_keyword_argument (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_single_positional_argument (tests.test_funcsigs.TestFunctionSignatures) 
... ok
test_unbound_method (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_var_args (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_zero_arguments (tests.test_funcsigs.TestFunctionSignatures) ... ok
test_signature_bound_arguments_equality (tests.test_inspect.TestBoundArguments) 
... ok
test_signature_bound_arguments_unhashable 
(tests.test_inspect.TestBoundArguments) ... ok
test_signature_parameter_equality (tests.test_inspect.TestParameterObject) ... 
ok
test_signature_parameter_immutability (tests.test_inspect.TestParameterObject) 
... ok
test_signature_parameter_kinds (tests.test_inspect.TestParameterObject) ... ok
test_signature_parameter_object (tests.test_inspect.TestParameterObject) ... ok
test_signature_parameter_positional_only 
(tests.test_inspect.TestParameterObject) ... ok
test_signature_parameter_replace (tests.test_inspect.TestParameterObject) ... ok
test_signature_parameter_unhashable (tests.test_inspect.TestParameterObject) 
... ok
test_bind_self (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_args_and_kwargs (tests.test_inspect.TestSignatureBind) ... 
ok
test_signature_bind_args_and_varargs (tests.test_inspect.TestSignatureBind) ... 
ok
test_signature_bind_arguments (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_empty (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_just_args (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_just_kwargs (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_kwonly (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_positional_only (tests.test_inspect.TestSignatureBind) ... 
ok
test_signature_bind_var (tests.test_inspect.TestSignatureBind) ... ok
test_signature_bind_varargs_order (tests.test_inspect.TestSignatureBind) ... ok
test_signature_equality (tests.test_inspect.TestSignatureObject) ... ok
test_signature_immutability (tests.test_inspect.TestSignatureObject) ... ok
test_signature_object (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_builtin_function (tests.test_inspect.TestSignatureObject) ... 
ok
test_signature_on_callable_objects (tests.test_inspect.TestSignatureObject) ... 
ok
test_signature_on_class (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_classmethod (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_complex_args (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_decorated (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_lambdas (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_method (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_noarg (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_non_function (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_partial (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_staticmethod (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_wargs (tests.test_inspect.TestSignatureObject) ... ok
test_signature_on_wkwonly (tests.test_inspect.TestSignatureObject) ... ok
test_signature_replace_anno (tests.test_inspect.TestSignatureObject) ... ok
test_signature_str (tests.test_inspect.TestSignatureObject) ... ok
test_signature_str_positional_only (tests.test_inspect.TestSignatureObject) ... 
ok
test_signature_unhashable (tests.test_inspect.TestSignatureObject) ... ok

======================================================================
ERROR: test_readme (tests.test_funcsigs.TestFunctionSignatures)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build/tests/test_funcsigs.py",
 line 70, in test_readme
    doctest.testfile('../README.rst')
  File "/usr/lib/python3.12/doctest.py", line 2104, in testfile
    text, filename = _load_testfile(filename, package, module_relative,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/doctest.py", line 234, in _load_testfile
    file_contents = loader.get_data(filename)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 1186, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build/tests/../README.rst'

----------------------------------------------------------------------
Ran 53 tests in 0.009s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_funcsigs/build; python3.12 -m unittest 
discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to