Bug 1406920 - libxml2 should no longer use PyVerify_fd
Summary: libxml2 should no longer use PyVerify_fd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libxml2
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-21 20:36 UTC by Kevin Fenzi
Modified: 2018-02-14 17:08 UTC (History)
5 users (show)

Fixed In Version: libxml2-2.9.7-1.fc27 libxml2-2.9.7-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-30 18:06:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kevin Fenzi 2016-12-21 20:36:47 UTC
When libxml2 is rebuilt with python3.6 all things that use it's bindings get: 

Python 3.6.0rc1 (default, Dec 10 2016, 14:50:33) 
[GCC 6.2.1 20160916 (Red Hat 6.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import libxml2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.6/site-packages/libxml2.py", line 1, in <module>
    import libxml2mod
ImportError: /usr/lib64/python3.6/site-packages/libxml2mod.so: undefined symbol: _PyVerify_fd
>>> 

This is due to upstream python dropping this symbol: 

http://bugs.python.org/issue23524

I am not 100% sure here, but it looks like they dropped it in favor of just returning an error when an invalid fd is used. As a quick hack to get things working again in rawhide I have commited a simple patch that removes the call. 

Sorry if that breaks anything else or isn't the proper fix.

Comment 1 Fedora End Of Life 2017-02-28 10:50:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Rex Dieter 2017-04-11 13:14:53 UTC
Kevin, you committed a workaround,

https://src.fedoraproject.org/cgit/rpms/libxml2.git/commit/?id=05bd5b911b635683e37431e9757284779b820072

Can we close this bug or would you rather keep it open for tracking purposes?

Comment 3 Kevin Fenzi 2017-04-11 15:28:09 UTC
Well, the patch was super hacky, so I was hoping to have the maintainer talk to upstream about it or confirm that it was the right fix. 

I suppose we could close it, but perhaps should file an upstream bug so someday this might be fixed better or in an upstreamable way?

Comment 4 Rex Dieter 2017-04-15 15:33:21 UTC
OK, agreed (marking MoveUpstream)

Comment 5 Jan Kurik 2017-08-15 07:50:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 6 Fedora Update System 2018-01-24 07:28:18 UTC
libxml2-2.9.7-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db610fff5b

Comment 7 Fedora Update System 2018-01-24 07:28:52 UTC
libxml2-2.9.7-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a6b59d8f78

Comment 8 Fedora Update System 2018-01-25 07:54:33 UTC
libxml2-2.9.7-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a6b59d8f78

Comment 9 Fedora Update System 2018-01-25 08:37:14 UTC
libxml2-2.9.7-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-db610fff5b

Comment 10 Fedora Update System 2018-01-30 18:06:45 UTC
libxml2-2.9.7-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2018-02-14 17:08:55 UTC
libxml2-2.9.7-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.