h-vetinari commented on issue #44982:
URL: https://github.com/apache/arrow/issues/44982#issuecomment-2530076567
@assignUser, here are the logs for your suggestion, lightly cleaned up by
resubstituting common variables.
I really don't know `ThirdpartyToolchain.cmake`, but ISTM that the problem
begins by looking for `Findopentelemetry-cpp.cmake`, rather than just going
directly to
`$PREFIX/lib/cmake/opentelemetry-cpp/opentelemetry-cpp-config.cmake` (which
exists as I pointed out in the OP; it appears in a kind of no-man's-land in the
log below, no idea what to make of that).
```
CMake Debug Log at cmake_modules/ThirdpartyToolchain.cmake:313
(find_package):
find_package considered the following paths for
Findopentelemetry-cpp.cmake:
$SRC_DIR/cpp/cmake_modules/Findopentelemetry-cpp.cmake
$PREFIX/lib/cmake/glog/../../../share/glog/cmake/Findopentelemetry-cpp.cmake
$PREFIX/lib/cmake/grpc/modules/Findopentelemetry-cpp.cmake
$BUILD_PREFIX/share/cmake-3.31/Modules/Findopentelemetry-cpp.cmake
The file was not found.
$PREFIX/lib/cmake/opentelemetry-cpp/opentelemetry-cppConfig.cmake
$PREFIX/lib/cmake/opentelemetry-cpp/opentelemetry-cpp-config.cmake
# <- see here
The internally managed CMAKE_FIND_PACKAGE_REDIRECTS_DIR.
$SRC_DIR/cpp/build/CMakeFiles/pkgRedirects
<PackageName>_ROOT CMake variable [CMAKE_FIND_USE_PACKAGE_ROOT_PATH].
$PREFIX
CMAKE_PREFIX_PATH variable [CMAKE_FIND_USE_CMAKE_PATH].
none
CMAKE_FRAMEWORK_PATH and CMAKE_APPBUNDLE_PATH variables
[CMAKE_FIND_USE_CMAKE_PATH].
none
Env variable opentelemetry-cpp_DIR [CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH].
none
CMAKE_PREFIX_PATH env variable [CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH].
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr
CMAKE_FRAMEWORK_PATH and CMAKE_APPBUNDLE_PATH env variables
[CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH].
Paths specified by the find_package HINTS option.
none
Standard system environment variables
[CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH].
$BUILD_PREFIX
/opt/conda/condabin
/opt/conda
/usr/local
/usr
/
/home/conda
CMake User Package Registry [CMAKE_FIND_USE_PACKAGE_REGISTRY].
none
CMake variables defined in the Platform file
[CMAKE_FIND_USE_CMAKE_SYSTEM_PATH].
/usr/X11R6
/usr/pkg
/opt
CMake System Package Registry
[CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY].
none
Paths specified by the find_package PATHS option.
none
Prepending the following roots to each prefix:
CMAKE_FIND_ROOT_PATH
$PREFIX
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot
CMAKE_SYSROOT_COMPILE
none
CMAKE_SYSROOT_LINK
none
CMAKE_SYSROOT
none
find_package considered the following locations for opentelemetry-cpp's
Config module:
$PREFIX/opentelemetry-cppConfig.cmake
$PREFIX/opentelemetry-cpp-config.cmake
$PREFIX/opentelemetry-cppConfig.cmake
$PREFIX/opentelemetry-cpp-config.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/opentelemetry-cppConfig.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/opentelemetry-cpp-config.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/opentelemetry-cppConfig.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/opentelemetry-cpp-config.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/opentelemetry-cppConfig.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/opentelemetry-cpp-config.cmake
$SRC_DIR/cpp/build/CMakeFiles/pkgRedirects/opentelemetry-cppConfig.cmake
$SRC_DIR/cpp/build/CMakeFiles/pkgRedirects/opentelemetry-cpp-config.cmake
$PREFIX/opentelemetry-cppConfig.cmake
$PREFIX/opentelemetry-cpp-config.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/opentelemetry-cppConfig.cmake
$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/opentelemetry-cpp-config.cmake
$BUILD_PREFIX/opentelemetry-cppConfig.cmake
$BUILD_PREFIX/opentelemetry-cpp-config.cmake
/opt/conda/condabin/opentelemetry-cppConfig.cmake
/opt/conda/condabin/opentelemetry-cpp-config.cmake
/opt/conda/opentelemetry-cppConfig.cmake
/opt/conda/opentelemetry-cpp-config.cmake
/usr/local/opentelemetry-cppConfig.cmake
/usr/local/opentelemetry-cpp-config.cmake
/usr/opentelemetry-cppConfig.cmake
/usr/opentelemetry-cpp-config.cmake
/opentelemetry-cppConfig.cmake
/opentelemetry-cpp-config.cmake
/home/conda/opentelemetry-cppConfig.cmake
/home/conda/opentelemetry-cpp-config.cmake
/opt/opentelemetry-cppConfig.cmake
/opt/opentelemetry-cpp-config.cmake
The file was not found.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:4970 (resolve_dependency)
CMakeLists.txt:546 (include)
```
--
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]