----- Original Message -----
From: "Miro Hrončok" mhroncok@redhat.com To: devel@lists.fedoraproject.org Sent: Friday, March 26, 2021 6:51:56 PM Subject: Re: Proposal to fail builds if RPATH is found in Fedora 35
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-RPATH-...
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 _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
I would certainly drop this patch from python2.7 (or maybe drop python2.7 entirely but that's a different topic).