Source: scikit-build-core
Version: 0.6.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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:110: Building wheel for python3.12 with "build"
> module
> I: pybuild base:310: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core
> * Building wheel...
> Successfully built scikit_build_core-0.6.1-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build"
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_scikit-build-core
> * Building wheel...
> Successfully built scikit_build_core-0.6.1-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build; python3.12
> -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'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> installed packages of interest: build==0.10.0 cattrs==22.2.0 packaging==23.2
> pathspec==0.11.1 pyproject-metadata==0.7.1 pytest==7.4.3
> scikit_build_core==0.6.1 setuptools==68.1.2 setuptools-scm==7.1.0
> typing-extensions==4.7.1 virtualenv==20.25.0+ds wheel==0.42.0
> sysconfig platform: linux-x86_64
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build
> configfile: pyproject.toml
> testpaths: tests
> collected 217 items / 41 deselected / 1 skipped / 176 selected
>
> tests/test_builder.py ........FXs......... [
> 11%]
> tests/test_dynamic_metadata.py .s.....F.. [
> 17%]
> tests/test_editable_unit.py .. [
> 18%]
> tests/test_file_processor.py . [
> 18%]
> tests/test_fileapi.py .... [
> 21%]
> tests/test_generator_default.py ... [
> 22%]
> tests/test_json_schema.py ........ [
> 27%]
> tests/test_logging.py ... [
> 28%]
> tests/test_module_dir.py .. [
> 30%]
> tests/test_name_main.py ... [
> 31%]
> tests/test_process_scripts.py . [
> 32%]
> tests/test_pyproject_abi3.py F [
> 32%]
> tests/test_pyproject_extra_dirs.py .. [
> 34%]
> tests/test_pyproject_pep517.py ......FFs. [
> 39%]
> tests/test_pyproject_pep660.py F [
> 40%]
> tests/test_schema.py .sssssssssssssssssssssssssssssss [
> 58%]
> tests/test_settings.py ................................ [
> 76%]
> tests/test_settings_overrides.py ..................... [
> 88%]
> tests/test_shutil.py ... [
> 90%]
> tests/test_simple_pure.py ... [
> 92%]
> tests/test_simplest_c.py .FFFF [
> 94%]
> tests/test_skbuild_settings.py ....... [
> 98%]
> tests/test_wheelfile_utils.py ..
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________________ test_get_python_include_dir
> __________________________
>
> def test_get_python_include_dir():
> > assert get_python_include_dir().is_dir()
> E AssertionError: assert False
> E + where False = <bound method Path.is_dir of
> PosixPath('/usr/include/python3.12')>()
> E + where <bound method Path.is_dir of
> PosixPath('/usr/include/python3.12')> =
> PosixPath('/usr/include/python3.12').is_dir
> E + where PosixPath('/usr/include/python3.12') =
> get_python_include_dir()
>
> tests/test_builder.py:49: AssertionError
> ______________________________ test_pep517_wheel
> _______________________________
>
> virtualenv = <conftest.VEnv object at 0x7f6745fbbc50>
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.usefixtures("mock_entry_points", "package_dynamic_metadata")
> def test_pep517_wheel(virtualenv):
> dist = Path("dist")
> > out = build_wheel("dist")
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_dynamic_metadata.py:232:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory = 'dist', config_settings = None, metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of /tmp/tmpf09znz0_/pip to 755
> INFO distlib.util:util.py:572 changing mode of /tmp/tmpf09znz0_/pip-3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of /tmp/tmpf09znz0_/pip3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of /tmp/tmpf09znz0_/pip3 to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel0/venv/bin/pip to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel0/venv/bin/pip-3.12 to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel0/venv/bin/pip3.12 to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel0/venv/bin/pip3 to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmpr2i16rhn/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Could NOT find Python (missing: Interpreter Development.Module)
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:28:50,808 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:28:50,843 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:28:50,843 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at CMakeLists.txt:11 (python_add_library):
> Unknown CMake command "python_add_library".
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmpr2i16rhn/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmpr2i16rhn/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[dynamic]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.2]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpr2i16rhn/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmpr2i16rhn/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmpr2i16rhn/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpr2i16rhn/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmpr2i16rhn/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:59 RUNENV:
> APT_CONFIG='/var/lib/sbuild/apt.conf'
> ASFLAGS=''
> ASFLAGS_FOR_BUILD=''
> CCACHE_DIR='/<<PKGBUILDDIR>>/.pybuild/ccache'
> CFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection'
> CFLAGS_FOR_BUILD='-g -O2'
> CMAKE_GENERATOR='Unix Makefiles'
> CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
> CPPFLAGS_FOR_BUILD=''
> CXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection'
> CXXFLAGS_FOR_BUILD='-g -O2'
> DEB_BUILD_ARCH='amd64'
> DEB_BUILD_ARCH_ABI='base'
> DEB_BUILD_ARCH_BITS='64'
> DEB_BUILD_ARCH_CPU='amd64'
> DEB_BUILD_ARCH_ENDIAN='little'
> DEB_BUILD_ARCH_LIBC='gnu'
> DEB_BUILD_ARCH_OS='linux'
> DEB_BUILD_GNU_CPU='x86_64'
> DEB_BUILD_GNU_SYSTEM='linux-gnu'
> DEB_BUILD_GNU_TYPE='x86_64-linux-gnu'
> DEB_BUILD_MULTIARCH='x86_64-linux-gnu'
> DEB_BUILD_OPTIONS='parallel=8'
> DEB_HOST_ARCH='amd64'
> DEB_HOST_ARCH_ABI='base'
> DEB_HOST_ARCH_BITS='64'
> DEB_HOST_ARCH_CPU='amd64'
> DEB_HOST_ARCH_ENDIAN='little'
> DEB_HOST_ARCH_LIBC='gnu'
> DEB_HOST_ARCH_OS='linux'
> DEB_HOST_GNU_CPU='x86_64'
> DEB_HOST_GNU_SYSTEM='linux-gnu'
> DEB_HOST_GNU_TYPE='x86_64-linux-gnu'
> DEB_HOST_MULTIARCH='x86_64-linux-gnu'
> DEB_PYTHON_INSTALL_LAYOUT='deb'
> DEB_RULES_REQUIRES_ROOT='no'
> DEB_TARGET_ARCH='amd64'
> DEB_TARGET_ARCH_ABI='base'
> DEB_TARGET_ARCH_BITS='64'
> DEB_TARGET_ARCH_CPU='amd64'
> DEB_TARGET_ARCH_ENDIAN='little'
> DEB_TARGET_ARCH_LIBC='gnu'
> DEB_TARGET_ARCH_OS='linux'
> DEB_TARGET_GNU_CPU='x86_64'
> DEB_TARGET_GNU_SYSTEM='linux-gnu'
> DEB_TARGET_GNU_TYPE='x86_64-linux-gnu'
> DEB_TARGET_MULTIARCH='x86_64-linux-gnu'
> DFLAGS='-frelease'
> DFLAGS_FOR_BUILD='-frelease'
> DH_INTERNAL_BUILDFLAGS='1'
> FCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -fcf-protection'
> FCFLAGS_FOR_BUILD='-g -O2'
> FFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -fcf-protection'
> FFLAGS_FOR_BUILD='-g -O2'
> HOME='/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core'
> LANG='C.UTF-8'
> LC_ALL='C.UTF-8'
> LC_COLLATE='C.UTF-8'
> LDFLAGS='-Wl,-z,relro'
> LDFLAGS_FOR_BUILD=''
> LOGNAME='user42'
> MAKEFLAGS=''
> MAKELEVEL='1'
> MFLAGS=''
> OBJCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection'
> OBJCFLAGS_FOR_BUILD='-g -O2'
> OBJCXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection'
> OBJCXXFLAGS_FOR_BUILD='-g -O2'
> OLDPWD='/<<PKGBUILDDIR>>'
>
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
> PWD='/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build'
> PYBUILD_NAME='scikit-build-core'
> PYBUILD_SYSTEM='pyproject'
> PYBUILD_TEST_ARGS="-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'"
> PYTEST_CURRENT_TEST='tests/test_dynamic_metadata.py::test_pep517_wheel
> (call)'
>
> PYTHONPATH='/<<PKGBUILDDIR>>/debian/python3-scikit-build-core/usr/lib/python3.12/dist-packages:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build'
> SCHROOT_ALIAS_NAME='unstable'
> SCHROOT_CHROOT_NAME='sid-amd64-sbuild'
> SCHROOT_COMMAND='dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -sa'
> SCHROOT_GID='1001'
> SCHROOT_GROUP='user42'
> SCHROOT_SESSION_ID='sid-amd64-sbuild-06e3833e-ce25-4459-9fc9-040792afe0b1'
> SCHROOT_UID='1001'
> SCHROOT_USER='user42'
> SETUPTOOLS_SCM_PRETEND_VERSION='0.6.1'
> SHELL='/bin/sh'
> SOURCE_DATE_EPOCH='1699640945'
> USER='user42'
> XDG_RUNTIME_DIR='/tmp/dh-xdg-rundir-i32cIbkJ'
> _PYTHON_HOST_PLATFORM='linux-x86_64'
> http_proxy='127.0.0.1'
> https_proxy='127.0.0.1'
> no_proxy='localhost'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmpr2i16rhn/build -C/tmp/tmpr2i16rhn/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> _______________________________ test_abi3_wheel
> ________________________________
>
> tmp_path = PosixPath('/tmp/pytest-of-user42/pytest-4/test_abi3_wheel0')
> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6745f26960>
> virtualenv = <conftest.VEnv object at 0x7f6745f25880>
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.skipif(
> sys.implementation.name == "pypy", reason="pypy does not support abi3"
> )
> @pytest.mark.skipif(
> sysconfig.get_platform().startswith(("msys", "mingw")),
> reason="abi3 FindPython on MSYS/MinGW reports not found",
> )
> def test_abi3_wheel(tmp_path, monkeypatch, virtualenv):
> dist = tmp_path / "dist"
> dist.mkdir()
> monkeypatch.chdir(ABI_PKG)
> if Path("dist").is_dir():
> shutil.rmtree("dist")
> if Path("build").is_dir():
> shutil.rmtree("build")
>
> > out = build_wheel(str(dist))
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_pyproject_abi3.py:34:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory = '/tmp/pytest-of-user42/pytest-4/test_abi3_wheel0/dist'
> config_settings = None, metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_abi3_wheel0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_abi3_wheel0/venv/bin/pip to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_abi3_wheel0/venv/bin/pip-3.12 to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_abi3_wheel0/venv/bin/pip3.12 to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_abi3_wheel0/venv/bin/pip3 to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmpg0ekhmj4/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:28:54,346 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:28:54,370 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:28:54,370 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> 2023-12-11 19:28:54,370 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:28:54,370 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at
> /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230
> (message):
> Could NOT find Python (missing: Interpreter Development.SABIModule)
> Call Stack (most recent call first):
> /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600
> (_FPHSA_FAILURE_MESSAGE)
> /usr/share/cmake-3.28/Modules/FindPython.cmake:616
> (find_package_handle_standard_args)
> CMakeLists.txt:8 (find_package)
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmpg0ekhmj4/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmpg0ekhmj4/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[abi3_example]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[abi3]===] CACHE STRING "" FORCE)
> set(SKBUILD_SABI_COMPONENT [===[Development.SABIModule]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpg0ekhmj4/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmpg0ekhmj4/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmpg0ekhmj4/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpg0ekhmj4/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmpg0ekhmj4/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
> + CMAKE_GENERATOR='Unix Makefiles'
> PYTEST_CURRENT_TEST='tests/test_pyproject_abi3.py::test_abi3_wheel (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmpg0ekhmj4/build -C/tmp/tmpg0ekhmj4/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> ______________________________ test_pep517_wheel
> _______________________________
>
> virtualenv = <conftest.VEnv object at 0x7f674605cb30>
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.usefixtures("package_simple_pyproject_ext")
> def test_pep517_wheel(virtualenv):
> dist = Path("dist")
> > out = build_wheel("dist", {"cmake.targets": ["cmake_example"]}) #
> > Could leave empty
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_pyproject_pep517.py:151:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory = 'dist', config_settings = {'cmake.targets':
> ['cmake_example']}
> metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel1/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel1/venv/bin/pip to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel1/venv/bin/pip-3.12 to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel1/venv/bin/pip3.12 to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel1/venv/bin/pip3 to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmp504tgdfw/build/CMakeInit.txt
> -- The CXX compiler identification is GNU 13.2.0
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:28:59,787 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:28:59,787 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at
> /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230
> (message):
> Could NOT find Python (missing: Interpreter Development.Module)
> Call Stack (most recent call first):
> /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600
> (_FPHSA_FAILURE_MESSAGE)
> /usr/share/cmake-3.28/Modules/FindPython.cmake:616
> (find_package_handle_standard_args)
> CMakeLists.txt:7 (find_package)
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmp504tgdfw/build
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmp504tgdfw/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[CMake_Example]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmp504tgdfw/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmp504tgdfw/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmp504tgdfw/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmp504tgdfw/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmp504tgdfw/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
> PYTEST_CURRENT_TEST='tests/test_pyproject_pep517.py::test_pep517_wheel
> (call)'
> - SKBUILD_CMAKE_ARGS='<unset>'
> - SKBUILD_CMAKE_DEFINE='<unset>'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmp504tgdfw/build -C/tmp/tmp504tgdfw/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> _________________________ test_pep517_wheel_source_dir
> _________________________
>
> virtualenv = <conftest.VEnv object at 0x7f6745f26c90>
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.usefixtures("package_simple_pyproject_source_dir")
> def test_pep517_wheel_source_dir(virtualenv):
> dist = Path("dist")
> > out = build_wheel("dist")
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_pyproject_pep517.py:199:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory = 'dist', config_settings = None, metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_source_dir0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_source_dir0/venv/bin/pip to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_source_dir0/venv/bin/pip-3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_source_dir0/venv/bin/pip3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_source_dir0/venv/bin/pip3 to
> 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmpmut0hx0_/build/CMakeInit.txt
> -- The CXX compiler identification is GNU 13.2.0
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:29:00,873 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:29:00,873 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at
> /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230
> (message):
> Could NOT find Python (missing: Interpreter Development.Module)
> Call Stack (most recent call first):
> /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600
> (_FPHSA_FAILURE_MESSAGE)
> /usr/share/cmake-3.28/Modules/FindPython.cmake:616
> (find_package_handle_standard_args)
> CMakeLists.txt:7 (find_package)
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmpmut0hx0_/build
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmpmut0hx0_/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[CMake_Example]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpmut0hx0_/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmpmut0hx0_/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmpmut0hx0_/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpmut0hx0_/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmpmut0hx0_/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
>
> PYTEST_CURRENT_TEST='tests/test_pyproject_pep517.py::test_pep517_wheel_source_dir
> (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -Ssrc
> -B/tmp/tmpmut0hx0_/build -C/tmp/tmpmut0hx0_/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> ______________________________ test_pep660_wheel
> _______________________________
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.xfail(
> sys.platform.startswith("cygwin"),
> strict=False,
> reason="No idea why this fails on Cygwin",
> )
> @pytest.mark.usefixtures("package_simplest_c")
> def test_pep660_wheel():
> dist = Path("dist")
> > out = build_editable("dist")
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_pyproject_pep660.py:22:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory = 'dist', config_settings = None, metadata_directory = None
>
> def build_editable(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=True,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:62:
> SystemExit
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (editable)
> *** Configuring CMake...
> loading initial cache file /tmp/tmpj_ggi2jc/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Could NOT find Python (missing: Interpreter Development.Module)
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:29:01,908 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:29:01,930 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:29:01,930 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at CMakeLists.txt:10 (python_add_library):
> Unknown CMake command "python_add_library".
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmpj_ggi2jc/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmpj_ggi2jc/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[simplest]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpj_ggi2jc/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmpj_ggi2jc/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmpj_ggi2jc/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpj_ggi2jc/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmpj_ggi2jc/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[editable]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
> PYTEST_CURRENT_TEST='tests/test_pyproject_pep660.py::test_pep660_wheel
> (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmpj_ggi2jc/build -C/tmp/tmpj_ggi2jc/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> ________________________ test_pep517_wheel[component0]
> _________________________
>
> tmp_path =
> PosixPath('/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0')
> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6746085fa0>
> virtualenv = <conftest.VEnv object at 0x7f6746084200>, component = []
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.parametrize(
> "component", [[], ["PythonModule"], ["PythonModule", "Generated"]]
> )
> def test_pep517_wheel(tmp_path, monkeypatch, virtualenv, component):
> dist = tmp_path / "dist"
> dist.mkdir()
> monkeypatch.chdir(SIMPLEST)
> if Path("dist").is_dir():
> shutil.rmtree("dist")
> > out = build_wheel(str(dist), config_settings={"install.components":
> > component})
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_simplest_c.py:58:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory =
> '/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0/dist'
> config_settings = {'install.components': []}, metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0/venv/bin/pip to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0/venv/bin/pip-3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0/venv/bin/pip3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component0_0/venv/bin/pip3
> to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmpzzekv_8f/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Could NOT find Python (missing: Interpreter Development.Module)
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:29:04,687 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:29:04,709 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:29:04,710 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at CMakeLists.txt:10 (python_add_library):
> Unknown CMake command "python_add_library".
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmpzzekv_8f/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmpzzekv_8f/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[simplest]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpzzekv_8f/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmpzzekv_8f/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmpzzekv_8f/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpzzekv_8f/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmpzzekv_8f/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
> + CMAKE_GENERATOR='Unix Makefiles'
>
> PYTEST_CURRENT_TEST='tests/test_simplest_c.py::test_pep517_wheel[component0]
> (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmpzzekv_8f/build -C/tmp/tmpzzekv_8f/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> ________________________ test_pep517_wheel[component1]
> _________________________
>
> tmp_path =
> PosixPath('/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0')
> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6746086030>
> virtualenv = <conftest.VEnv object at 0x7f6746085f40>
> component = ['PythonModule']
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.parametrize(
> "component", [[], ["PythonModule"], ["PythonModule", "Generated"]]
> )
> def test_pep517_wheel(tmp_path, monkeypatch, virtualenv, component):
> dist = tmp_path / "dist"
> dist.mkdir()
> monkeypatch.chdir(SIMPLEST)
> if Path("dist").is_dir():
> shutil.rmtree("dist")
> > out = build_wheel(str(dist), config_settings={"install.components":
> > component})
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_simplest_c.py:58:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory =
> '/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0/dist'
> config_settings = {'install.components': ['PythonModule']}
> metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0/venv/bin/pip to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0/venv/bin/pip-3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0/venv/bin/pip3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component1_0/venv/bin/pip3
> to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmptdcaait9/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Could NOT find Python (missing: Interpreter Development.Module)
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:29:05,527 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:29:05,554 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:29:05,554 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at CMakeLists.txt:10 (python_add_library):
> Unknown CMake command "python_add_library".
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmptdcaait9/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmptdcaait9/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[simplest]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmptdcaait9/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmptdcaait9/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmptdcaait9/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmptdcaait9/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmptdcaait9/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
>
> PYTEST_CURRENT_TEST='tests/test_simplest_c.py::test_pep517_wheel[component1]
> (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmptdcaait9/build -C/tmp/tmptdcaait9/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> ________________________ test_pep517_wheel[component2]
> _________________________
>
> tmp_path =
> PosixPath('/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0')
> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6745f74290>
> virtualenv = <conftest.VEnv object at 0x7f6745f75400>
> component = ['PythonModule', 'Generated']
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> @pytest.mark.parametrize(
> "component", [[], ["PythonModule"], ["PythonModule", "Generated"]]
> )
> def test_pep517_wheel(tmp_path, monkeypatch, virtualenv, component):
> dist = tmp_path / "dist"
> dist.mkdir()
> monkeypatch.chdir(SIMPLEST)
> if Path("dist").is_dir():
> shutil.rmtree("dist")
> > out = build_wheel(str(dist), config_settings={"install.components":
> > component})
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_simplest_c.py:58:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory =
> '/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0/dist'
> config_settings = {'install.components': ['PythonModule', 'Generated']}
> metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0/venv/bin/pip to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0/venv/bin/pip-3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0/venv/bin/pip3.12
> to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_component2_0/venv/bin/pip3
> to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmp2l9v48y1/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Could NOT find Python (missing: Interpreter Development.Module)
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:29:06,299 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:29:06,320 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:29:06,320 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at CMakeLists.txt:10 (python_add_library):
> Unknown CMake command "python_add_library".
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmp2l9v48y1/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmp2l9v48y1/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[simplest]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmp2l9v48y1/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmp2l9v48y1/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmp2l9v48y1/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmp2l9v48y1/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmp2l9v48y1/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
>
> PYTEST_CURRENT_TEST='tests/test_simplest_c.py::test_pep517_wheel[component2]
> (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmp2l9v48y1/build -C/tmp/tmp2l9v48y1/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> ___________________________ test_pep517_wheel_incexl
> ___________________________
>
> tmp_path =
> PosixPath('/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0')
> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6746085fd0>
> virtualenv = <conftest.VEnv object at 0x7f6746086090>
>
> @pytest.mark.compile()
> @pytest.mark.configure()
> def test_pep517_wheel_incexl(tmp_path, monkeypatch, virtualenv):
> dist = tmp_path / "dist"
> dist.mkdir()
> monkeypatch.chdir(SIMPLEST)
> if Path("dist").is_dir():
> shutil.rmtree("dist")
>
> > out = build_wheel(
> str(dist),
> {
> "sdist.include": "src/simplest/*included*.txt",
> "sdist.exclude": "src/simplest/*excluded*.txt",
> "wheel.packages": ["src/simplest", "src/not_a_package"],
> },
> )
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/tests/test_simplest_c.py:108:
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> wheel_directory =
> '/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0/dist'
> config_settings = {'sdist.exclude': 'src/simplest/*excluded*.txt',
> 'sdist.include': 'src/simplest/*included*.txt', 'wheel.packages':
> ['src/simplest', 'src/not_a_package']}
> metadata_directory = None
>
> def build_wheel(
> wheel_directory: str,
> config_settings: dict[str, list[str] | str] | None = None,
> metadata_directory: str | None = None,
> ) -> str:
> from .._logging import rich_print
> from ..errors import FailedLiveProcessError
> from .wheel import _build_wheel_impl
>
> try:
> return _build_wheel_impl(
> wheel_directory,
> config_settings,
> metadata_directory,
> editable=False,
> ).wheel_filename
> except FailedLiveProcessError as err:
> sys.stdout.flush()
> rich_print(f"\n[red bold]*** {' '.join(err.args)}",
> file=sys.stderr)
> > raise SystemExit(1) from None
> E SystemExit: 1
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build/scikit_build_core/build/__init__.py:40:
> SystemExit
> ------------------------------ Captured log setup
> ------------------------------
> INFO root:builtin.py:58 find interpreter for spec
> PythonSpec(path=/usr/bin/python3.12)
> INFO root:builtin.py:65 proposed
> PythonInfo(spec=CPython3.12.1.final.0-64, exe=/usr/bin/python3.12,
> platform=linux, version='3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0]',
> encoding_fs_io=utf-8-utf-8)
> INFO root:session.py:50 create virtual environment via
> CPython3Posix(dest=/tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0/venv,
> clear=False, no_vcs_ignore=False, global=False)
> INFO root:session.py:57 add seed packages via FromAppData(download=False,
> pip=bundle, via=copy,
> app_data_dir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/.local/share/virtualenv)
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0/venv/bin/pip to 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0/venv/bin/pip-3.12 to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0/venv/bin/pip3.12 to
> 755
> INFO distlib.util:util.py:572 changing mode of
> /tmp/pytest-of-user42/pytest-4/test_pep517_wheel_incexl0/venv/bin/pip3 to 755
> ----------------------------- Captured stdout call
> -----------------------------
> *** scikit-build-core 0.6.1 using CMake 3.28.0 (wheel)
> *** Configuring CMake...
> loading initial cache file /tmp/tmpb143i64i/build/CMakeInit.txt
> -- The C compiler identification is GNU 13.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Could NOT find Python (missing: Interpreter Development.Module)
> -- Configuring incomplete, errors occurred!
> ----------------------------- Captured stderr call
> -----------------------------
> 2023-12-11 19:29:07,090 - scikit_build_core - WARNING - No license files
> found, set wheel.license-files to [] to suppress this warning
> 2023-12-11 19:29:07,113 - scikit_build_core - WARNING - libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> 2023-12-11 19:29:07,114 - scikit_build_core - WARNING - Can't find a Python
> library, got libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> CMake Error at CMakeLists.txt:10 (python_add_library):
> Unknown CMake command "python_add_library".
>
>
>
> *** CMake configuration failed
> ------------------------------ Captured log call
> -------------------------------
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake --version
> INFO scikit_build_core:program_search.py:86 CMake version: 3.28.0
> INFO scikit_build_core:wheel.py:177 Build directory:
> /tmp/tmpb143i64i/build
> WARNING scikit_build_core:wheel.py:210 No license files found, set
> wheel.license-files to [] to suppress this warning
> DEBUG scikit_build_core:builder.py:134 SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:builder.py:137 Extra SITE_PACKAGES:
> /usr/lib/python3/dist-packages
> DEBUG scikit_build_core:generator.py:101 Default generator: Ninja
> DEBUG scikit_build_core:generator.py:129 CMAKE_GENERATOR: Using make:
> /usr/bin/gmake
> WARNING scikit_build_core:sysconfig.py:77 libdir/ldlibrary:
> /usr/lib/x86_64-linux-gnu/libpython3.12.so is not a real file!
> WARNING scikit_build_core:sysconfig.py:87 Can't find a Python library, got
> libdir=/usr/lib/x86_64-linux-gnu, ldlibrary=libpython3.12.so,
> multiarch=x86_64-linux-gnu, masd=x86_64-linux-gnu
> DEBUG scikit_build_core:cmake.py:158 /tmp/tmpb143i64i/build/CMakeInit.txt:
> set(SKBUILD [===[2]===] CACHE STRING "" FORCE)
> set(SKBUILD_CORE_VERSION [===[0.6.1]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_NAME [===[simplest]===] CACHE STRING "" FORCE)
> set(SKBUILD_PROJECT_VERSION [===[0.0.1]===] CACHE STRING "" FORCE)
> set(PYTHON_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(PYTHON_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(Python3_EXECUTABLE [===[/usr/bin/python3.12]===] CACHE STRING "" FORCE)
> set(Python3_ROOT_DIR [===[/usr]===] CACHE STRING "" FORCE)
> set(Python3_INCLUDE_DIR [===[/usr/include/python3.12]===] CACHE PATH ""
> FORCE)
> set(Python3_FIND_REGISTRY [===[NEVER]===] CACHE STRING "" FORCE)
> set(SKBUILD_SOABI [===[cpython-312-x86_64-linux-gnu]===] CACHE STRING ""
> FORCE)
> set(SKBUILD_SABI_COMPONENT [===[]===] CACHE STRING "" FORCE)
> set(SKBUILD_PLATLIB_DIR [===[/tmp/tmpb143i64i/wheel/platlib]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_DATA_DIR [===[/tmp/tmpb143i64i/wheel/data]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_HEADERS_DIR [===[/tmp/tmpb143i64i/wheel/headers]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_SCRIPTS_DIR [===[/tmp/tmpb143i64i/wheel/scripts]===] CACHE PATH
> "" FORCE)
> set(SKBUILD_NULL_DIR [===[/tmp/tmpb143i64i/wheel/null]===] CACHE PATH ""
> FORCE)
> set(SKBUILD_STATE [===[wheel]===] CACHE STRING "" FORCE)
> set(CMAKE_PREFIX_PATH
> [===[/usr/lib/python3/dist-packages;/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build]===]
> CACHE PATH "" FORCE)
> set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE "BOTH" CACHE PATH "")
> DEBUG scikit_build_core:_shutil.py:66 RUNENV - changes since last run only:
> PYTEST_CURRENT_TEST='tests/test_simplest_c.py::test_pep517_wheel_incexl
> (call)'
> DEBUG scikit_build_core:_shutil.py:69 RUN: /usr/bin/cmake -S.
> -B/tmp/tmpb143i64i/build -C/tmp/tmpb143i64i/build/CMakeInit.txt
> -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/gmake
> =========================== short test summary info
> ============================
> SKIPPED [1] tests/test_fortran.py:17: could not import 'numpy': No module
> named 'numpy'
> SKIPPED [1] tests/test_builder.py:66: MSVC only
> SKIPPED [1] tests/test_dynamic_metadata.py:118: install
> hatch-fancy-pypi-readme and setuptools-scm to test the dynamic metadata
> plugins
> SKIPPED [1] tests/test_pyproject_pep517.py:242: Doesn't work yet
> SKIPPED [14] tests/test_schema.py:33: could not import
> 'validate_pyproject.api': No module named 'validate_pyproject'
> SKIPPED [12] tests/test_schema.py:67: could not import 'fastjsonschema': No
> module named 'fastjsonschema'
> SKIPPED [5] tests/test_schema.py:106: could not import
> 'validate_pyproject.api': No module named 'validate_pyproject'
> XPASS tests/test_builder.py::test_get_python_library Doesn't matter if this
> fails, usually not used
> FAILED tests/test_builder.py::test_get_python_include_dir - AssertionError:
> a...
> FAILED tests/test_dynamic_metadata.py::test_pep517_wheel - SystemExit: 1
> FAILED tests/test_pyproject_abi3.py::test_abi3_wheel - SystemExit: 1
> FAILED tests/test_pyproject_pep517.py::test_pep517_wheel - SystemExit: 1
> FAILED tests/test_pyproject_pep517.py::test_pep517_wheel_source_dir -
> SystemE...
> FAILED tests/test_pyproject_pep660.py::test_pep660_wheel - SystemExit: 1
> FAILED tests/test_simplest_c.py::test_pep517_wheel[component0] - SystemExit: 1
> FAILED tests/test_simplest_c.py::test_pep517_wheel[component1] - SystemExit: 1
> FAILED tests/test_simplest_c.py::test_pep517_wheel[component2] - SystemExit: 1
> FAILED tests/test_simplest_c.py::test_pep517_wheel_incexl - SystemExit: 1
> ==== 10 failed, 131 passed, 35 skipped, 41 deselected, 1 xpassed in 18.63s
> =====
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_scikit-build-core/build; python3.12
> -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'
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_scikit-build-core/build; python3.11
> -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'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> installed packages of interest: build==0.10.0 cattrs==22.2.0 packaging==23.2
> pathspec==0.11.1 pyproject-metadata==0.7.1 pytest==7.4.3
> scikit_build_core==0.6.1 setuptools==68.1.2 setuptools-scm==7.1.0
> typing-extensions==4.7.1 virtualenv==20.25.0+ds wheel==0.42.0
> sysconfig platform: linux-x86_64
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_scikit-build-core/build
> configfile: pyproject.toml
> testpaths: tests
> collected 217 items / 41 deselected / 1 skipped / 176 selected
>
> tests/test_builder.py .........xs......... [
> 11%]
> tests/test_dynamic_metadata.py .s........ [
> 17%]
> tests/test_editable_unit.py .. [
> 18%]
> tests/test_file_processor.py . [
> 18%]
> tests/test_fileapi.py .... [
> 21%]
> tests/test_generator_default.py ... [
> 22%]
> tests/test_json_schema.py ........ [
> 27%]
> tests/test_logging.py ... [
> 28%]
> tests/test_module_dir.py .. [
> 30%]
> tests/test_name_main.py ... [
> 31%]
> tests/test_process_scripts.py . [
> 32%]
> tests/test_pyproject_abi3.py . [
> 32%]
> tests/test_pyproject_extra_dirs.py .. [
> 34%]
> tests/test_pyproject_pep517.py ........s. [
> 39%]
> tests/test_pyproject_pep660.py . [
> 40%]
> tests/test_schema.py .sssssssssssssssssssssssssssssss [
> 58%]
> tests/test_settings.py ................................ [
> 76%]
> tests/test_settings_overrides.py ..................... [
> 88%]
> tests/test_shutil.py ... [
> 90%]
> tests/test_simple_pure.py ... [
> 92%]
> tests/test_simplest_c.py ..... [
> 94%]
> tests/test_skbuild_settings.py ....... [
> 98%]
> tests/test_wheelfile_utils.py ..
> [100%]
>
> =========================== short test summary info
> ============================
> SKIPPED [1] tests/test_fortran.py:17: could not import 'numpy': No module
> named 'numpy'
> SKIPPED [1] tests/test_builder.py:66: MSVC only
> SKIPPED [1] tests/test_dynamic_metadata.py:118: install
> hatch-fancy-pypi-readme and setuptools-scm to test the dynamic metadata
> plugins
> SKIPPED [1] tests/test_pyproject_pep517.py:242: Doesn't work yet
> SKIPPED [14] tests/test_schema.py:33: could not import
> 'validate_pyproject.api': No module named 'validate_pyproject'
> SKIPPED [12] tests/test_schema.py:67: could not import 'fastjsonschema': No
> module named 'fastjsonschema'
> SKIPPED [5] tests/test_schema.py:106: could not import
> 'validate_pyproject.api': No module named 'validate_pyproject'
> XFAIL tests/test_builder.py::test_get_python_library - Doesn't matter if this
> fails, usually not used
> ========== 141 passed, 35 skipped, 41 deselected, 1 xfailed in 46.67s
> ==========
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/scikit-build-core_0.6.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.