On 26. 03. 21 18:24, Charalampos Stratakis wrote:
python2.7 churchyard cstratak torsava vstinner
I was curious. The error is:
0001: file '/usr/lib64/python2.7/lib-dynload/pyexpat.so' contains a standard
rpath '/usr/lib64' in [/usr/lib64]
And the cause is... our own patch 😱
https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00187-add-RPA...
For reasons I don't understand, the bugzilla referenced from the patch is
private. It is a RHEL 6.2 bugzilla from 2012 that could be summarized as:
"If the user sets $LD_LIBRARY_PATH to a directory with broken/incompatible
libraries, Python breaks."
And as solution to this problem, RPATH was set to '%{_libdir}' for pyexpat
(because the reporter happened to have incompatible libexpat in there and not
different libraries).
If I cared about python2.7 in Fedora, I'd say we should get rid of this patch.
(OTOH if this patch is actually desired, we certainly need a lot more of them.)
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok