tcrasset commented on issue #39132:
URL: https://github.com/apache/arrow/issues/39132#issuecomment-1847878685

   Same end result, though I see that 3. and 4. did change the options for 
cmake, while the first two did not:
   
   
   ```text
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ python setup.py clean
   running clean
   removing 'build/temp.linux-x86_64-cpython-38' (and everything under it)
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ echo $ARROW_HOME
   
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ export ARROW_HOME=/home/tom/Documents/dev/dist
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ CMAKE_PREFIX_PATH=$ARROW_HOME python setup.py build_ext --inplace
   running build_ext
   creating 
/home/tom/Documents/dev/arrow/python/build/temp.linux-x86_64-cpython-38
   -- Running cmake for PyArrow
   cmake -DCMAKE_INSTALL_PREFIX=/home/tom/Documents/dev/arrow/python/pyarrow 
-DPYTHON_EXECUTABLE=/usr/bin/python -DPython3_EXECUTABLE=/usr/bin/python 
-DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off 
-DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off 
-DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off 
-DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off 
-DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/home/tom/Documents/dev/arrow/python
   -- System processor: x86_64
   -- Arrow build warning level: PRODUCTION
   -- Using ld linker
   -- Build Type: RELEASE
   -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  
-fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable 
-Wno-maybe-uninitialized
   -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall -fno-semantic-interposition 
-msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer 
-Wno-unused-variable -Wno-maybe-uninitialized
   -- Generator: Unix Makefiles
   -- Build output directory: /home/tom/Documents/dev/arrow/python/build/release
   CMake Error at 
/home/tom/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76
 (find_package):
     By not providing "FindOpenSSLAlt.cmake" in CMAKE_MODULE_PATH this project
     has asked CMake to find a package configuration file provided by
     "OpenSSLAlt", but CMake did not find one.
   
     Could not find a package configuration file provided by "OpenSSLAlt" with
     any of the following names:
   
       OpenSSLAltConfig.cmake
       opensslalt-config.cmake
   
     Add the installation prefix of "OpenSSLAlt" to CMAKE_PREFIX_PATH or set
     "OpenSSLAlt_DIR" to a directory containing one of the above files.  If
     "OpenSSLAlt" provides a separate development package or SDK, be sure it has
     been installed.
   Call Stack (most recent call first):
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:99 
(find_dependency)
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:122 
(arrow_find_dependencies)
     CMakeLists.txt:268 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
   error: command '/home/tom/.local/bin/cmake' failed with exit code 1
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ python setup.py clean
   running clean
   removing 'build/temp.linux-x86_64-cpython-38' (and everything under it)
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ CMAKE_PREFIX_PATH=/home/tom/Documents/dev/dist python setup.py build_ext 
--inplace
   running build_ext
   creating 
/home/tom/Documents/dev/arrow/python/build/temp.linux-x86_64-cpython-38
   -- Running cmake for PyArrow
   cmake -DCMAKE_INSTALL_PREFIX=/home/tom/Documents/dev/arrow/python/pyarrow 
-DPYTHON_EXECUTABLE=/usr/bin/python -DPython3_EXECUTABLE=/usr/bin/python 
-DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off 
-DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off 
-DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off 
-DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off 
-DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/home/tom/Documents/dev/arrow/python
   -- System processor: x86_64
   -- Arrow build warning level: PRODUCTION
   -- Using ld linker
   -- Build Type: RELEASE
   -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  
-fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable 
-Wno-maybe-uninitialized
   -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall -fno-semantic-interposition 
-msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer 
-Wno-unused-variable -Wno-maybe-uninitialized
   -- Generator: Unix Makefiles
   -- Build output directory: /home/tom/Documents/dev/arrow/python/build/release
   CMake Error at 
/home/tom/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76
 (find_package):
     By not providing "FindOpenSSLAlt.cmake" in CMAKE_MODULE_PATH this project
     has asked CMake to find a package configuration file provided by
     "OpenSSLAlt", but CMake did not find one.
   
     Could not find a package configuration file provided by "OpenSSLAlt" with
     any of the following names:
   
       OpenSSLAltConfig.cmake
       opensslalt-config.cmake
   
     Add the installation prefix of "OpenSSLAlt" to CMAKE_PREFIX_PATH or set
     "OpenSSLAlt_DIR" to a directory containing one of the above files.  If
     "OpenSSLAlt" provides a separate development package or SDK, be sure it has
     been installed.
   Call Stack (most recent call first):
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:99 
(find_dependency)
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:122 
(arrow_find_dependencies)
     CMakeLists.txt:268 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
   error: command '/home/tom/.local/bin/cmake' failed with exit code 1
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ python setup.py clean
   running clean
   removing 'build/temp.linux-x86_64-cpython-38' (and everything under it)
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ PYARROW_CMAKE_OPTIONS="-DCMAKE_PREFIX_PATH=$ARROW_HOME" python setup.py 
build_ext --inplace
   running build_ext
   creating 
/home/tom/Documents/dev/arrow/python/build/temp.linux-x86_64-cpython-38
   -- Running cmake for PyArrow
   cmake -DCMAKE_PREFIX_PATH=/home/tom/Documents/dev/dist 
-DCMAKE_INSTALL_PREFIX=/home/tom/Documents/dev/arrow/python/pyarrow 
-DPYTHON_EXECUTABLE=/usr/bin/python -DPython3_EXECUTABLE=/usr/bin/python 
-DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off 
-DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off 
-DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off 
-DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off 
-DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/home/tom/Documents/dev/arrow/python
   -- System processor: x86_64
   -- Arrow build warning level: PRODUCTION
   -- Using ld linker
   -- Build Type: RELEASE
   -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  
-fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable 
-Wno-maybe-uninitialized
   -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall -fno-semantic-interposition 
-msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer 
-Wno-unused-variable -Wno-maybe-uninitialized
   -- Generator: Unix Makefiles
   -- Build output directory: /home/tom/Documents/dev/arrow/python/build/release
   CMake Error at 
/home/tom/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76
 (find_package):
     By not providing "FindOpenSSLAlt.cmake" in CMAKE_MODULE_PATH this project
     has asked CMake to find a package configuration file provided by
     "OpenSSLAlt", but CMake did not find one.
   
     Could not find a package configuration file provided by "OpenSSLAlt" with
     any of the following names:
   
       OpenSSLAltConfig.cmake
       opensslalt-config.cmake
   
     Add the installation prefix of "OpenSSLAlt" to CMAKE_PREFIX_PATH or set
     "OpenSSLAlt_DIR" to a directory containing one of the above files.  If
     "OpenSSLAlt" provides a separate development package or SDK, be sure it has
     been installed.
   Call Stack (most recent call first):
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:99 
(find_dependency)
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:122 
(arrow_find_dependencies)
     CMakeLists.txt:268 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
   error: command '/home/tom/.local/bin/cmake' failed with exit code 1
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ python setup.py clean
   running clean
   removing 'build/temp.linux-x86_64-cpython-38' (and everything under it)
   
   arrow/python on  main [!?] via △ v3.27.9 via 🐍 v3.8.10 on ☁️  octopize 
(eu-west-3) on ☁️  [email protected] 
   ❯ PYARROW_CMAKE_OPTIONS="-DCMAKE_PREFIX_PATH=/home/tom/Documents/dev/dist" 
python setup.py build_ext --inplace
   running build_ext
   creating 
/home/tom/Documents/dev/arrow/python/build/temp.linux-x86_64-cpython-38
   -- Running cmake for PyArrow
   cmake -DCMAKE_PREFIX_PATH=/home/tom/Documents/dev/dist 
-DCMAKE_INSTALL_PREFIX=/home/tom/Documents/dev/arrow/python/pyarrow 
-DPYTHON_EXECUTABLE=/usr/bin/python -DPython3_EXECUTABLE=/usr/bin/python 
-DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off 
-DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off 
-DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off 
-DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off 
-DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/home/tom/Documents/dev/arrow/python
   -- System processor: x86_64
   -- Arrow build warning level: PRODUCTION
   -- Using ld linker
   -- Build Type: RELEASE
   -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  
-fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable 
-Wno-maybe-uninitialized
   -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall -fno-semantic-interposition 
-msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer 
-Wno-unused-variable -Wno-maybe-uninitialized
   -- Generator: Unix Makefiles
   -- Build output directory: /home/tom/Documents/dev/arrow/python/build/release
   CMake Error at 
/home/tom/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76
 (find_package):
     By not providing "FindOpenSSLAlt.cmake" in CMAKE_MODULE_PATH this project
     has asked CMake to find a package configuration file provided by
     "OpenSSLAlt", but CMake did not find one.
   
     Could not find a package configuration file provided by "OpenSSLAlt" with
     any of the following names:
   
       OpenSSLAltConfig.cmake
       opensslalt-config.cmake
   
     Add the installation prefix of "OpenSSLAlt" to CMAKE_PREFIX_PATH or set
     "OpenSSLAlt_DIR" to a directory containing one of the above files.  If
     "OpenSSLAlt" provides a separate development package or SDK, be sure it has
     been installed.
   Call Stack (most recent call first):
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:99 
(find_dependency)
     /home/tom/Documents/dev/arrow/cpp/build/src/arrow/ArrowConfig.cmake:122 
(arrow_find_dependencies)
     CMakeLists.txt:268 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
   error: command '/home/tom/.local/bin/cmake' failed with exit code 1
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to