workflowsguy opened a new issue, #39869:
URL: https://github.com/apache/arrow/issues/39869

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When running
   
   `pip install pyarrow`, the build fails on a Mac with macOS 10.13.6 and 
Python 3.11.7
   
   According to the 
[documentation](https://github.com/apache/arrow/blob/main/docs/source/developers/python.rst#building-on-linux-and-macos),
   
   `On macOS, any modern XCode (6.4 or higher; the current version is 13) or 
Xcode Command Line Tools (xcode-select --install) are sufficient.`
   
   On the machine where the builds fail, Xcode 10.1 with Command Line Tools is 
installed.
   
   There is a lot of output, the last lines with the error are:
   ```
         [  1%] Built target lib_pyx
         [  3%] Generating pyarrow/src/arrow/python/lib_api.h, 
pyarrow/src/arrow/python/lib.h
         [  3%] Built target cython_api_headers
         [  5%] Building CXX object 
CMakeFiles/arrow_python.dir/cmake_pch.hxx.pch
         [  7%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/arrow_to_pandas.cc.o
         [  8%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/benchmark.cc.o
         [ 10%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/common.cc.o
         [ 12%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/datetime.cc.o
         [ 14%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/decimal.cc.o
         [ 15%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/deserialize.cc.o
         [ 17%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/extension_type.cc.o
         [ 19%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/gdb.cc.o
         [ 21%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/helpers.cc.o
         [ 22%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/inference.cc.o
         [ 24%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/init.cc.o
         [ 26%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/io.cc.o
         [ 28%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/ipc.cc.o
         [ 29%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/numpy_convert.cc.o
         [ 31%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/numpy_to_arrow.cc.o
         [ 33%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/python_test.cc.o
         [ 35%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/python_to_arrow.cc.o
         [ 36%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/pyarrow.cc.o
         [ 38%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/serialize.cc.o
         [ 40%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/udf.cc.o
         [ 42%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/csv.cc.o
         [ 43%] Building CXX object 
CMakeFiles/arrow_python.dir/pyarrow/src/arrow/python/filesystem.cc.o
         [ 45%] Linking CXX shared library release/libarrow_python.dylib
         [ 45%] Built target arrow_python
         [ 47%] Building CXX object CMakeFiles/lib.dir/cmake_pch.hxx.pch
         [ 49%] Building CXX object CMakeFiles/lib.dir/lib.cpp.o
         
/private/var/folders/59/18ktbnzd1nq82_537cj3lmj40000gn/T/pip-install-abojve56/pyarrow_bab7bdb2d989464eafa2a369f67a7560/build/temp.macosx-10.13-x86_64-cpython-311/lib.cpp:83257:58:
 error: no member named 'Permissive' in 'arrow::Field::MergeOptions'
                 __pyx_v_c_options =  arrow::Field::MergeOptions::Permissive();
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
         
/private/var/folders/59/18ktbnzd1nq82_537cj3lmj40000gn/T/pip-install-abojve56/pyarrow_bab7bdb2d989464eafa2a369f67a7560/build/temp.macosx-10.13-x86_64-cpython-311/lib.cpp:179991:88:
 error: no member named 'Permissive' in 'arrow::Field::MergeOptions'
                             __pyx_v_options.field_merge_options =  
arrow::Field::MergeOptions::Permissive();
                                                                    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
         2 errors generated.
         gmake[2]: *** [CMakeFiles/lib.dir/build.make:93: 
CMakeFiles/lib.dir/lib.cpp.o] Fehler 1
         gmake[1]: *** [CMakeFiles/Makefile2:161: CMakeFiles/lib.dir/all] 
Fehler 2
         gmake: *** [Makefile:136: all] Fehler 2
         error: command '/opt/local/bin/cmake' failed with exit code 2
         [end of output]
   
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for pyarrow
   Failed to build pyarrow
   ERROR: Could not build wheels for pyarrow, which is required to install 
pyproject.toml-based projects
   ```
   
   
   ### Component(s)
   
   Python


-- 
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