Package: src:python-cluster Version: 1.4.1.post3-1 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/202512/ 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:python-cluster, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /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 :: GNU Lesser General Public License v2 (LGPLv2) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.14' does not exist -- can't clean it I: pybuild base:317: python3.13 setup.py clean /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 :: GNU Lesser General Public License v2 (LGPLv2) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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:317: python3.14 setup.py config /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 :: GNU Lesser General Public License v2 (LGPLv2) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config I: pybuild base:317: python3.13 setup.py config /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 :: GNU Lesser General Public License v2 (LGPLv2) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:317: /usr/bin/python3.14 setup.py build /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 :: GNU Lesser General Public License v2 (LGPLv2) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster copying cluster/cluster.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster copying cluster/matrix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster copying cluster/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster copying cluster/linkage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster copying cluster/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster/method copying cluster/method/hierarchical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster/method copying cluster/method/kmeans.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster/method copying cluster/method/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster/method copying cluster/method/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster/method running egg_info creating cluster.egg-info writing cluster.egg-info/PKG-INFO writing dependency_links to cluster.egg-info/dependency_links.txt writing top-level names to cluster.egg-info/top_level.txt writing manifest file 'cluster.egg-info/SOURCES.txt' reading manifest file 'cluster.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'cluster.egg-info/SOURCES.txt' copying cluster/version.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster I: pybuild base:317: /usr/bin/python3 setup.py build /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 :: GNU Lesser General Public License v2 (LGPLv2) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster copying cluster/cluster.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster copying cluster/matrix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster copying cluster/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster copying cluster/linkage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster copying cluster/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster/method copying cluster/method/hierarchical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster/method copying cluster/method/kmeans.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster/method copying cluster/method/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster/method copying cluster/method/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster/method running egg_info writing cluster.egg-info/PKG-INFO writing dependency_links to cluster.egg-info/dependency_links.txt writing top-level names to cluster.egg-info/top_level.txt reading manifest file 'cluster.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'cluster.egg-info/SOURCES.txt' copying cluster/version.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build; python3.14 -m pytest ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: pytest.ini plugins: typeguard-4.4.4 collected 28 items test/test_hierarchical.py ....F...s.... [ 46%] test/test_kmeans.py .......... [ 82%] test/test_linkage.py .... [ 96%] test/test_numpy.py s [100%] =================================== FAILURES =================================== _________________ HClusterIntegerTestCase.testMultiprocessing __________________ self = <test_hierarchical.HClusterIntegerTestCase testMethod=testMultiprocessing> def testMultiprocessing(self): cl = HierarchicalClustering(self.__data, lambda x, y: abs(x - y), num_processes=4) new_data = [] > [new_data.extend(_) for _ in cl.getlevel(40)] ^^^^^^^^^^^^^^^ test/test_hierarchical.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cluster/method/hierarchical.py:207: in getlevel self.cluster() cluster/method/hierarchical.py:146: in cluster item_item_matrix.genmatrix(self.num_processes) cluster/matrix.py:129: in genmatrix [process.start() for process in processes] ^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/process.py:121: in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:224: in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/context.py:300: in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__ super().__init__(process_obj) /usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__ self._launch(process_obj) /usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch reduction.dump(process_obj, buf) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = <Process name='Process-1' parent=97 initial> file = <_io.BytesIO object at 0x7f4fae4cbfb0>, protocol = None def dump(obj, file, protocol=None): '''Replacement for pickle.dump() using ForkingPickler.''' > ForkingPickler(file, protocol).dump(obj) E _pickle.PicklingError: Can't pickle local object <function HClusterIntegerTestCase.testMultiprocessing.<locals>.<lambda> at 0x7f4fae40ba00> E when serializing dict item 'distance_function' E when serializing tuple item 2 E when serializing functools.partial reconstructor arguments E when serializing functools.partial object E when serializing dict item 'combinfunc' E when serializing cluster.matrix.Matrix state E when serializing cluster.matrix.Matrix object E when serializing tuple item 0 E when serializing method reconstructor arguments E when serializing method object E when serializing dict item '_target' E when serializing multiprocessing.context.Process state E when serializing multiprocessing.context.Process object /usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1428 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1428: PytestConfigWarning: Unknown config option: looponfailroots self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") cluster/__init__.py:19 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build/cluster/__init__.py:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import resource_string -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_hierarchical.py::HClusterIntegerTestCase::testMultiprocessing ============= 1 failed, 25 passed, 2 skipped, 2 warnings in 0.23s ============== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-cluster/build; python3.14 -m pytest I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: pytest.ini plugins: typeguard-4.4.4 collected 28 items test/test_hierarchical.py ........s.... [ 46%] test/test_kmeans.py .......... [ 82%] test/test_linkage.py .... [ 96%] test/test_numpy.py s [100%] =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1428 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1428: PytestConfigWarning: Unknown config option: looponfailroots self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") cluster/__init__.py:19 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-cluster/build/cluster/__init__.py:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import resource_string .pybuild/cpython3_3.13_python-cluster/build/test/test_hierarchical.py: 12 warnings /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=100) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 26 passed, 2 skipped, 14 warnings in 0.42s ================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:5: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

