Bug 1998068 - ROOT 6.24.02 requires json-devel, but it is not listed as a dependency
Summary: ROOT 6.24.02 requires json-devel, but it is not listed as a dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: root
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-26 11:54 UTC by andrii.verbytskyi
Modified: 2021-09-24 20:11 UTC (History)
1 user (show)

Fixed In Version: root-6.24.04-1.el8 root-6.24.04-1.el7 root-6.24.04-1.fc34 root-6.24.04-1.fc33 root-6.24.04-1.fc35
Clone Of:
Environment:
Last Closed: 2021-09-05 20:15:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description andrii.verbytskyi 2021-08-26 11:54:48 UTC
Description of problem:

root and root-core packages from EPEL8-testing require json-devel for 
cmake `find_package(ROOT .. )` to work properly, however it is not listed as a dependency. As a result, attempts to run cmake configuration for projects that use ROOT fail.

Version-Release number of selected component (if applicable):

6.24.02

How reproducible:

Always.



Steps to Reproduce:
1. create CMakeLists.txt with the following content
```
project(foo CXX)
cmake_minimum_required(VERSION 3.20)
find_package(ROOT COMPONENTS Core REQUIRED )
add_executable(1.exe 1.C)
```
2. touch 1.C
3. cmake CMakeListst.txt

Actual results:

```
-- The CXX compiler identification is GNU 8.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "nlohmann_json", but CMake did not find one.

  Could not find a package configuration file provided by "nlohmann_json"
  (requested version 3.6.1) with any of the following names:

    nlohmann_jsonConfig.cmake
    nlohmann_json-config.cmake

  Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
  "nlohmann_json_DIR" to a directory containing one of the above files.  If
  "nlohmann_json" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/share/root/cmake/ROOTConfig.cmake:114 (find_dependency)
  CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
```
Expected results:

Successful configuration by cmake. 

Additional info:

Of course, the behaviour is seen only if json-devel is not installed.

Comment 1 Fedora Update System 2021-08-29 04:17:13 UTC
FEDORA-2021-acbbbe02b8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-acbbbe02b8

Comment 2 Fedora Update System 2021-08-29 04:17:16 UTC
FEDORA-2021-acbbbe02b8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-acbbbe02b8

Comment 3 Fedora Update System 2021-08-29 04:17:21 UTC
FEDORA-2021-a09b749175 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a09b749175

Comment 4 Fedora Update System 2021-08-29 04:17:24 UTC
FEDORA-2021-a09b749175 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a09b749175

Comment 5 Fedora Update System 2021-08-29 04:17:45 UTC
FEDORA-EPEL-2021-817370d4a8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-817370d4a8

Comment 6 Fedora Update System 2021-08-29 04:17:50 UTC
FEDORA-EPEL-2021-817370d4a8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-817370d4a8

Comment 7 Fedora Update System 2021-08-29 04:18:13 UTC
FEDORA-EPEL-2021-b40354f228 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-b40354f228

Comment 8 Fedora Update System 2021-08-29 04:18:15 UTC
FEDORA-EPEL-2021-b40354f228 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-b40354f228

Comment 9 Fedora Update System 2021-08-29 18:43:39 UTC
FEDORA-EPEL-2021-817370d4a8 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-817370d4a8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-08-29 18:53:53 UTC
FEDORA-EPEL-2021-b40354f228 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-b40354f228

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-08-29 19:23:20 UTC
FEDORA-2021-acbbbe02b8 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-acbbbe02b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-acbbbe02b8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2021-08-29 19:30:57 UTC
FEDORA-2021-a09b749175 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a09b749175`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a09b749175

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2021-08-29 20:09:38 UTC
FEDORA-2021-a04402686c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a04402686c

Comment 14 Fedora Update System 2021-08-30 19:01:10 UTC
FEDORA-2021-a04402686c has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a04402686c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a04402686c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-09-05 20:15:26 UTC
FEDORA-EPEL-2021-817370d4a8 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2021-09-05 20:18:34 UTC
FEDORA-EPEL-2021-b40354f228 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2021-09-05 21:12:39 UTC
FEDORA-2021-acbbbe02b8 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2021-09-05 21:26:58 UTC
FEDORA-2021-a09b749175 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2021-09-24 20:11:29 UTC
FEDORA-2021-a04402686c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.