Package: src:python-opt-einsum-fx Version: 0.1.4-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/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-opt-einsum-fx, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild pybuild --clean -i python{version} -p "3.14 3.13" 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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** [... snipped ...] !! ******************************************************************************** Pattern 'E' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'N' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'S' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) running config dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p "3.14 3.13" 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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'L' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'I' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'C' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'E' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'N' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'S' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_script.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_fuse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_efficient_shape_prop.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_opt_ein.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/fx_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx 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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'L' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'I' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'C' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'E' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'N' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /usr/lib/python3/dist-packages/setuptools/dist.py:484: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern 'S' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_script.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_fuse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_efficient_shape_prop.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/_opt_ein.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/fx_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx copying opt_einsum_fx/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build/opt_einsum_fx dh_auto_test -O--buildsystem=pybuild pybuild --test -i python{version} -p "3.14 3.13" I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build; python3.14 -m unittest discover -v opt_einsum_fx (unittest.loader._FailedTest.opt_einsum_fx) ... ERROR ====================================================================== ERROR: opt_einsum_fx (unittest.loader._FailedTest.opt_einsum_fx) ---------------------------------------------------------------------- ImportError: Failed to import test module: opt_einsum_fx Traceback (most recent call last): File "/usr/lib/python3.14/unittest/loader.py", line 460, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib/python3.14/unittest/loader.py", line 367, in _get_module_from_name __import__(name) ~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx/__init__.py", line 3, in <module> from ._script import jitable File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build/opt_einsum_fx/_script.py", line 4, in <module> import torch File "/usr/lib/python3/dist-packages/torch/__init__.py", line 990, in <module> raise ImportError( ...<14 lines>... ) from None ImportError: Failed to load PyTorch C extensions: It appears that PyTorch has loaded the `torch/_C` folder of the PyTorch repository rather than the C extensions which are expected in the `torch._C` namespace. This can occur when using the `install` workflow. e.g. $ python setup.py install && python -c "import torch" This error can generally be solved using the `develop` workflow $ python setup.py develop && python -c "import torch" # This should succeed or by running Python from a different directory. ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opt_einsum_fx/build; python3.14 -m unittest discover -v I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opt_einsum_fx/build; python3.13 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN rm -fr -- /tmp/dh-xdg-rundir-XO5P1olw dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

