Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64613 - [root] Cannot find ROOT with CMake
Attached to Project:
Community Packages
Opened by beojan (beojan) - Friday, 22 November 2019, 14:54 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 24 February 2020, 12:17 GMT
Opened by beojan (beojan) - Friday, 22 November 2019, 14:54 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 24 February 2020, 12:17 GMT
|
DetailsDescription:
With the Arch root or root-cuda package installed, it isn't possible to link to ROOT using CMake: CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:584 (set_property): set_property could not find TARGET ROOT::Bonjour. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:585 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::Bonjour Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:595 (set_property): set_property could not find TARGET ROOT::Krb5Auth. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:596 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::Krb5Auth Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:617 (set_property): set_property could not find TARGET ROOT::rootd. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:618 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::rootd Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:637 (set_property): set_property could not find TARGET ROOT::RLDAP. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:638 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::RLDAP Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:693 (set_property): set_property could not find TARGET ROOT::mathtext. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:694 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::mathtext Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:817 (set_property): set_property could not find TARGET ROOT::GLEW. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:818 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::GLEW Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:828 (set_property): set_property could not find TARGET ROOT::FTGL. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:829 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::FTGL Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:974 (set_property): set_property could not find TARGET ROOT::proofd. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:975 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::proofd Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1015 (set_property): set_property could not find TARGET ROOT::pq2. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1016 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::pq2 Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1046 (set_property): set_property could not find TARGET ROOT::VMC. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1047 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::VMC Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1121 (set_property): set_property could not find TARGET ROOT::MemStat. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1122 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::MemStat Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1151 (set_property): set_property could not find TARGET ROOT::ssh2rpd. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1152 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::ssh2rpd Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1244 (set_property): set_property could not find TARGET ROOT::JupyROOT. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets-optimized.cmake:1245 (set_target_properties): set_target_properties Can not find target to add properties to: ROOT::JupyROOT Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig-targets.cmake:1168 (include) /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) CMake Error at /usr/share/root/cmake/ROOTConfig-targets.cmake:1178 (message): The imported target "ROOT::Bonjour" references the file "/usr/lib/root/libBonjour.so" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/share/root/cmake/ROOTConfig-targets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/share/root/cmake/ROOTConfig.cmake:81 (include) rdf-utils/include.cmake:10 (find_package) CMakeLists.txt:5 (include) Additional info: * package version(s): 6.18.04-4 Steps to reproduce: - Attempt to link in ROOT using CMake |
This task depends upon
By not providing "FindROOT.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ROOT", but
CMake did not find one.
Could not find a package configuration file provided by "ROOT" with any of
the following names:
ROOTConfig.cmake
root-config.cmake
Add the installation prefix of "ROOT" to CMAKE_PREFIX_PATH or set
"ROOT_DIR" to a directory containing one of the above files. If "ROOT"
provides a separate development package or SDK, be sure it has been
installed.
Which is confusing because ROOTConfig.cmake exists in /usr/lib/cmake.