AlenkaF commented on PR #13311:
URL: https://github.com/apache/arrow/pull/13311#issuecomment-1169572419

   > > On the CI I get linker errors for python flight module (not locally on 
M1):
   > > https://github.com/apache/arrow/runs/7087113174?check_suite_focus=true
   > 
   > It seems that this link is wrong. (This doesn't have the error message.)
   
   Maybe this way would be easier:
   
   <details>
   <summary>Error with make build of C PyArrow</summary>
   <br>
   
   ```
   -- Running cmake for C pyarrow
     cmake -DCMAKE_INSTALL_PREFIX=/arrow/python/build/dist 
-DCMAKE_BUILD_TYPE=debug -DPYARROW_WITH_DATASET=on 
-DPYARROW_WITH_PARQUET_ENCRYPTION=on -DPYARROW_WITH_HDFS=on 
/arrow/python/pyarrow/src_arrow
     -- CMAKE_MODULE_PATH 
/arrow/python/cmake_modules;/opt/conda/envs/arrow/lib/cmake/arrow
     -- The C compiler identification is GNU 10.3.0
     -- The CXX compiler identification is GNU 10.3.0
     -- Detecting C compiler ABI info
     -- Detecting C compiler ABI info - done
     -- Check for working C compiler: 
/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-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: 
/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-c++ - skipped
     -- Detecting CXX compile features
     -- Detecting CXX compile features - done
     -- Found PkgConfig: /opt/conda/envs/arrow/bin/pkg-config (found version 
"0.29.2")
     -- Found Arrow: /opt/conda/envs/arrow/include (found version "9.0.0")
     -- Arrow version: 9.0.0 (HOME: /opt/conda/envs/arrow)
     -- Arrow SO and ABI version: 900
     -- Arrow full SO version: 900.0.0
     -- Found the Arrow core shared library: 
/opt/conda/envs/arrow/lib/libarrow.so
     -- Found the Arrow core import library: 
/opt/conda/envs/arrow/lib/libarrow.so
     -- Found the Arrow core static library: ARROW_static_lib-NOTFOUND
     -- Found Python3: /opt/conda/envs/arrow/bin/python3.9 (found suitable 
version "3.9.13", minimum required is "3.7") found components: Interpreter 
Development.Module NumPy
     -- Found Python3Alt: /opt/conda/envs/arrow/bin/python3.9 (Required is at 
least version "3.7")
     CMake Warning (dev) at CMakeLists.txt:55 (option):
       Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
       --help-policy CMP0077" for policy details.  Use the cmake_policy command 
to
       set the policy and suppress this warning.
       For compatibility with older versions of CMake, option is clearing the
       normal variable 'ARROW_BUILD_SHARED'.
     This warning is for project developers.  Use -Wno-dev to suppress it.
     -- Found ArrowDataset: /opt/conda/envs/arrow/include (found version 
"9.0.0")
     -- Found the Arrow Dataset by HOME: /opt/conda/envs/arrow
     -- Found the Arrow Dataset shared library: 
/opt/conda/envs/arrow/lib/libarrow_dataset.so
     -- Found the Arrow Dataset import library: 
/opt/conda/envs/arrow/lib/libarrow_dataset.so
     -- Found the Arrow Dataset static library: 
ARROW_DATASET_static_lib-NOTFOUND
     -- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT
     -- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT - Success
     -- Found ArrowFlight: /opt/conda/envs/arrow/include (found version "9.0.0")
     -- Found the Arrow Flight by HOME: /opt/conda/envs/arrow
     -- Found the Arrow Flight shared library: 
/opt/conda/envs/arrow/lib/libarrow_flight.so
     -- Found the Arrow Flight import library: 
/opt/conda/envs/arrow/lib/libarrow_flight.so
     -- Found the Arrow Flight static library: ARROW_FLIGHT_static_lib-NOTFOUND
     -- Found ZLIB: /opt/conda/envs/arrow/lib/libz.so (found version "1.2.12")
     -- Found Protobuf: /opt/conda/envs/arrow/lib/libprotobuf.so;-lpthread 
(found version "3.19.4")
     -- Found OpenSSL: /opt/conda/envs/arrow/lib/libcrypto.so (found version 
"1.1.1o")
     -- Found c-ares: 
/opt/conda/envs/arrow/lib/cmake/c-ares/c-ares-config.cmake (found version 
"1.18.1")
     -- Found Threads: TRUE
     -- Check if compiler accepts -pthread
     -- Check if compiler accepts -pthread - yes
     -- Found RE2 via CMake.
     -- Configuring done
     -- Generating done
     -- Build files have been written to: /arrow/python/build/dist/temp
     -- Finished cmake for C pyarrow
     -- Running make build and install for C pyarrow
     make -j4
     [  3%] Generating /arrow/cpp/build/src/arrow/flight/Flight.pb.cc, 
/arrow/cpp/build/src/arrow/flight/Flight.pb.h, 
/arrow/cpp/build/src/arrow/flight/Flight.grpc.pb.cc, 
/arrow/cpp/build/src/arrow/flight/Flight.grpc.pb.h
     make[2]: I/arrow/format: No such file or directory
     make[2]: I/arrow/format: No such file or directory
     [  7%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/arrow_to_pandas.cc.o
     [ 11%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/benchmark.cc.o
     [ 15%] Building CXX object CMakeFiles/arrow_python_objlib.dir/common.cc.o
     [ 15%] Built target flight_grpc_gen
     [ 19%] Building CXX object CMakeFiles/arrow_python_objlib.dir/datetime.cc.o
     [ 23%] Building CXX object CMakeFiles/arrow_python_objlib.dir/decimal.cc.o
     [ 26%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/deserialize.cc.o
     [ 30%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/extension_type.cc.o
     [ 34%] Building CXX object CMakeFiles/arrow_python_objlib.dir/gdb.cc.o
     [ 38%] Building CXX object CMakeFiles/arrow_python_objlib.dir/helpers.cc.o
     [ 42%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/inference.cc.o
     [ 46%] Building CXX object CMakeFiles/arrow_python_objlib.dir/init.cc.o
     [ 50%] Building CXX object CMakeFiles/arrow_python_objlib.dir/io.cc.o
     [ 53%] Building CXX object CMakeFiles/arrow_python_objlib.dir/ipc.cc.o
     [ 57%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/numpy_convert.cc.o
     [ 61%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/numpy_to_arrow.cc.o
     [ 65%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/python_to_arrow.cc.o
     [ 69%] Building CXX object CMakeFiles/arrow_python_objlib.dir/pyarrow.cc.o
     [ 73%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/serialize.cc.o
     [ 76%] Building CXX object CMakeFiles/arrow_python_objlib.dir/udf.cc.o
     [ 80%] Building CXX object CMakeFiles/arrow_python_objlib.dir/csv.cc.o
     [ 84%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/filesystem.cc.o
     [ 88%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/parquet_encryption.cc.o
     [ 88%] Built target arrow_python_objlib
     [ 92%] Linking CXX shared library libarrow_python.so
     
/opt/conda/envs/arrow/bin/../lib/gcc/x86_64-conda-linux-gnu/10.3.0/../../../../x86_64-conda-linux-gnu/bin/ld:
 cannot find -lparquet_shared
     collect2: error: ld returned 1 exit status
     make[2]: *** [CMakeFiles/arrow_python_shared.dir/build.make:126: 
libarrow_python.so.900.0.0] Error 1
     make[1]: *** [CMakeFiles/Makefile2:202: 
CMakeFiles/arrow_python_shared.dir/all] Error 2
     make: *** [Makefile:136: all] Error 2
     error: command '/opt/conda/envs/arrow/bin/make' failed with exit code 2
     error: subprocess-exited-with-error
   ```
   
   </details>
   
   


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