FS#67820 - [python2-pycurl] library can't be imported
Attached to Project:
Arch Linux
Opened by Jane Doe (sofo1) - Thursday, 03 September 2020, 13:31 GMT
Last edited by Felix Yan (felixonmars) - Friday, 18 December 2020, 13:13 GMT
Opened by Jane Doe (sofo1) - Thursday, 03 September 2020, 13:31 GMT
Last edited by Felix Yan (felixonmars) - Friday, 18 December 2020, 13:13 GMT
|
Details
Latest - python2-pycurl 7.43.0.6-1 - doesn't work
Previous - python2-pycurl 7.43.0.5-1 - works fine. Steps to reproduce: Open python2 terminal >> import pycurl ImportError: /usr/lib/python2.7/site-packages/pycurl.so: undefined symbol: PyUnicode_DecodeLocale |
This task depends upon
Closed by Felix Yan (felixonmars)
Friday, 18 December 2020, 13:13 GMT
Reason for closing: Fixed
Additional comments about closing: python2-pycurl 1:7.43.0.3-1
Friday, 18 December 2020, 13:13 GMT
Reason for closing: Fixed
Additional comments about closing: python2-pycurl 1:7.43.0.3-1
No. What. How is "it is utterly broken because upstream doesn't support python2 anymore" closed as an upstream issue for a high-severity "this package makes zero sense to be packaged as-is" ticket?
If we continue to package python2-pycurl in the official repos and upstream won't support it, we must hold it back to the final python2-compatible release.
So dropping it to the AUR is another option as suggested in
FS#67933, though then we might be unable to properly test python2-tornado (needed in turn by salt, yikes, but we're blocked onFS#61129for that).[1] https://github.com/saltstack/salt/blob/v2019.2.4/salt/utils/http.py#L522
Edit:
Would demize update salt to python3 if tornado4 was split out and someone else maintained it?
Or must it be tornado5/6 that is used? If so must the tornado5/6 support be official? ( Meaning local patches to add tornado5/6 support would not be acceptable. )
[2] https://bugs.archlinux.org/task/61129#comment184838
[3] https://bugs.archlinux.org/task/61129#comment187735
Edit2:
Consider adding -z,defs to LDFLAGS to make libraries linking to undefined functions a build time error.