Package: src:scikit-build-core Version: 0.11.6-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/202608/ 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:scikit-build-core, 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 dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --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:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core * Building wheel... Successfully built scikit_build_core-0.11.6-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core * Building wheel... Successfully built scikit_build_core-0.11.6-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build; python3.13 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash' ============================= test session starts ============================== platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 installed packages of interest: build==1.5.1 cattrs==26.1.0 fastjsonschema==2.21.1 hatch-fancy-pypi-readme==25.1.0 hatchling==1.30.1 numpy==2.4.6 packaging==26.2 pathspec==1.0.4 pytest==9.1.1 pytest-subprocess==1.5.3 pytest-xdist==3.8.0 scikit_build_core==0.11.6 setuptools==78.1.1 setuptools-scm==9.2.2 typing-extensions==4.16.0 validate-pyproject==0.25 virtualenv==21.5.1 wheel==0.47.0 sysconfig platform: linux-x86_64 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build configfile: pyproject.toml testpaths: tests plugins: xdist-3.8.0, subprocess-1.5.3, typeguard-4.4.4 collected 453 items / 76 deselected / 377 selected tests/test_auto.py ................... [ 5%] tests/test_broken_fallback.py .... [ 6%] tests/test_build_cli.py ....... [ 7%] tests/test_builder.py .........xs................. [ 15%] tests/test_cmake_ast.py ............................. [ 23%] tests/test_dynamic_metadata.py .s.............. [ 27%] tests/test_dynamic_metadata_unit.py .......... [ 29%] tests/test_editable_redirect.py . [ 30%] tests/test_editable_unit.py .. [ 30%] tests/test_file_processor.py ........... [ 33%] tests/test_fileapi.py .... [ 34%] tests/test_generator_default.py ... [ 35%] tests/test_json_schema.py ........ [ 37%] tests/test_logging.py ........ [ 39%] tests/test_module_dir.py .. [ 40%] tests/test_name_main.py ... [ 41%] tests/test_printouts.py . [ 41%] tests/test_process_scripts.py . [ 41%] tests/test_pyproject_abi3.py . [ 41%] tests/test_pyproject_extra_dirs.py .. [ 42%] tests/test_pyproject_pep517.py .........sF.F.. [ 46%] tests/test_pyproject_pep660.py .. [ 46%] tests/test_pyproject_purelib.py . [ 47%] tests/test_schema.py ............................................... [ 59%] tests/test_settings.py ................................... [ 68%] tests/test_settings_docs.py ... [ 69%] tests/test_settings_overrides.py ....................................... [ 80%] ...................................... [ 90%] tests/test_shutil.py .. [ 90%] tests/test_simple_pure.py ... [ 91%] tests/test_simplest_c.py ..... [ 92%] tests/test_skbuild_settings.py ......................... [ 99%] tests/test_wheelfile_utils.py .. [100%] =================================== FAILURES =================================== _____________________ test_prepare_metdata_for_build_wheel _____________________ @pytest.mark.usefixtures("package_simple_pyproject_ext") def test_prepare_metdata_for_build_wheel(): > metadata = build.util.project_wheel_metadata(str(Path.cwd()), > isolated=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build/tests/test_pyproject_pep517.py:332: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source_dir = '/tmp/pytest-of-sbuild/pytest-0/test_prepare_metdata_for_build0/pkg' isolated = False, runner = <function quiet_subprocess_runner at 0x7faef10eccc0> def project_wheel_metadata( source_dir: StrPath, isolated: bool = True, *, runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner, ) -> importlib.metadata.PackageMetadata: """ Return the wheel metadata for a project. Uses the ``prepare_metadata_for_build_wheel`` hook if available, otherwise ``build_wheel``. .. deprecated:: 1.5.0 Generate metadata with the ``python -m build --metadata`` command instead. :param source_dir: Project source directory :param isolated: Whether or not to run invoke the backend in the current environment or to create an isolated one and invoke it there. :param runner: An alternative runner for backend subprocesses """ > warnings.warn( 'project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead', DeprecationWarning, stacklevel=2, ) E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead /usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning ______________________ test_pep639_license_files_metadata ______________________ @pytest.mark.usefixtures("package_pep639_pure") def test_pep639_license_files_metadata(): > metadata = build.util.project_wheel_metadata(str(Path.cwd()), > isolated=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build/tests/test_pyproject_pep517.py:372: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source_dir = '/tmp/pytest-of-sbuild/pytest-0/test_pep639_license_files_meta0/pkg' isolated = False, runner = <function quiet_subprocess_runner at 0x7faef10eccc0> def project_wheel_metadata( source_dir: StrPath, isolated: bool = True, *, runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner, ) -> importlib.metadata.PackageMetadata: """ Return the wheel metadata for a project. Uses the ``prepare_metadata_for_build_wheel`` hook if available, otherwise ``build_wheel``. .. deprecated:: 1.5.0 Generate metadata with the ``python -m build --metadata`` command instead. :param source_dir: Project source directory :param isolated: Whether or not to run invoke the backend in the current environment or to create an isolated one and invoke it there. :param runner: An alternative runner for backend subprocesses """ > warnings.warn( 'project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead', DeprecationWarning, stacklevel=2, ) E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead /usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning =========================== short test summary info ============================ SKIPPED [1] tests/test_builder.py:77: MSVC only SKIPPED [1] tests/test_dynamic_metadata.py:127: git is not installed SKIPPED [1] tests/test_pyproject_pep517.py:307: Doesn't work yet XFAIL tests/test_builder.py::test_get_python_library - Doesn't matter if this fails, usually not used FAILED tests/test_pyproject_pep517.py::test_prepare_metdata_for_build_wheel FAILED tests/test_pyproject_pep517.py::test_pep639_license_files_metadata - D... ===== 2 failed, 371 passed, 3 skipped, 76 deselected, 1 xfailed in 31.58s ====== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scikit-build-core/build; python3.13 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash' I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build; python3.14 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash' ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 installed packages of interest: build==1.5.1 cattrs==26.1.0 fastjsonschema==2.21.1 hatch-fancy-pypi-readme==25.1.0 hatchling==1.30.1 numpy==2.4.6 packaging==26.2 pathspec==1.0.4 pytest==9.1.1 pytest-subprocess==1.5.3 pytest-xdist==3.8.0 scikit_build_core==0.11.6 setuptools==78.1.1 setuptools-scm==9.2.2 typing-extensions==4.16.0 validate-pyproject==0.25 virtualenv==21.5.1 wheel==0.47.0 sysconfig platform: linux-x86_64 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build configfile: pyproject.toml testpaths: tests plugins: xdist-3.8.0, subprocess-1.5.3, typeguard-4.4.4 collected 453 items / 76 deselected / 377 selected tests/test_auto.py ................... [ 5%] tests/test_broken_fallback.py .... [ 6%] tests/test_build_cli.py ....... [ 7%] tests/test_builder.py .........xs................. [ 15%] tests/test_cmake_ast.py ............................. [ 23%] tests/test_dynamic_metadata.py .s.............. [ 27%] tests/test_dynamic_metadata_unit.py .......... [ 29%] tests/test_editable_redirect.py . [ 30%] tests/test_editable_unit.py .. [ 30%] tests/test_file_processor.py ........... [ 33%] tests/test_fileapi.py .... [ 34%] tests/test_generator_default.py ... [ 35%] tests/test_json_schema.py ........ [ 37%] tests/test_logging.py ........ [ 39%] tests/test_module_dir.py .. [ 40%] tests/test_name_main.py ... [ 41%] tests/test_printouts.py . [ 41%] tests/test_process_scripts.py . [ 41%] tests/test_pyproject_abi3.py . [ 41%] tests/test_pyproject_extra_dirs.py .. [ 42%] tests/test_pyproject_pep517.py .........sF.F.. [ 46%] tests/test_pyproject_pep660.py .. [ 46%] tests/test_pyproject_purelib.py . [ 47%] tests/test_schema.py ............................................... [ 59%] tests/test_settings.py ................................... [ 68%] tests/test_settings_docs.py ... [ 69%] tests/test_settings_overrides.py ....................................... [ 80%] ...................................... [ 90%] tests/test_shutil.py .. [ 90%] tests/test_simple_pure.py ... [ 91%] tests/test_simplest_c.py ..... [ 92%] tests/test_skbuild_settings.py ......................... [ 99%] tests/test_wheelfile_utils.py .. [100%] =================================== FAILURES =================================== _____________________ test_prepare_metdata_for_build_wheel _____________________ @pytest.mark.usefixtures("package_simple_pyproject_ext") def test_prepare_metdata_for_build_wheel(): > metadata = build.util.project_wheel_metadata(str(Path.cwd()), > isolated=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build/tests/test_pyproject_pep517.py:332: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source_dir = '/tmp/pytest-of-sbuild/pytest-1/test_prepare_metdata_for_build0/pkg' isolated = False, runner = <function quiet_subprocess_runner at 0x7f4f37db09e0> def project_wheel_metadata( source_dir: StrPath, isolated: bool = True, *, runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner, ) -> importlib.metadata.PackageMetadata: """ Return the wheel metadata for a project. Uses the ``prepare_metadata_for_build_wheel`` hook if available, otherwise ``build_wheel``. .. deprecated:: 1.5.0 Generate metadata with the ``python -m build --metadata`` command instead. :param source_dir: Project source directory :param isolated: Whether or not to run invoke the backend in the current environment or to create an isolated one and invoke it there. :param runner: An alternative runner for backend subprocesses """ > warnings.warn( 'project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead', DeprecationWarning, stacklevel=2, ) E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead /usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning ______________________ test_pep639_license_files_metadata ______________________ @pytest.mark.usefixtures("package_pep639_pure") def test_pep639_license_files_metadata(): > metadata = build.util.project_wheel_metadata(str(Path.cwd()), > isolated=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build/tests/test_pyproject_pep517.py:372: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source_dir = '/tmp/pytest-of-sbuild/pytest-1/test_pep639_license_files_meta0/pkg' isolated = False, runner = <function quiet_subprocess_runner at 0x7f4f37db09e0> def project_wheel_metadata( source_dir: StrPath, isolated: bool = True, *, runner: SubprocessRunner = pyproject_hooks.quiet_subprocess_runner, ) -> importlib.metadata.PackageMetadata: """ Return the wheel metadata for a project. Uses the ``prepare_metadata_for_build_wheel`` hook if available, otherwise ``build_wheel``. .. deprecated:: 1.5.0 Generate metadata with the ``python -m build --metadata`` command instead. :param source_dir: Project source directory :param isolated: Whether or not to run invoke the backend in the current environment or to create an isolated one and invoke it there. :param runner: An alternative runner for backend subprocesses """ > warnings.warn( 'project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead', DeprecationWarning, stacklevel=2, ) E DeprecationWarning: project_wheel_metadata is deprecated; generate metadata with the `python -m build --metadata` command instead /usr/lib/python3/dist-packages/build/util.py:53: DeprecationWarning =========================== short test summary info ============================ SKIPPED [1] tests/test_builder.py:77: MSVC only SKIPPED [1] tests/test_dynamic_metadata.py:127: git is not installed SKIPPED [1] tests/test_pyproject_pep517.py:307: Doesn't work yet XFAIL tests/test_builder.py::test_get_python_library - Doesn't matter if this fails, usually not used FAILED tests/test_pyproject_pep517.py::test_prepare_metdata_for_build_wheel FAILED tests/test_pyproject_pep517.py::test_pep639_license_files_metadata - D... ===== 2 failed, 371 passed, 3 skipped, 76 deselected, 1 xfailed in 32.42s ====== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scikit-build-core/build; python3.14 -m pytest -k 'not network and not test_cmake_config and not test_get_requires and not test_prepare_metadata and not test_program_search and not test_setuptools_abi3 and not test_setuptools_pep517 and not test_pep517_sdist_hash' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.14" --parallel=2 returned exit code 13 make: *** [debian/rules:11: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

