Bug 1734273
| Summary: | PyROOT not working with ROOT 6.18 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Guilherme Amadio <guilherme> |
| Component: | root | Assignee: | Mattias Ellert <mattias.ellert> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | mattias.ellert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | root-6.18.00-3.fc30 root-6.18.00-3.fc29 root-6.18.00-3.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-11 01:13:08 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: | |||
FEDORA-EPEL-2019-ef8efb18ab has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-ef8efb18ab FEDORA-2019-66e28e2291 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-66e28e2291 FEDORA-2019-5c8643ad27 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c8643ad27 root-6.18.00-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-ef8efb18ab root-6.18.00-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-66e28e2291 root-6.18.00-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c8643ad27 root-6.18.00-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. root-6.18.00-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. root-6.18.00-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: PyROOT is not working with ROOT 6.18/00 in Fedora 30. The _rdict.pcm files must be alongside the libraries to be found by the interpreter, and the current packaging only deals with the library, not the _rdict.pcm and rootmap files. Version-Release number of selected component (if applicable): Fedora 30, ROOT 6.18/00 Steps to Reproduce: $ yum list root python2-root python3-root Last metadata expiration check: 0:00:43 ago on Tue Jul 30 06:28:34 2019. Installed Packages python2-root.x86_64 6.18.00-1.fc30 @updates python3-root.x86_64 6.18.00-1.fc30 @updates root.x86_64 6.18.00-1.fc30 @updates $ python -c 'import ROOT' Error in <TCling::RegisterModule>: cannot find dictionary module libPyROOT_rdict.pcm $ python3 -c 'import ROOT' Error in <TCling::RegisterModule>: cannot find dictionary module libPyROOT_rdict.pcm $ ls /usr/lib64/root/libPy* /usr/lib64/root/libPyMVA.rootmap /usr/lib64/root/libPyMVA_rdict.pcm /usr/lib64/root/libPyROOT.so.6.18.00 /usr/lib64/root/libPyMVA.so /usr/lib64/root/libPyROOT.rootmap /usr/lib64/root/libPyROOT_rdict.pcm /usr/lib64/root/libPyMVA.so.6.18 /usr/lib64/root/libPyROOT.so /usr/lib64/root/libPyMVA.so.6.18.00 /usr/lib64/root/libPyROOT.so.6.18 $ export PYTHONPATH=/usr/lib64/root $ python -c 'import ROOT' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/ROOT.py", line 24, in <module> import cppyy File "/usr/lib64/python2.7/site-packages/cppyy.py", line 61, in <module> import libPyROOT as _backend ImportError: dynamic module does not define init function (initlibPyROOT) $ python3 -c 'import ROOT' $