-
Notifications
You must be signed in to change notification settings - Fork 4
Description
(venv) gisforst@MacBook-Pro-von-GIS WWW_Jagd % python -m pip install -r requirements.txt
Collecting pyyaml (from -r requirements.txt (line 1))
Using cached PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl.metadata (2.1 kB)
Collecting mergin-client==0.9.0 (from -r requirements.txt (line 2))
Using cached mergin_client-0.9.0-py3-none-any.whl
Collecting python-dateutil==2.8.2 (from mergin-client==0.9.0->-r requirements.txt (line 2))
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pygeodiff==2.0.2 (from mergin-client==0.9.0->-r requirements.txt (line 2))
Using cached pygeodiff-2.0.2.tar.gz (204 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pytz==2022.1 (from mergin-client==0.9.0->-r requirements.txt (line 2))
Using cached pytz-2022.1-py2.py3-none-any.whl (503 kB)
Collecting click==8.1.3 (from mergin-client==0.9.0->-r requirements.txt (line 2))
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting six>=1.5 (from python-dateutil==2.8.2->mergin-client==0.9.0->-r requirements.txt (line 2))
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl (178 kB)
Building wheels for collected packages: pygeodiff
Building wheel for pygeodiff (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pygeodiff (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [183 lines of output]
--------------------------------------------------------------------------------
-- Trying 'Ninja' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja' generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying 'Unix Makefiles' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Not searching for unused variables given on the command line.
-- The C compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (1.6s)
-- Generating done (0.0s)
-- Build files have been written to: /private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Unix Makefiles' generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/_skbuild/macosx-14.0-x86_64-3.12/cmake-build
Command:
/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/cmake/data/bin/cmake /private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/geodiff -G 'Unix Makefiles' --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/_skbuild/macosx-14.0-x86_64-3.12/cmake-install -DPYTHON_VERSION_STRING:STRING=3.12.0 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/Users/gisforst/PycharmProjects/WWW_Jagd/venv/bin/python -DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -DPYTHON_LIBRARY:PATH=/Library/Frameworks/Python.framework/Versions/3.12/lib/libpython3.12.dylib -DPython_EXECUTABLE:PATH=/Users/gisforst/PycharmProjects/WWW_Jagd/venv/bin/python -DPython_ROOT_DIR:PATH=/Users/gisforst/PycharmProjects/WWW_Jagd/venv -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -DPython3_EXECUTABLE:PATH=/Users/gisforst/PycharmProjects/WWW_Jagd/venv/bin/python -DPython3_ROOT_DIR:PATH=/Users/gisforst/PycharmProjects/WWW_Jagd/venv -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -DENABLE_TESTS:BOOL=OFF -DENABLE_COVERAGE:BOOL=OFF -DBUILD_TOOLS:BOOL=OFF -DPEDANTIC:BOOL=OFF -DPYGEODIFFVERSION=2.0.2 -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=14.0 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 -DCMAKE_BUILD_TYPE:STRING=Release
Not searching for unused variables given on the command line.
-- The C compiler identification is AppleClang 15.0.0.15000100
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The geodiff is built using scikit-build for pygeodiff Python package
CMake Warning (dev) at /private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:245 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:29 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonInterp: /Users/gisforst/PycharmProjects/WWW_Jagd/venv/bin/python (found version "3.12")
CMake Warning (dev) at /private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:252 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:29 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: /Library/Frameworks/Python.framework/Versions/3.12/lib/libpython3.12.dylib (found version "3.12.0")
-- Found SQLite3: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include (found version "3.43.2")
-- SQLite3 version: 3.43.2
-- SQLite3 include dirs: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include
-- SQLite3 library: /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/lib/libsqlite3.tbd
-- Determining available thread-local storage mechanism
-- Checking if __thread is supported
-- Performing Test TLS_USE_THREAD
-- Performing Test TLS_USE_THREAD - Success
-- Checking if __thread is supported - yes
-- Determining available thread-local storage mechanism - Done
-- Determining available locale mechanism
-- Checking if _create_locale is supported
-- Looking for locale.h
-- Looking for locale.h - found
-- Performing Test LOCALE_USE__CREATE_LOCALE
-- Performing Test LOCALE_USE__CREATE_LOCALE - Failed
-- Checking if _create_locale is supported - no
-- Checking if newlocale is supported
-- Looking for xlocale.h
-- Looking for xlocale.h - found
-- Performing Test LOCALE_USE_NEWLOCALE
-- Performing Test LOCALE_USE_NEWLOCALE - Success
-- Checking if newlocale is supported - yes
-- Determining available locale mechanism - Done
-- Configuring done (5.4s)
-- Generating done (0.0s)
-- Build files have been written to: /private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/_skbuild/macosx-14.0-x86_64-3.12/cmake-build
[ 3%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/geodiff.cpp.o
[ 6%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/geodiffutils.cpp.o
[ 9%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/geodiffrebase.cpp.o
[ 12%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/geodifflogger.cpp.o
[ 16%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/geodiffcontext.cpp.o
[ 19%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/changesetconcat.cpp.o
[ 22%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/changesetreader.cpp.o
[ 25%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/changesetutils.cpp.o
[ 29%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/changesetwriter.cpp.o
[ 32%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/driver.cpp.o
[ 35%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/tableschema.cpp.o
[ 38%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/drivers/sqlitedriver.cpp.o
[ 41%] Building CXX object CMakeFiles/pygeodiff-2.0.2-python.dir/src/drivers/sqliteutils.cpp.o
/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/geodiff/src/drivers/sqliteutils.cpp:229:12: error: use of undeclared identifier 'sqlite3_enable_load_extension'
int rc = sqlite3_enable_load_extension( db->get(), 1 );
^
1 error generated.
make[2]: *** [CMakeFiles/pygeodiff-2.0.2-python.dir/src/drivers/sqliteutils.cpp.o] Error 1
make[1]: *** [CMakeFiles/pygeodiff-2.0.2-python.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/skbuild/setuptools_wrap.py", line 674, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/skbuild/cmaker.py", line 697, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/skbuild/cmaker.py", line 742, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-build-env-tmwdjfis/overlay/lib/python3.12/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214
Working directory:
/private/var/folders/98/nl310yzj0_j1d8077jdc9hmm0000gn/T/pip-install-yn94uyuy/pygeodiff_c4b69866109b4c4898b7b2a9b429b214/_skbuild/macosx-14.0-x86_64-3.12/cmake-build
Please check the install target is valid and 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 pygeodiff
Failed to build pygeodiff
ERROR: Could not build wheels for pygeodiff, which is required to install pyproject.toml-based projects