assignUser commented on issue #44982:
URL: https://github.com/apache/arrow/issues/44982#issuecomment-2530039264

   I don't think we modify the cmake prefix path in anyway that should prevent 
otel from being found. I can confirm that a normal 
`find_package(opentelemetry-cpp)` does indeed find it within a conda env 
without any special additions. 
   Could you run a build with:
   ```diff
   diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake 
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   index 35ad4089e..c12d6c7af 100644
   --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
   +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   @@ -4966,8 +4966,9 @@ if(ARROW_WITH_OPENTELEMETRY)
      # cURL is required whether we build from source or use an existing 
installation
      # (OTel's cmake files do not call find_curl for you)
      find_curl()
   -  set(opentelemetry-cpp_SOURCE "AUTO")
   +  set(CMAKE_FIND_DEBUG_MODE TRUE)
      resolve_dependency(opentelemetry-cpp)
   +  set(CMAKE_FIND_DEBUG_MODE FLASE)
      set(ARROW_OPENTELEMETRY_LIBS
          opentelemetry-cpp::trace
          opentelemetry-cpp::logs
   
   ```


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