Hi, It may be a problem of our CMake configuration system. Could you file this to JIRA? https://issues.apache.org/jira/projects/ARROW/issues
And could you provide your Portfile? Thanks, -- kou In <43c2cc28-7792-4baa-bdb7-40600812f...@gmail.com> "Re: Building pyarrow on macOS " on Sun, 19 Jul 2020 12:50:38 -0400, Steven Smith <steve.t.sm...@gmail.com> wrote: > This issue has arisen again on a Macports buildbot. > > The Apache Arrow cmake system locates the installed libraries and headers, > but then says it can’t find them. > > Does anyone know what would cause this build failure? It works on my system, > but not on a build bot: > > Build command: >> Executing: cd >> "/opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/py38-pyarrow/work/arrow-0.17.1/python" >> && >> /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 >> setup.py --no-user-cfg build_ext --inplace > > > > https://paste.z0k.xyz/a953d943d11c.txt >> -- Running cmake for pyarrow >> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/local >> -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib >> -DCMAKE_SYSTEM_PREFIX_PATH=/opt/local;/usr -DCMAKE_C_COMPILER=/usr/bin/clang >> -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_POLICY_DEFAULT_CMP0025=NEW >> -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON >> -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST >> -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make >> -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules >> -DCMAKE_PREFIX_PATH=/opt/local/share/cmake/Modules >> -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON >> -DCMAKE_INSTALL_RPATH=/opt/local/lib -Wno-dev -DARROW_FLIGHT=ON >> -DARROW_JEMALLOC=OFF -DARROW_ORC=ON -DARROW_PARQUET=ON -DARROW_PLASMA=ON >> -DARROW_PROTOBUF_USE_SHARED=ON -DARROW_PYTHON=ON -DARROW_WITH_BZ2=ON >> -DARROW_WITH_ZLIB=ON -DARROW_WITH_ZSTD=ON -DARROW_WITH_LZ4=ON >> -DARROW_WITH_SNAPPY=ON -DARROW_WITH_BROTLI=ON -DARROW_INSTALL_NAME_RPATH=OFF >> -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 >> -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_FLIGHT=off >> -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=off >> -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=on >> -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off >> -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off >> -DPYARROW_BUNDLE_BOOST=off -DPYARROW_GENERATE_COVERAGE=off >> -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on >> -DCMAKE_BUILD_TYPE=release >> /opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/py38-pyarrow/work/arrow-0.17.1/python >> … >> -- Found Arrow: /opt/local/include (found version "0.17.1") >> -- Arrow version: 0.17.1 (CMake package configuration: Arrow) >> -- Arrow SO and ABI version: 17 >> -- Arrow full SO version: 17.1.0 >> -- Found the Arrow core shared library: /opt/local/lib/libarrow.17.1.0.dylib >> -- Found the Arrow core import library: >> -- Found the Arrow core static library: /opt/local/lib/libarrow.a >> -- Could NOT find ArrowPython (missing: ArrowPython_DIR) >> CMake Error at >> /opt/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 >> (message): >> Could NOT find ArrowPython (missing: ARROW_PYTHON_INCLUDE_DIR >> ARROW_PYTHON_LIB_DIR) (found version "0.17.1") >> Call Stack (most recent call first): >> >> /opt/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 >> (_FPHSA_FAILURE_MESSAGE) >> cmake_modules/FindArrowPython.cmake:76 (find_package_handle_standard_args) >> CMakeLists.txt:210 (find_package) >