Re: Proposal to fail builds if RPATH is found in Fedora 35

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-to-pyexpat.patch

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux