lidavidm commented on pull request #11889:
URL: https://github.com/apache/arrow/pull/11889#issuecomment-1060678522


   For some reason it now refuses to link:
   
   ```
   > cmake ../ -GNinja -DCMAKE_PREFIX_PATH=../install/lib/cmake/arrow
   -- The C compiler identification is GNU 7.5.0
   -- The CXX compiler identification is GNU 7.5.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: /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: /usr/bin/c++ - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
   -- Check if compiler accepts -pthread
   -- Check if compiler accepts -pthread - yes
   -- Found Threads: TRUE  
   -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version 
"1.1.1")  
   CMake Error at 
/home/lidavidm/Code/upstream/rok-arrow-14708/install/lib/cmake/arrow/ArrowConfig.cmake:101
 (set_target_properties):
     set_target_properties called with incorrect number of arguments.
   Call Stack (most recent call first):
     CMakeLists.txt:5 (find_package)
   
   
   -- Arrow version: 8.0.0-SNAPSHOT
   -- Arrow SO version: 800.0.0
   -- Configuring incomplete, errors occurred!
   See also 
"/home/lidavidm/Code/upstream/rok-arrow-14708/repro/build/CMakeFiles/CMakeOutput.log".
   See also 
"/home/lidavidm/Code/upstream/rok-arrow-14708/repro/build/CMakeFiles/CMakeError.log".
   ```
   
   The problem is here:
   ```
   101       set_target_properties(
   102         arrow_bundled_dependencies
   103         PROPERTIES
   104           IMPORTED_LOCATION
   105           
"${arrow_lib_dir}/${CMAKE_STATIC_LIBRARY_PREFIX}arrow_bundled_dependencies${CMAKE_STATIC_LIBRARY_SUFFIX}"
   106           INTERFACE_LINK_LIBRARIES
   107           ${ARROW_STATIC_INSTALL_INTERFACE_LIBS}
   108       )
   ```
   
   `ARROW_STATIC_INSTALL_INTERFACE_LIBS` is blank:
   
   ```
    65 set(ARROW_STATIC_INSTALL_INTERFACE_LIBS "")
   ```


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