Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17615

[CI][Packaging] arrow-cpp on conda nightlies fail finding Arrow package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Trying to find arrow package using our current nightly arrow-cpp packange on conda raises the following:

      $ cmake . -DCMAKE_BUILD_TYPE=Release
      -- The C compiler identification is GNU 10.4.0
      -- The CXX compiler identification is GNU 10.4.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /home/raulcd/miniconda3/envs/cookbook-cpp-dev/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: /home/raulcd/miniconda3/envs/cookbook-cpp-dev/bin/x86_64-conda-linux-gnu-c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      CMake Error at CMakeLists.txt:10 (find_package):
        Found package configuration file:    /home/raulcd/miniconda3/envs/cookbook-cpp-dev/lib/cmake/Arrow/ArrowConfig.cmake  but it set Arrow_FOUND to FALSE so package "Arrow" is considered to be NOT
        FOUND.
      -- Configuring incomplete, errors occurred!
      See also "/home/raulcd/code/my-cpp-test/CMakeFiles/CMakeOutput.log".
      

      The CMakeLists.txt file to reproduce is:

      cmake_minimum_required(VERSION 3.19)
      project(arrow-test)
      set(CMAKE_CXX_STANDARD 17)
      if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
          set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
      endif()
      # Add Arrow
      find_package(Arrow REQUIRED COMPONENTS dataset flight parquet) 

      The conda package was created with the following environment:

      name: cookbook-cpp-dev
      channels:
        - arrow-nightlies
        - conda-forge
      dependencies:
        - python=3.9
        - compilers
        - arrow-nightlies::arrow-cpp >9
        - sphinx
        - gtest
        - gmock
        - arrow-nightlies::pyarrow >9
        - clang-tools
      

      The compilation is successful when using arrow-cpp 9.0.0 from conda-forge instead of using the arrow-nightlies channel.

      Attachments

        Issue Links

          Activity

            People

              raulcd Raúl Cumplido
              raulcd Raúl Cumplido
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h