Created attachment 189405 [details]
_PyVerify_fd has been removed from CPython and it did nothing on Unix boxes. In case of python 3.6 usage of py-libxml2 throws undefined symbol _PyVerify_fd.
Ticket to gnome is still open: https://bugzilla.gnome.org/show_bug.cgi?id=776815
This patch solves problem. Issue is found by me during upgrade of textproc/itstool from 2.0.2 to 2.0.4.
Any reason that it's still open? Suggested patch looks trivial and very similar to the upstream fix: https://github.com/GNOME/libxml2/commit/d910e99c322a0895955038c700471e9b1fd91fa6
(In reply to Roman Bogorodskiy from comment #1)
Just tested this change and it works fine for me.
A commit references this bug:
Date: Thu Oct 25 19:26:45 UTC 2018
New revision: 482978
Remove usage of _PyVerify_fd().
This function appears to be removed in python 3.5.0. Instead of adding a
version check like the submitter proposed. Grab the upstream patch instead
that just removes the function usage.
Submitted by: Michael Zhilin <email@example.com>
Obtained from: libxml2 upstream