Description of problem:
ROOT cannot be imported with EPEL7
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. python > import ROOT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/ROOT/__init__.py", line 34, in <module>
File "/usr/lib64/python2.7/site-packages/cppyy/__init__.py", line 64, in <module>
libcppyy_mod_name, major, minor))
ImportError: Failed to import libcppyy2_7. Please check that ROOT has been built for Python 2.7
It should import.
This looks suspicious:
# ls -l /usr/lib64/python*/site-packages/libcppyy*.so
lrwxrwxrwx. 1 root root 33 Jul 18 04:58 /usr/lib64/python2.7/site-packages/libcppyy2_7.so -> ../../root/libcppyy3_6.so.6.22.00
lrwxrwxrwx. 1 root root 41 Jul 18 04:58 /usr/lib64/python2.7/site-packages/libcppyy_backend2_7.so -> ../../root/libcppyy_backend3_6.so.6.22.00
lrwxrwxrwx. 1 root root 33 Jul 18 04:58 /usr/lib64/python3.6/site-packages/libcppyy3_6.cpython-36m-x86_64-linux-gnu.so -> ../../root/libcppyy3_6.so.6.22.00
lrwxrwxrwx. 1 root root 41 Jul 18 04:58 /usr/lib64/python3.6/site-packages/libcppyy_backend3_6.so -> ../../root/libcppyy_backend3_6.so.6.22.00
They all symlink to the 3.6 backend.
Indeed if I force the recreation of the symlinks:
ln -sf ../../root/libcppyy2_7.so.6.22.00 libcppyy2_7.so
ln -sf ../../root/libcppyy_backend2_7.so.6.22.00 libcppyy_backend2_7.so
Then the import of ROOT with default python (2.7) is fine.
FEDORA-EPEL-2020-042f5b5af8 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-042f5b5af8
Thank you. Stupid cut and paste error in specfile corrected.
FEDORA-EPEL-2020-042f5b5af8 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-2020-042f5b5af8
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2020-3cbe001af0 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-3cbe001af0
FEDORA-EPEL-2020-60865a6b26 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-60865a6b26
FEDORA-2020-a55be98ca8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a55be98ca8
FEDORA-2020-543bedc44c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-543bedc44c
This bug should not have been mentioned in the 6.22.02 updates since it is fixed in root-6.22.00-5.el7 and only affected EPEL 7. I have removed the bad references in Bodhi.
FEDORA-EPEL-2020-042f5b5af8 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.