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

[C++] Silence CMake error "includes non-existent path" with bundled OpenTelemetry

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • C++

    Description

      We get errors like

      CMake Error in src/arrow/CMakeLists.txt:
        Imported target "opentelemetry-cpp::trace" includes non-existent path
      
          "<path>/build/opentelemetry_ep-install/include"
      
        in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
      
        * The path was deleted, renamed, or moved to another location.
      
        * An install or uninstall procedure did not complete successfully.
      
        * The installation package was faulty and references files it does not
        provide.
      

      We need to create the include directory like other bundled builds do, e.g. see https://github.com/apache/arrow/blob/dee4ba31773e3ba854e91f8b5df1423a0c88f352/cpp/cmake_modules/ThirdpartyToolchain.cmake#L3338-L3339

      Attachments

        Issue Links

          Activity

            People

              mbrobbel Matthijs Brobbel
              lidavidm David Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 10m
                  1h 10m

                  Slack

                    Issue deployment