Opened 4 years ago
Last modified 3 years ago
#60776 assigned defect
itstool @2.0.6: configure: error: Python module libxml2 is needed to run this package
Reported by: | programmingkidx | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger | Cc: | programmingkidx, ryandesign (Ryan Carsten Schmidt) |
Port: | itstool |
Description
itstool fails at configure step.
Operating system: Mac OS 10.4.11 (intel)
This is found in the log:
checking for python module libxml2... not found configure: error: Python module libxml2 is needed to run this package
Attachments (1)
Change History (10)
Changed 4 years ago by programmingkidx
comment:1 follow-up: 4 Changed 4 years ago by kencu (Ken)
comment:2 Changed 4 years ago by kencu (Ken)
Cc: | dbevans removed |
---|---|
Keywords: | tiger added |
Owner: | set to dbevans |
Status: | new → assigned |
comment:3 Changed 4 years ago by programmingkidx
Cc: | programmingkidx added |
---|
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to kencu:
you might save yourself a very large amount of trouble if you used the link to the archives site I gave you:
That doesn't help us fix the build problem. You've apparently fixed it on your system, so why not contribute the fix so everyone can benefit?
comment:5 Changed 4 years ago by kencu (Ken)
Let me see if I can put a fix together that might be acceptable in the main macports repo.
comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | tir added; tiger removed |
---|---|
Summary: | itstool fails at configure on Mac OS 10.4 (intel) → itstool @2.0.6: configure: error: Python module libxml2 is needed to run this package |
We're seeing this same error on 10.11/10.12/10.13/10.14 on Travis (e.g. https://paste.macports.org/1987e9f20156).
comment:7 follow-up: 8 Changed 4 years ago by blair (Blair Zajac)
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.
comment:8 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|---|
Keywords: | tiger added; tir removed |
Replying to blair:
I've seen this failure if
libxml2
is linked against an oldericu
andicu
is upgraded to a binary incompatible release, which would requirelibxml2
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.
you might save yourself a very large amount of trouble if you used the link to the archives site I gave you: