[MacPorts] #55586: itstool @2.0.2: error: Python module libxml2 is needed to run this package

MacPorts noreply at macports.org
Mon Dec 25 20:18:03 UTC 2017


#55586: itstool @2.0.2: error: Python module libxml2 is needed to run this package
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:  elcapitan
      Port:  itstool    |
------------------------+-----------------------
Changes (by ryandesign):

 * cc: jmroot, ryandesign (added)


Comment:

 I am able to reproduce the problem if I install python27 with the +ucs4
 variant, as you have. The problem is that when you installed py27-libxml2,
 you got a binary of it from our build server, where it was built with a
 python27 without the +ucs4 variant.

 If you have python27 installed with the +ucs4 variant, then your python
 modules must also be compiled with a python27 using the +ucs4 variant (and
 if you have python27 installed without the +ucs4 variant, then your python
 modules must be compiled with a python27 not using the +ucs4 variant). We
 don't have a way to enforce that in MacPorts, so we should remove the
 +ucs4 variant from python27 and revbump it, so that users cannot run into
 this problem. See also #36107 and #51141.

--
Ticket URL: <https://trac.macports.org/ticket/55586#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list