Skip to content

Bazzite Complile Error for Winsdk #27

@Alucard0504

Description

@Alucard0504

Defaulting to user installation because normal site-packages is not writeable
Collecting winsdk
Downloading winsdk-1.0.0b10.tar.gz (7.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.1/7.1 MB 25.6 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: winsdk
Building wheel for winsdk (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for winsdk (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [124 lines of output]
/tmp/pip-build-env-4g6kuws1/overlay/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:
  
          License :: OSI Approved :: MIT License
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    self._finalize_license_expression()
  
  
  --------------------------------------------------------------------------------
  -- Trying 'Ninja' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is GNU 15.2.1
  -- 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
  -- The CXX compiler identification is GNU 15.2.1
  -- 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 done (0.4s)
  -- Generating done (0.0s)
  -- Build files have been written to: /tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748/_cmake_test_compile/build
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja' generator - success
  --------------------------------------------------------------------------------
  
  Configuring Project
    Working directory:
      /tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748/_skbuild/linux-x86_64-3.14/cmake-build
    Command:
      /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/bin/cmake /tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748 -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748/_skbuild/linux-x86_64-3.14/cmake-install -DPYTHON_VERSION_STRING:STRING=3.14.3 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-4g6kuws1/overlay/lib/python3.14/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.14 -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.14 -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.14 -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja -DCMAKE_BUILD_TYPE:STRING=Release
  
  Not searching for unused variables given on the command line.
  -- The CXX compiler identification is GNU 15.2.1
  -- 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
  CMake Error at /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:877 (file):
    file STRINGS file "/usr/include/python3.14/patchlevel.h" cannot be read.
  Call Stack (most recent call first):
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:3962 (_python_get_version)
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython3.cmake:671 (include)
    CMakeLists.txt:32 (find_package)
  
  
  CMake Error at /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:882 (list):
    list GET given empty list
  Call Stack (most recent call first):
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:3962 (_python_get_version)
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython3.cmake:671 (include)
    CMakeLists.txt:32 (find_package)
  
  
  CMake Error at /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:883 (list):
    list GET given empty list
  Call Stack (most recent call first):
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:3962 (_python_get_version)
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython3.cmake:671 (include)
    CMakeLists.txt:32 (find_package)
  
  
  CMake Error at /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:884 (list):
    list GET given empty list
  Call Stack (most recent call first):
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:3962 (_python_get_version)
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython3.cmake:671 (include)
    CMakeLists.txt:32 (find_package)
  
  
  CMake Error at /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
    Could NOT find Python3 (missing: Development.Module) (found version "..")
  Call Stack (most recent call first):
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython/Support.cmake:4334 (find_package_handle_standard_args)
    /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/share/cmake-4.3/Modules/FindPython3.cmake:671 (include)
    CMakeLists.txt:32 (find_package)
  
  
  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "/tmp/pip-build-env-4g6kuws1/overlay/lib/python3.14/site-packages/skbuild/setuptools_wrap.py", line 661, in setup
      env = cmkr.configure(
          cmake_args,
      ...<3 lines>...
          languages=cmake_languages,
      )
    File "/tmp/pip-build-env-4g6kuws1/overlay/lib/python3.14/site-packages/skbuild/cmaker.py", line 356, in configure
      raise SKBuildError(msg)
  
  An error occurred while configuring with CMake.
    Command:
      /tmp/pip-build-env-4g6kuws1/overlay/lib64/python3.14/site-packages/cmake/data/bin/cmake /tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748 -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748/_skbuild/linux-x86_64-3.14/cmake-install -DPYTHON_VERSION_STRING:STRING=3.14.3 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-4g6kuws1/overlay/lib/python3.14/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.14 -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.14 -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.14 -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja -DCMAKE_BUILD_TYPE:STRING=Release
    Source directory:
      /tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748
    Working directory:
      /tmp/pip-install-4kgds3l5/winsdk_f60ea97737da48f1b232af5ffb575748/_skbuild/linux-x86_64-3.14/cmake-build
  Please see CMake's output for more information.
  
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for winsdk
Failed to build winsdk
ERROR: Failed to build installable wheels for some pyproject.toml based projects (winsdk)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions