[Debichem-devel] Bug#1140981: gpaw: FTBFS: E TypeError: object of type 'type' has no len()
Santiago Vila
sanvila at debian.org
Sun Jun 28 21:51:09 BST 2026
Package: src:gpaw
Version: 25.7.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202606/
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 cannot 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:gpaw, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
==================================== ERRORS ====================================
___________ ERROR collecting gpaw/test/test_diagonalizer_backend.py ____________
/usr/lib/python3/dist-packages/pluggy/_hooks.py:512: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/_pytest/python.py:250: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/_pytest/python.py:476: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/usr/lib/python3/dist-packages/pluggy/_hooks.py:573: in call_extra
return self._hookexec(self.name, hookimpls, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/_pytest/python.py:124: in pytest_generate_tests
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
/usr/lib/python3/dist-packages/_pytest/python.py:1316: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
/usr/lib/python3/dist-packages/_pytest/mark/structures.py:217: in _for_parametrize
if len(param.values) != len(argnames):
^^^^^^^^^^^^^^^^^
E TypeError: object of type 'type' has no len()
=============================== warnings summary ===============================
gpaw/__init__.py:49
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/gpaw/__init__.py:49: UserWarning: Unknown GPAW environment varable: GPAW_CONFIG
warnings.warn(f'Unknown GPAW environment varable: {var}')
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_chiks.py::test_chiks, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_chiks.py::test_chiks_vs_chi0, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_chiks.py::test_xi, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_jdos.py::test_jdos, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_parallel_kptpair_extraction.py::test_parallel_extract_kptdata, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_paw.py::test_paw_corrections, argvalues type: generator
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ GPAW-MPI stuff ================================
size: 1
=========================== short test summary info ============================
ERROR gpaw/test/test_diagonalizer_backend.py - TypeError: object of type 'typ...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
================ 1738 deselected, 7 warnings, 1 error in 9.10s =================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v -m ci
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -v -m ci
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3.14
cachedir: .pytest_cache
GPAW MPI rank=0, size=1
Cache directory including gpw files: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/.pytest_cache/d
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pytest.ini
testpaths: gpaw
plugins: typeguard-4.4.4
collecting ... collected 1819 items / 1 error / 1738 deselected / 81 selected
==================================== ERRORS ====================================
___________ ERROR collecting gpaw/test/test_diagonalizer_backend.py ____________
/usr/lib/python3/dist-packages/pluggy/_hooks.py:512: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/_pytest/python.py:250: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/_pytest/python.py:476: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/usr/lib/python3/dist-packages/pluggy/_hooks.py:573: in call_extra
return self._hookexec(self.name, hookimpls, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/_pytest/python.py:124: in pytest_generate_tests
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
/usr/lib/python3/dist-packages/_pytest/python.py:1316: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
/usr/lib/python3/dist-packages/_pytest/mark/structures.py:217: in _for_parametrize
if len(param.values) != len(argnames):
^^^^^^^^^^^^^^^^^
E TypeError: object of type 'type' has no len()
=============================== warnings summary ===============================
gpaw/__init__.py:49
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/gpaw/__init__.py:49: UserWarning: Unknown GPAW environment varable: GPAW_CONFIG
warnings.warn(f'Unknown GPAW environment varable: {var}')
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_chiks.py::test_chiks, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_chiks.py::test_chiks_vs_chi0, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_chiks.py::test_xi, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_jdos.py::test_jdos, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_parallel_kptpair_extraction.py::test_parallel_extract_kptdata, argvalues type: product
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: gpaw/test/response/test_paw.py::test_paw_corrections, argvalues type: generator
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ GPAW-MPI stuff ================================
size: 1
=========================== short test summary info ============================
ERROR gpaw/test/test_diagonalizer_backend.py - TypeError: object of type 'typ...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
================ 1738 deselected, 7 warnings, 1 error in 9.12s =================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -v -m ci
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.14" --test-pytest --test-args="-v -m ci" --parallel=2 returned exit code 13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debichem-devel
mailing list