After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776815 - libxml2-2.9.4: Compatibility with Python 3.6
libxml2-2.9.4: Compatibility with Python 3.6
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: python
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-03 13:48 UTC by Timo Gurr
Modified: 2021-07-05 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Removes single use of non-existent _PyVerify_fd (789 bytes, patch)
2017-11-06 16:22 UTC, Patrick Welche
none Details | Review

Description Timo Gurr 2017-01-03 13:48:11 UTC
Fedora ships a patch for compatiblity with the recently released Python 3.6 which libxml2 otherwise fails with:

$ echo "import libxml2" | python
Traceback (most recent call last):
  • File "<stdin>", line 1 in <module>
  • File "/usr/x86_64-pc-linux-gnu/lib/python3.6/site-packages/libxml2.py", line 1 in <module>
    import libxml2mod
ImportError: /usr/x86_64-pc-linux-gnu/lib/python3.6/site-packages/libxml2mod.so: undefined symbol: _PyVerify_fd

Source of the Fedora Patch: http://pkgs.fedoraproject.org/cgit/rpms/libxml2.git/tree/libxml2-2.9.4-remove-pyverify_fd.patch

Fedora Bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1406920
Comment 1 Patrick Welche 2017-11-06 16:22:48 UTC
Created attachment 363064 [details] [review]
Removes single use of non-existent _PyVerify_fd

_PyVerify_fd disappeared from python with:
https://hg.python.org/cpython/rev/e88e2049b793
Comment 2 Daniel P. Berrange 2018-02-16 14:46:35 UTC
Any chance of getting this in a release soon - the brokeness with python3 is impacting many distros and expecting them all to find & add this patch is rather tedious.
Comment 3 GNOME Infrastructure Team 2021-07-05 13:23:56 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.