Created attachment 189405 [details] SVN patch Hi, _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: Author: kwm Date: Thu Oct 25 19:26:45 UTC 2018 New revision: 482978 URL: https://svnweb.freebsd.org/changeset/ports/482978 Log: 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. PR: 224902 Submitted by: Michael Zhilin <mizhka@gmail.com> Obtained from: libxml2 upstream Changes: head/textproc/libxml2/files/patch-python_types.c head/textproc/py-libxml2/Makefile