[MacPorts] #60776: itstool @2.0.6: configure: error: Python module libxml2 is needed to run this package
MacPorts
noreply at macports.org
Fri Jul 9 16:10:03 UTC 2021
#60776: itstool @2.0.6: configure: error: Python module libxml2 is needed to run
this package
------------------------------+----------------------
Reporter: programmingkidx | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: tiger
Port: itstool |
------------------------------+----------------------
Changes (by ryandesign):
* keywords: tir => tiger
* cc: ryandesign (added)
Comment:
Replying to [comment:7 blair]:
> I've seen this failure if `libxml2` is linked against an older `icu` and
`icu` is upgraded to a binary incompatible release, which would require
`libxml2` to be recompiled.
That's not it in this case. I built libxml2 on 10.4 Intel yesterday and I
experience this problem with itstool today.
All it's doing to test for the presence of py39-libxml2 is to run `import
libxml2`, which fails if I run it manually:
{{{
$ python3.9
Python 3.9.6 (default, Jul 7 2021, 16:50:38)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42
5666.3_16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import libxml2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/libxml2.py", line 1, in <module>
import libxml2mod
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/libxml2mod.cpython-39-darwin.so, 2): Symbol not found:
___divmoddi4
Referenced from: /opt/local/lib/libicui18n.67.dylib
Expected in: /usr/lib/libgcc_s.1.dylib
>>>
}}}
This is #63164.
--
Ticket URL: <https://trac.macports.org/ticket/60776#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list