Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake fails to find SWIG on rebuilds #869

Closed
dylan-thomas832 opened this issue Aug 22, 2024 · 8 comments · Fixed by #870
Closed

CMake fails to find SWIG on rebuilds #869

dylan-thomas832 opened this issue Aug 22, 2024 · 8 comments · Fixed by #870

Comments

@dylan-thomas832
Copy link

dylan-thomas832 commented Aug 22, 2024

Problem

Thanks for such an awesome package. I have really enjoyed learning how to use scikit-build-core.

When installing a SWIG wrapped library with scikit-build-core, rebuilds fail when I have the build-dir set to a static location. This occurs whether installing in editable mode or not.

Details

I am using SWIG to build a Python package for a C++ library. To assist with initial development and debugging, I have set tool.sckit-build.build-dir = "build/{cache_tag}" to point a static build folder. This works great and successfully builds on a "fresh" pip install. However, when rebuilding (without completely deleting the build folder) it fails during the CMake configuration step. Specifically, it fails because it cannot find SWIG:

Cmake Error
  2024-08-21 22:19:47,173 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -E capabilities
  2024-08-21 22:19:47,216 - scikit_build_core - INFO - CMake version: 3.22.1
  *** scikit-build-core 0.10.4 using CMake 3.22.1 (metadata_wheel)
  2024-08-21 22:19:47,220 - scikit_build_core - INFO - Build directory: /home/dylan26/projects/swig/build/cpython-39
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: orbits
  Building wheel for orbits (pyproject.toml): started
  Running command Building wheel for orbits (pyproject.toml)
  2024-08-21 22:19:47,359 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -E capabilities
  2024-08-21 22:19:47,402 - scikit_build_core - INFO - CMake version: 3.22.1
  *** scikit-build-core 0.10.4 using CMake 3.22.1 (wheel)
  2024-08-21 22:19:47,406 - scikit_build_core - INFO - Build directory: /home/dylan26/projects/swig/build/cpython-39
  *** Configuring CMake...
  2024-08-21 22:19:47,471 - scikit_build_core - INFO - RUN: /tmp/pip-build-env-xgzud74l/normal/lib/python3.9/site-packages/ninja/data/bin/ninja --version
  2024-08-21 22:19:47,473 - scikit_build_core - INFO - Ninja version: 1.11.1
  2024-08-21 22:19:47,478 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -S. -Bbuild/cpython-39 -DCMAKE_BUILD_TYPE:STRING=Release -Cbuild/cpython-39/CMakeInit.txt -DCMAKE_INSTALL_PREFIX=/tmp/tmppzhfv0qn/wheel/platlib -DCMAKE_MAKE_PROGRAM=/tmp/pip-build-env-xgzud74l/normal/lib/python3.9/site-packages/ninja/data/bin/ninja
  loading initial cache file build/cpython-39/CMakeInit.txt
  CMake Error at /usr/share/cmake-3.22/Modules/FindSWIG.cmake:137 (message):
    Command "/tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0 -help" failed with
    output:

  Call Stack (most recent call first):
    CMakeLists.txt:11 (find_package)


  CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find SWIG (missing: python) (found version "4.2.1")
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-3.22/Modules/FindSWIG.cmake:153 (find_package_handle_standard_args)
    CMakeLists.txt:11 (find_package)


  -- Configuring incomplete, errors occurred!
  See also "/home/dylan26/projects/swig/build/cpython-39/CMakeFiles/CMakeOutput.log".

  *** CMake configuration failed
  error: subprocess-exited-with-error
  
  × Building wheel for orbits (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/dylan26/projects/swig/.venv/bin/python /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpgh6baoey
  cwd: /home/dylan26/projects/swig
  Building wheel for orbits (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for orbits
Failed to build orbits
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (orbits)

After some searching, I was able to figure out that the CMakeCache.txt in the build directory is not updating the temporary, isolated environment in which SWIG is installed to by pip. The weird part, is that Ninja is properly updated in the cache file. So it seems that CMake is picking up the new location for NInja, but using the old cached location for SWIG?

Fresh Build

For example, here is the directory pip installs Ninja and SWIG to on a fresh build. This successfully builds:

  Installing collected packages: swig, tomli, pathspec, packaging, exceptiongroup, scikit-build-core
    Creating /tmp/pip-build-env-ykto9qfq/overlay/bin
    changing mode of /tmp/pip-build-env-ykto9qfq/overlay/bin/swig to 755
    changing mode of /tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0 to 755
...
  Installing collected packages: ninja
    Creating /tmp/pip-build-env-ykto9qfq/normal/bin
    changing mode of /tmp/pip-build-env-ykto9qfq/normal/bin/ninja to 755

And the cached locations in the corresponding CMakeCache.txt file:

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/tmp/pip-build-env-ykto9qfq/normal/lib/python3.9/site-packages/ninja/data/bin/ninja
...
//Path to a file.
SWIG_DIR:PATH=/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1
Rebuild

Now, when rebuilding without deleting the build directory the pip install directories are updated:

  Installing collected packages: swig, tomli, pathspec, packaging, exceptiongroup, scikit-build-core
    Creating /tmp/pip-build-env-xgzud74l/overlay/bin
    changing mode of /tmp/pip-build-env-xgzud74l/overlay/bin/swig to 755
    changing mode of /tmp/pip-build-env-xgzud74l/overlay/bin/swig4.0 to 755
...
  Installing collected packages: ninja
    Creating /tmp/pip-build-env-xgzud74l/normal/bin
    changing mode of /tmp/pip-build-env-xgzud74l/normal/bin/ninja to 755

These are new temp install directories which is correct, but the CMakeCache.txt that is created/updated only reflects the new directory for Ninja and not for SWIG:

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/tmp/pip-build-env-xgzud74l/normal/lib/python3.9/site-packages/ninja/data/bin/ninja
...
//Path to a file.
SWIG_DIR:PATH=/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1

The SWIG path is the same as the fresh build. All other paths referencing /tmp/pip-build-env-* are properly updated.

I'm not exactly sure yet if it's a CMake, SWIG, pip, or scikit-build-core issue, but I figured I should start here because it seems to me it's somewhere between pip installing build system packages and invoking CMake. This can be avoided by either removing the build-dir configuration, or by building in editable mode as described in the docs. However, it is useful to do cached builds without using editable installs.

I'm happy to keep digging for the true culprit, but I wasn't sure the next best place to look.

Supporting Files

Here are the full outputs and cache files for a fresh install and rebuild:

Fresh Install: Command Log
> pip install -v .
Using pip 24.2 from /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip (python 3.9)
Processing /home/dylan26/projects/swig
  Installing build dependencies: started
  Running command pip subprocess to install build dependencies
  Using pip 24.2 from /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip (python 3.9)
  Collecting scikit-build-core
    Obtaining dependency information for scikit-build-core from https://files.pythonhosted.org/packages/05/8b/f8850f4406ec0276981be0b26f22a3db0e36beeaa2f43cdceb0ec0c1b5da/scikit_build_core-0.10.4-py3-none-any.whl.metadata
    Using cached scikit_build_core-0.10.4-py3-none-any.whl.metadata (20 kB)
  Collecting swig
    Obtaining dependency information for swig from https://files.pythonhosted.org/packages/2f/df/11c14b2a71b0d94a226682cee3beaecf7cdb88cc20a4f276f5fc316b93e1/swig-4.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata
    Using cached swig-4.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (3.6 kB)
  Collecting exceptiongroup>=1.0 (from scikit-build-core)
    Obtaining dependency information for exceptiongroup>=1.0 from https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl.metadata
    Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
  Collecting packaging>=21.3 (from scikit-build-core)
    Obtaining dependency information for packaging>=21.3 from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata
    Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
  Collecting pathspec>=0.10.1 (from scikit-build-core)
    Obtaining dependency information for pathspec>=0.10.1 from https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl.metadata
    Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
  Collecting tomli>=1.2.2 (from scikit-build-core)
    Obtaining dependency information for tomli>=1.2.2 from https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl.metadata
    Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
  Using cached scikit_build_core-0.10.4-py3-none-any.whl (164 kB)
  Using cached swig-4.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB)
  Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
  Using cached packaging-24.1-py3-none-any.whl (53 kB)
  Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
  Installing collected packages: swig, tomli, pathspec, packaging, exceptiongroup, scikit-build-core
    Creating /tmp/pip-build-env-ykto9qfq/overlay/bin
    changing mode of /tmp/pip-build-env-ykto9qfq/overlay/bin/swig to 755
    changing mode of /tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0 to 755
  Successfully installed exceptiongroup-1.2.2 packaging-24.1 pathspec-0.12.1 scikit-build-core-0.10.4 swig-4.2.1 tomli-2.0.1
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Running command Getting requirements to build wheel
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Running command pip subprocess to install backend dependencies
  Using pip 24.2 from /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip (python 3.9)
  Collecting ninja>=1.5
    Obtaining dependency information for ninja>=1.5 from https://files.pythonhosted.org/packages/6d/92/8d7aebd4430ab5ff65df2bfee6d5745f95c004284db2d8ca76dcbfd9de47/ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata
    Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB)
  Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
  Installing collected packages: ninja
    Creating /tmp/pip-build-env-ykto9qfq/normal/bin
    changing mode of /tmp/pip-build-env-ykto9qfq/normal/bin/ninja to 755
  Successfully installed ninja-1.11.1.1
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  2024-08-21 22:17:27,718 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -E capabilities
  2024-08-21 22:17:27,762 - scikit_build_core - INFO - CMake version: 3.22.1
  *** scikit-build-core 0.10.4 using CMake 3.22.1 (metadata_wheel)
  2024-08-21 22:17:27,766 - scikit_build_core - INFO - Build directory: /home/dylan26/projects/swig/build/cpython-39
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: orbits
  Building wheel for orbits (pyproject.toml): started
  Running command Building wheel for orbits (pyproject.toml)
  2024-08-21 22:17:27,887 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -E capabilities
  2024-08-21 22:17:27,927 - scikit_build_core - INFO - CMake version: 3.22.1
  *** scikit-build-core 0.10.4 using CMake 3.22.1 (wheel)
  2024-08-21 22:17:27,931 - scikit_build_core - INFO - Build directory: /home/dylan26/projects/swig/build/cpython-39
  *** Configuring CMake...
  2024-08-21 22:17:27,986 - scikit_build_core - INFO - RUN: /tmp/pip-build-env-ykto9qfq/normal/lib/python3.9/site-packages/ninja/data/bin/ninja --version
  2024-08-21 22:17:27,987 - scikit_build_core - INFO - Ninja version: 1.11.1
  2024-08-21 22:17:27,989 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -S. -Bbuild/cpython-39 -DCMAKE_BUILD_TYPE:STRING=Release -Cbuild/cpython-39/CMakeInit.txt -DCMAKE_INSTALL_PREFIX=/tmp/tmpxijshxrm/wheel/platlib -DCMAKE_MAKE_PROGRAM=/tmp/pip-build-env-ykto9qfq/normal/lib/python3.9/site-packages/ninja/data/bin/ninja
  loading initial cache file build/cpython-39/CMakeInit.txt
  -- The CXX compiler identification is GNU 11.4.0
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/g++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Python: /home/dylan26/projects/swig/.venv/bin/python (found version "3.9.18") found components: Interpreter Development.Module
  -- Found SWIG: /tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0 (found version "4.2.1") found components: python
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/dylan26/projects/swig/build/cpython-39
  *** Building project with Ninja...
  2024-08-21 22:17:28,552 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake --build build/cpython-39 -v
  [1/5] /usr/bin/g++ -Dlibexample_EXPORTS  -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libexample.dir/lib/example.cpp.o -MF CMakeFiles/libexample.dir/lib/example.cpp.o.d -o CMakeFiles/libexample.dir/lib/example.cpp.o -c /home/dylan26/projects/swig/lib/example.cpp
  [2/5] : && /usr/bin/g++ -fPIC -O3 -DNDEBUG   -shared -Wl,-soname,liblibexample.so -o liblibexample.so CMakeFiles/libexample.dir/lib/example.cpp.o   && :
  [3/5] cd /home/dylan26/projects/swig/build/cpython-39 && /usr/bin/cmake -E make_directory /home/dylan26/projects/swig/build/cpython-39/CMakeFiles/example.dir /tmp/tmpxijshxrm/wheel/platlib/orbits /tmp/tmpxijshxrm/wheel/platlib/orbits && /usr/bin/cmake -E env SWIG_LIB=/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1 /tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0 -python -I/home/dylan26/projects/swig/lib -I/home/dylan26/.pyenv/versions/3.9.18/include/python3.9 -outdir /tmp/tmpxijshxrm/wheel/platlib/orbits -c++ -interface _example -o /tmp/tmpxijshxrm/wheel/platlib/orbits/examplePYTHON_wrap.cxx /home/dylan26/projects/swig/interface/example.i
  [4/5] /usr/bin/g++ -Dexample_EXPORTS -I/home/dylan26/projects/swig/lib -isystem /home/dylan26/.pyenv/versions/3.9.18/include/python3.9 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/example.dir/tmp/tmpxijshxrm/wheel/platlib/orbits/examplePYTHON_wrap.cxx.o -MF CMakeFiles/example.dir/tmp/tmpxijshxrm/wheel/platlib/orbits/examplePYTHON_wrap.cxx.o.d -o CMakeFiles/example.dir/tmp/tmpxijshxrm/wheel/platlib/orbits/examplePYTHON_wrap.cxx.o -c /tmp/tmpxijshxrm/wheel/platlib/orbits/examplePYTHON_wrap.cxx
  [5/5] : && /usr/bin/g++ -fPIC -O3 -DNDEBUG   -shared -Wl,-soname,_example.cpython-39-x86_64-linux-gnu.so -o _example.cpython-39-x86_64-linux-gnu.so CMakeFiles/example.dir/tmp/tmpxijshxrm/wheel/platlib/orbits/examplePYTHON_wrap.cxx.o  -Wl,-rpath,/home/dylan26/projects/swig/build/cpython-39:  liblibexample.so && :
  *** Installing project into wheel...
  2024-08-21 22:17:29,311 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake --install build/cpython-39 --prefix /tmp/tmpxijshxrm/wheel/platlib --strip
  -- Install configuration: "Release"
  -- Installing: /tmp/tmpxijshxrm/wheel/platlib/orbits/liblibexample.so
  -- Installing: /tmp/tmpxijshxrm/wheel/platlib/orbits/_example.cpython-39-x86_64-linux-gnu.so
  -- Set runtime path of "/tmp/tmpxijshxrm/wheel/platlib/orbits/_example.cpython-39-x86_64-linux-gnu.so" to "$ORIGIN"
  *** Making wheel...
  2024-08-21 22:17:29,360 - scikit_build_core - INFO - Discovered Python package at src/orbits
  *** Created orbits-0.0.1-cp39-cp39-linux_x86_64.whl
  Building wheel for orbits (pyproject.toml): finished with status 'done'
  Created wheel for orbits: filename=orbits-0.0.1-cp39-cp39-linux_x86_64.whl size=42002 sha256=422c06980e1bb6e0c9db75af7ee54a4712d6cf9f3ac4bdfb6b8b4e84d5733882
  Stored in directory: /tmp/pip-ephem-wheel-cache-o7w8aw2i/wheels/16/a4/8d/cf56a92ded92bf6704b5f5e58147790d796a968325e8c89c3f
Successfully built orbits
Installing collected packages: orbits
Successfully installed orbits-0.0.1
Fresh Install: CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /home/dylan26/projects/swig/build/cpython-39
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Release

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++

//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11

//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

CMAKE_FIND_ROOT_PATH_MODE_PACKAGE:PATH=BOTH

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/tmp/tmpxijshxrm/wheel/platlib

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/tmp/pip-build-env-ykto9qfq/normal/lib/python3.9/site-packages/ninja/data/bin/ninja

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

CMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/scikit_build_core/resources/find_python

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

CMAKE_PREFIX_PATH:PATH=/home/dylan26/projects/swig/.venv/lib/python3.9/site-packages;/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=orbits

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

PYTHON_EXECUTABLE:STRING=/home/dylan26/projects/swig/.venv/bin/python

PYTHON_INCLUDE_DIR:PATH=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9

PYTHON_LIBRARY:PATH=/home/dylan26/.pyenv/versions/3.9.18/lib/libpython3.9.so

Python3_EXECUTABLE:STRING=/home/dylan26/projects/swig/.venv/bin/python

Python3_FIND_REGISTRY:STRING=NEVER

Python3_INCLUDE_DIR:PATH=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9

Python3_ROOT_DIR:STRING=/home/dylan26/projects/swig/.venv

Python_EXECUTABLE:STRING=/home/dylan26/projects/swig/.venv/bin/python

Python_FIND_REGISTRY:STRING=NEVER

Python_INCLUDE_DIR:PATH=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9

Python_ROOT_DIR:STRING=/home/dylan26/projects/swig/.venv

SKBUILD:STRING=2

SKBUILD_CORE_VERSION:STRING=0.10.4

SKBUILD_DATA_DIR:PATH=/tmp/tmpxijshxrm/wheel/data

SKBUILD_HEADERS_DIR:PATH=/tmp/tmpxijshxrm/wheel/headers

SKBUILD_METADATA_DIR:PATH=/tmp/tmpxijshxrm/wheel/metadata

SKBUILD_NULL_DIR:PATH=/tmp/tmpxijshxrm/wheel/null

SKBUILD_PLATLIB_DIR:PATH=/tmp/tmpxijshxrm/wheel/platlib

SKBUILD_PROJECT_NAME:STRING=orbits

SKBUILD_PROJECT_VERSION:STRING=0.0.1

SKBUILD_PROJECT_VERSION_FULL:STRING=0.0.1

SKBUILD_SABI_COMPONENT:STRING=

SKBUILD_SCRIPTS_DIR:PATH=/tmp/tmpxijshxrm/wheel/scripts

SKBUILD_SOABI:STRING=cpython-39-x86_64-linux-gnu

SKBUILD_STATE:STRING=wheel

//Path to a file.
SWIG_DIR:PATH=/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1

//Path to a program.
SWIG_EXECUTABLE:FILEPATH=/tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0

//Swig version
SWIG_VERSION:STRING=4.2.1

//Value Computed by CMake
orbits_BINARY_DIR:STATIC=/home/dylan26/projects/swig/build/cpython-39

//Value Computed by CMake
orbits_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
orbits_SOURCE_DIR:STATIC=/home/dylan26/projects/swig


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/dylan26/projects/swig/build/cpython-39
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=22
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/dylan26/projects/swig
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Python
FIND_PACKAGE_MESSAGE_DETAILS_Python:INTERNAL=[/home/dylan26/projects/swig/.venv/bin/python][/home/dylan26/.pyenv/versions/3.9.18/include/python3.9][cfound components: Interpreter Development.Module ][v3.9.18()]
//Details about finding SWIG
FIND_PACKAGE_MESSAGE_DETAILS_SWIG:INTERNAL=[/tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0][/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1][cfound components: python ][v4.2.1()]
//ADVANCED property for variable: SWIG_DIR
SWIG_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SWIG_EXECUTABLE
SWIG_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SWIG_VERSION
SWIG_VERSION-ADVANCED:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/tmp/tmpxijshxrm/wheel/platlib
//Compiler reason failure
_Python_Compiler_REASON_FAILURE:INTERNAL=
_Python_DEVELOPMENT_MODULE_SIGNATURE:INTERNAL=1fe30f4d9deecdc2ddd1226560e58507
//Development reason failure
_Python_Development_REASON_FAILURE:INTERNAL=
_Python_EXECUTABLE:INTERNAL=/home/dylan26/projects/swig/.venv/bin/python
_Python_INCLUDE_DIR:INTERNAL=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9
//Python Properties
_Python_INTERPRETER_PROPERTIES:INTERNAL=Python;3;9;18;64;;cpython-39-x86_64-linux-gnu;abi3;/home/dylan26/.pyenv/versions/3.9.18/lib/python3.9;/home/dylan26/.pyenv/versions/3.9.18/lib/python3.9;/home/dylan26/projects/swig/.venv/lib/python3.9/site-packages;/home/dylan26/projects/swig/.venv/lib/python3.9/site-packages
_Python_INTERPRETER_SIGNATURE:INTERNAL=9b3409c25b8e8d388578bd5db29037c8
//NumPy reason failure
_Python_NumPy_REASON_FAILURE:INTERNAL=
Rebuild Install: Command Log
> pip install -v .
Using pip 24.2 from /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip (python 3.9)
Processing /home/dylan26/projects/swig
  Installing build dependencies: started
  Running command pip subprocess to install build dependencies
  Using pip 24.2 from /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip (python 3.9)
  Collecting scikit-build-core
    Obtaining dependency information for scikit-build-core from https://files.pythonhosted.org/packages/05/8b/f8850f4406ec0276981be0b26f22a3db0e36beeaa2f43cdceb0ec0c1b5da/scikit_build_core-0.10.4-py3-none-any.whl.metadata
    Using cached scikit_build_core-0.10.4-py3-none-any.whl.metadata (20 kB)
  Collecting swig
    Obtaining dependency information for swig from https://files.pythonhosted.org/packages/2f/df/11c14b2a71b0d94a226682cee3beaecf7cdb88cc20a4f276f5fc316b93e1/swig-4.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata
    Using cached swig-4.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (3.6 kB)
  Collecting exceptiongroup>=1.0 (from scikit-build-core)
    Obtaining dependency information for exceptiongroup>=1.0 from https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl.metadata
    Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
  Collecting packaging>=21.3 (from scikit-build-core)
    Obtaining dependency information for packaging>=21.3 from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata
    Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
  Collecting pathspec>=0.10.1 (from scikit-build-core)
    Obtaining dependency information for pathspec>=0.10.1 from https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl.metadata
    Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
  Collecting tomli>=1.2.2 (from scikit-build-core)
    Obtaining dependency information for tomli>=1.2.2 from https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl.metadata
    Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
  Using cached scikit_build_core-0.10.4-py3-none-any.whl (164 kB)
  Using cached swig-4.2.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB)
  Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
  Using cached packaging-24.1-py3-none-any.whl (53 kB)
  Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
  Installing collected packages: swig, tomli, pathspec, packaging, exceptiongroup, scikit-build-core
    Creating /tmp/pip-build-env-xgzud74l/overlay/bin
    changing mode of /tmp/pip-build-env-xgzud74l/overlay/bin/swig to 755
    changing mode of /tmp/pip-build-env-xgzud74l/overlay/bin/swig4.0 to 755
  Successfully installed exceptiongroup-1.2.2 packaging-24.1 pathspec-0.12.1 scikit-build-core-0.10.4 swig-4.2.1 tomli-2.0.1
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Running command Getting requirements to build wheel
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Running command pip subprocess to install backend dependencies
  Using pip 24.2 from /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip (python 3.9)
  Collecting ninja>=1.5
    Obtaining dependency information for ninja>=1.5 from https://files.pythonhosted.org/packages/6d/92/8d7aebd4430ab5ff65df2bfee6d5745f95c004284db2d8ca76dcbfd9de47/ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata
    Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB)
  Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
  Installing collected packages: ninja
    Creating /tmp/pip-build-env-xgzud74l/normal/bin
    changing mode of /tmp/pip-build-env-xgzud74l/normal/bin/ninja to 755
  Successfully installed ninja-1.11.1.1
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  2024-08-21 22:19:47,173 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -E capabilities
  2024-08-21 22:19:47,216 - scikit_build_core - INFO - CMake version: 3.22.1
  *** scikit-build-core 0.10.4 using CMake 3.22.1 (metadata_wheel)
  2024-08-21 22:19:47,220 - scikit_build_core - INFO - Build directory: /home/dylan26/projects/swig/build/cpython-39
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: orbits
  Building wheel for orbits (pyproject.toml): started
  Running command Building wheel for orbits (pyproject.toml)
  2024-08-21 22:19:47,359 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -E capabilities
  2024-08-21 22:19:47,402 - scikit_build_core - INFO - CMake version: 3.22.1
  *** scikit-build-core 0.10.4 using CMake 3.22.1 (wheel)
  2024-08-21 22:19:47,406 - scikit_build_core - INFO - Build directory: /home/dylan26/projects/swig/build/cpython-39
  *** Configuring CMake...
  2024-08-21 22:19:47,471 - scikit_build_core - INFO - RUN: /tmp/pip-build-env-xgzud74l/normal/lib/python3.9/site-packages/ninja/data/bin/ninja --version
  2024-08-21 22:19:47,473 - scikit_build_core - INFO - Ninja version: 1.11.1
  2024-08-21 22:19:47,478 - scikit_build_core - INFO - RUN: /home/dylan26/.pyenv/shims/cmake -S. -Bbuild/cpython-39 -DCMAKE_BUILD_TYPE:STRING=Release -Cbuild/cpython-39/CMakeInit.txt -DCMAKE_INSTALL_PREFIX=/tmp/tmppzhfv0qn/wheel/platlib -DCMAKE_MAKE_PROGRAM=/tmp/pip-build-env-xgzud74l/normal/lib/python3.9/site-packages/ninja/data/bin/ninja
  loading initial cache file build/cpython-39/CMakeInit.txt
  CMake Error at /usr/share/cmake-3.22/Modules/FindSWIG.cmake:137 (message):
    Command "/tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0 -help" failed with
    output:

  Call Stack (most recent call first):
    CMakeLists.txt:11 (find_package)


  CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find SWIG (missing: python) (found version "4.2.1")
  Call Stack (most recent call first):
    /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-3.22/Modules/FindSWIG.cmake:153 (find_package_handle_standard_args)
    CMakeLists.txt:11 (find_package)


  -- Configuring incomplete, errors occurred!
  See also "/home/dylan26/projects/swig/build/cpython-39/CMakeFiles/CMakeOutput.log".

  *** CMake configuration failed
  error: subprocess-exited-with-error
  
  × Building wheel for orbits (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/dylan26/projects/swig/.venv/bin/python /home/dylan26/projects/swig/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpgh6baoey
  cwd: /home/dylan26/projects/swig
  Building wheel for orbits (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for orbits
Failed to build orbits
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (orbits)
Rebuild Install: CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /home/dylan26/projects/swig/build/cpython-39
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Release

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++

//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11

//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

CMAKE_FIND_ROOT_PATH_MODE_PACKAGE:PATH=BOTH

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/tmp/tmppzhfv0qn/wheel/platlib

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/tmp/pip-build-env-xgzud74l/normal/lib/python3.9/site-packages/ninja/data/bin/ninja

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

CMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-xgzud74l/overlay/lib/python3.9/site-packages/scikit_build_core/resources/find_python

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

CMAKE_PREFIX_PATH:PATH=/home/dylan26/projects/swig/.venv/lib/python3.9/site-packages;/tmp/pip-build-env-xgzud74l/overlay/lib/python3.9/site-packages

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=orbits

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

PYTHON_EXECUTABLE:STRING=/home/dylan26/projects/swig/.venv/bin/python

PYTHON_INCLUDE_DIR:PATH=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9

PYTHON_LIBRARY:PATH=/home/dylan26/.pyenv/versions/3.9.18/lib/libpython3.9.so

Python3_EXECUTABLE:STRING=/home/dylan26/projects/swig/.venv/bin/python

Python3_FIND_REGISTRY:STRING=NEVER

Python3_INCLUDE_DIR:PATH=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9

Python3_ROOT_DIR:STRING=/home/dylan26/projects/swig/.venv

Python_EXECUTABLE:STRING=/home/dylan26/projects/swig/.venv/bin/python

Python_FIND_REGISTRY:STRING=NEVER

Python_INCLUDE_DIR:PATH=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9

Python_ROOT_DIR:STRING=/home/dylan26/projects/swig/.venv

SKBUILD:STRING=2

SKBUILD_CORE_VERSION:STRING=0.10.4

SKBUILD_DATA_DIR:PATH=/tmp/tmppzhfv0qn/wheel/data

SKBUILD_HEADERS_DIR:PATH=/tmp/tmppzhfv0qn/wheel/headers

SKBUILD_METADATA_DIR:PATH=/tmp/tmppzhfv0qn/wheel/metadata

SKBUILD_NULL_DIR:PATH=/tmp/tmppzhfv0qn/wheel/null

SKBUILD_PLATLIB_DIR:PATH=/tmp/tmppzhfv0qn/wheel/platlib

SKBUILD_PROJECT_NAME:STRING=orbits

SKBUILD_PROJECT_VERSION:STRING=0.0.1

SKBUILD_PROJECT_VERSION_FULL:STRING=0.0.1

SKBUILD_SABI_COMPONENT:STRING=

SKBUILD_SCRIPTS_DIR:PATH=/tmp/tmppzhfv0qn/wheel/scripts

SKBUILD_SOABI:STRING=cpython-39-x86_64-linux-gnu

SKBUILD_STATE:STRING=wheel

//Path to a file.
SWIG_DIR:PATH=/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1

//Path to a program.
SWIG_EXECUTABLE:FILEPATH=/tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0

//Swig version
SWIG_VERSION:STRING=4.2.1

//Value Computed by CMake
orbits_BINARY_DIR:STATIC=/home/dylan26/projects/swig/build/cpython-39

//Value Computed by CMake
orbits_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
orbits_SOURCE_DIR:STATIC=/home/dylan26/projects/swig


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/dylan26/projects/swig/build/cpython-39
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=22
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/dylan26/projects/swig
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Python
FIND_PACKAGE_MESSAGE_DETAILS_Python:INTERNAL=[/home/dylan26/projects/swig/.venv/bin/python][/home/dylan26/.pyenv/versions/3.9.18/include/python3.9][cfound components: Interpreter Development.Module ][v3.9.18()]
//Details about finding SWIG
FIND_PACKAGE_MESSAGE_DETAILS_SWIG:INTERNAL=[/tmp/pip-build-env-ykto9qfq/overlay/bin/swig4.0][/tmp/pip-build-env-ykto9qfq/overlay/lib/python3.9/site-packages/swig/data/share/swig/4.2.1][cfound components: python ][v4.2.1()]
//ADVANCED property for variable: SWIG_DIR
SWIG_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SWIG_EXECUTABLE
SWIG_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SWIG_VERSION
SWIG_VERSION-ADVANCED:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/tmp/tmppzhfv0qn/wheel/platlib
//Compiler reason failure
_Python_Compiler_REASON_FAILURE:INTERNAL=
_Python_DEVELOPMENT_MODULE_SIGNATURE:INTERNAL=1fe30f4d9deecdc2ddd1226560e58507
//Development reason failure
_Python_Development_REASON_FAILURE:INTERNAL=
_Python_EXECUTABLE:INTERNAL=/home/dylan26/projects/swig/.venv/bin/python
_Python_INCLUDE_DIR:INTERNAL=/home/dylan26/.pyenv/versions/3.9.18/include/python3.9
//Python Properties
_Python_INTERPRETER_PROPERTIES:INTERNAL=Python;3;9;18;64;;cpython-39-x86_64-linux-gnu;abi3;/home/dylan26/.pyenv/versions/3.9.18/lib/python3.9;/home/dylan26/.pyenv/versions/3.9.18/lib/python3.9;/home/dylan26/projects/swig/.venv/lib/python3.9/site-packages;/home/dylan26/projects/swig/.venv/lib/python3.9/site-packages
_Python_INTERPRETER_SIGNATURE:INTERNAL=9b3409c25b8e8d388578bd5db29037c8
//Interpreter reason failure
_Python_Interpreter_REASON_FAILURE:INTERNAL=
//NumPy reason failure
_Python_NumPy_REASON_FAILURE:INTERNAL=

Minimal Reproducible Example

@henryiii
Copy link
Collaborator

henryiii commented Aug 22, 2024

You must turn off build isolation (--no-build-isolation for pip) and install the build dependencies manually in your environment. Otherwise, your build tool will make a virtual environment, install the build dependencies (like scikit-build-core and swig), and then throw them away when the package is built. In general, isolation and editable don't go well together.

@henryiii
Copy link
Collaborator

Oh, wait, this is when you are not using editable installs with automatic rebuilds? We are supposed to automatically update the stored paths in the cache to the new isolated environment. Will investigate tomorrow.

@henryiii
Copy link
Collaborator

This is #420, and I think we don't handle this correctly yet. I'll bump it up in priority to investigate. We were supposed to process the cache and replace these but it looks like we haven't implemented that yet, I'd like to try that before trying to bundle and unbundle the build environment.

@LecrisUT
Copy link
Collaborator

If the build directory is reused it kinda makes sense. You can try to either add tool.scikit-build.cmake.args = ["--fresh"] or do the --no-build-isolation

@LecrisUT
Copy link
Collaborator

I think #420 could still hit the issue because I don't quite see how the hash is pulling in the build isolation dependencies. How about checking if there are any other dependencies in the build-system.requires and when run in build-issolation always append --fresh (or maybe not even check for build requirements). That seems inline with the spirit of build-issolation. Would require some documentation around build-dir

@dylan-thomas832
Copy link
Author

Thanks for the recommendations and information! It sounds like the current work arounds are as follows:

  1. Use --editable and --no-build-isolation. Install build tools/deps into your environment directly
  2. Remove build-dir configuration or use overrides to make it only used for editable installs
  3. Set tool.scikit-build.cmake.args = ["--fresh"]

I tested using the last option, and it successfully rebuilt without issue. It looks like it even cached the C++ library and only recompiled the SWIG interface, which is nice.

@LecrisUT
Copy link
Collaborator

It looks like it even cached the C++ library and only recompiled the SWIG interface, which is nice.

That's CMake for ya ;).

I was looking just now to see how to add the --fresh automatically, but there doesn't seem to be a hook to check if we are built with/without build isolation :/

@henryiii
Copy link
Collaborator

I think we have the info to do this, and we can start with --fresh, which is probably the safest thing to do anyway. Trying to recover past a moving isolated dir might cause issues. Let me try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants