Bug 1826537

Summary: ROOT not rebuilt after GCC upgrade
Product: [Fedora] Fedora Reporter: Kyrre Ness Sjøbæk <kyrsjo>
Component: rootAssignee: Mattias Ellert <mattias.ellert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: mattias.ellert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: root-6.20.04-2.fc30 root-6.20.04-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 05:21:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kyrre Ness Sjøbæk 2020-04-21 22:30:04 UTC
Description of problem:
GCC (and maybe also GLIBCXX?) was recently updated for Fedora 31, however the root packages were not rebuilt. This causes a problem when building dictionaries with CLING, causing the error message:

Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with __GLIBCXX__ '20200317'
  Extraction of runtime standard library version was: '20200408'

This in turn causes the dynamic loading of the ROOT dictionaries to fail.


Version-Release number of selected component (if applicable):
root-6.20.04-1.fc31.x86_64 (and sub-packages)

How reproducible:
Every time.

Steps to Reproduce:
1. Install ROOT with DNF
2. Try to build an application requiring ROOT dictionaries, e.g. BDsim:
http://www.pp.rhul.ac.uk/bdsim/manual/installation.html#python-utilities
3. Building of dicts fail.
4. Running of BDsim application fails with error
Error in <TCling::LoadPCM>: ROOT PCM /home/kyrsjo/code/bdsim/bdsim-install/bin/BDSOutputROOTEventBeamDict_rdict.pcm file does not exist

Actual results:
Build of applications depending on ROOT fails if they use ROOT-dictionaries.

Expected results:
Build is succssfull.

Additional info:
This is a known issue for the ROOT devs, see e.g. https://root-forum.cern.ch/t/warning-in-cling-incrementalparser-checkabicompatibility/19423

There should probably be some exact version number dependency in the package on the as-built libraries...

Also note that the "Component description" in bugzilla for "root" is "The basic required files for the root user's directory", which is the same as for "rootfiles".

Comment 1 Kyrre Ness Sjøbæk 2020-04-22 19:57:55 UTC
Note: The issue during run (step 4 to reproduce) seems to be unrelated to this.

Comment 2 Fedora Update System 2020-04-25 15:37:20 UTC
FEDORA-2020-f62f072667 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f62f072667

Comment 3 Fedora Update System 2020-04-25 15:37:21 UTC
FEDORA-2020-8f0afa3c56 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f0afa3c56

Comment 4 Mattias Ellert 2020-04-25 15:43:37 UTC
Do you get a hard error due to this? Or just a warning?
I can reproduce the warning, but I see no failures.
The HepMC3 package that build a ROOT module is regularly tested in the koschei continuous integration, and doesn't report a build failure, though the warning does appear in the build log.
Rebuilding to get rid of the warning meakes sense, though.

Comment 5 Fedora Update System 2020-04-26 04:15:17 UTC
FEDORA-2020-f62f072667 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f62f072667`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f62f072667

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

Comment 6 Fedora Update System 2020-04-26 04:51:29 UTC
FEDORA-2020-8f0afa3c56 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8f0afa3c56`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f0afa3c56

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

Comment 7 Kyrre Ness Sjøbæk 2020-04-27 11:10:44 UTC
Dear Mattias,
thanks for the update; I tested the version for Fedora 31 and I confirm that the compile warnings went away with this.

Regarding runtime errors, in the meantime I have chased them down a bit further and they were not the cause of my crashes OR caused by this issue. Sorry about barking up the wrong tree here and assigning this bug report a too high severity!

Best regards,
Kyrre Sjøbæk

Comment 8 Fedora Update System 2020-05-04 05:21:00 UTC
FEDORA-2020-8f0afa3c56 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-05-04 05:49:18 UTC
FEDORA-2020-f62f072667 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.