Created attachment 896670 [details] build log Hello ... I was trying to install onnxruntime, and dynolog is a dependency because cafe2 is a dependency. The configuration failed, log attached. Glog was already installed, because it's a dynolog dependency. This is the error for easy web lookup: CMake Error at CMakeLists.txt:53 (target_link_libraries): Target "dynolog_lib" links to: glog::glog but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at dynolog/src/rpc/CMakeLists.txt:17 (target_link_libraries): Target "dynolog_rpc_lib" links to: glog::glog but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at dynolog/src/tracing/CMakeLists.txt:15 (target_link_libraries): Target "dynolog_ipcmonitor_lib" links to: glog::glog but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at dynolog/src/gpumon/CMakeLists.txt:21 (target_link_libraries): Target "dynolog_dcgm_lib" links to: glog::glog but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at dynolog/tests/rpc/CMakeLists.txt:7 (target_link_libraries): Target "json_client" links to: glog::glog but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at dynolog/tests/tracing/CMakeLists.txt:6 (target_link_libraries): Target "IPCMonitorTest" links to: glog::glog but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing.
Can you attach the output of equery files dev-cpp/glog and emerge -pv dev-cpp/glog please? The relevant error is: [33mCMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package): By not providing "FindUnwind.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Unwind", but CMake did not find one. Could not find a package configuration file provided by "Unwind" (requested version 1.8.1) with any of the following names: UnwindConfig.cmake unwind-config.cmake Add the installation prefix of "Unwind" to CMAKE_PREFIX_PATH or set "Unwind_DIR" to a directory containing one of the above files. If "Unwind" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /lib64/cmake/glog/glog-config.cmake:35 (find_dependency) dynolog/src/rpc/CMakeLists.txt:16 (find_package)
(In reply to Paul Zander from comment #1) > Can you attach the output of equery files dev-cpp/glog and emerge -pv > dev-cpp/glog please? > > > The relevant error is: > > [33mCMake Warning at > /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package): > By not providing "FindUnwind.cmake" in CMAKE_MODULE_PATH this project has > asked CMake to find a package configuration file provided by "Unwind", but > CMake did not find one. > > Could not find a package configuration file provided by "Unwind" (requested > version 1.8.1) with any of the following names: > > UnwindConfig.cmake > unwind-config.cmake > > Add the installation prefix of "Unwind" to CMAKE_PREFIX_PATH or set > "Unwind_DIR" to a directory containing one of the above files. If "Unwind" > provides a separate development package or SDK, be sure it has been > installed. > Call Stack (most recent call first): > /lib64/cmake/glog/glog-config.cmake:35 (find_dependency) > dynolog/src/rpc/CMakeLists.txt:16 (find_package) Sorry for the late reply ... HYG Paul equery files dev-cpp/glog: http://0x0.st/Xajt.txt emerge -pv dev-cpp/glog: http://0x0.st/Xajv.txt And by unwind you mean sys-libs/libunwind, or sys-libs/llvm-libunwind?
Looking at your USE flag combination you should have sys-libs/libunwind installed, can you attach equery check sys-libs/libunwind and emerge -pv sys-libs/libunwind please?
(In reply to Paul Zander from comment #3) > Looking at your USE flag combination you should have sys-libs/libunwind > installed, can you attach equery check sys-libs/libunwind and emerge -pv > sys-libs/libunwind please? HYG http://0x0.st/XaeO.txt
equery check sys-libs/libunwind as well please
(In reply to Paul Zander from comment #5) > equery check sys-libs/libunwind as well please It should be the line at the end, I didn't check because each command gave me nominal output. HYG $ equery check sys-libs/libunwind * Checking sys-libs/libunwind-1.8.1 ... 432 out of 432 files passed
Try rebuilding dynolog now. The only way I could reproduce this was by forcibly uninstalling sys-libs/libunwind.
(In reply to Paul Zander from comment #7) > Try rebuilding dynolog now. The only way I could reproduce this was by > forcibly uninstalling sys-libs/libunwind. I gave it another try, but still got the same error! BTW, when I search for either UnwindConfig.cmake, unwind-config.cmake none is present. equery f sys-libs/libunwind | grep -i UnwindConfig.cmake or unwind-config.cmake gives me empty line.
You should have a /usr/share/glog/cmake/FindUnwind.cmake
(In reply to Paul Zander from comment #9) > You should have a /usr/share/glog/cmake/FindUnwind.cmake Thank you for your replies! Setting up the variable CMAKE_PREFIX_PATH to include /usr/share/glog/cmake didn't do the trick ... But hence you said that the issue is not reproducible, I'll take it somewhere else. Thanks again!
Does the file exist? Maybe join #gentoo on irc. Makes it a bit easier to to communicate. You can ping negril there.
(In reply to Paul Zander from comment #11) > Does the file exist? Yes it does! $ ls -lha /usr/share/glog/cmake/FindUnwind.cmake-rw-r--r-- 1 root root 2.1K Jun 29 23:08 /usr/share/glog/cmake/FindUnwind.cmak But then in the environment file of the dynolog; $ grep CMAKE_PREFIX_PATH /var/tmp/portage/dev-libs/dynolog-0.3.1_p20230126-r2/temp/environment set(CMAKE_PREFIX_PATH "${EPREFIX}/usr" CACHE STRING "" FORCE) This is whole file: http://0x0.st/Xa9X.txt Maybe join #gentoo on irc. Makes it a bit easier to to > communicate. You can ping negril there. Will do!
User had PATH in his make.conf breaking the detection.