[MacPorts] #66206: Impossible to build a port libxml2 @2.10.3_1 because all compilers depend on this port.

MacPorts noreply at macports.org
Wed Nov 9 01:41:36 UTC 2022


#66206: Impossible to build a port libxml2 @2.10.3_1 because all compilers depend
on this port.
-------------------------+-----------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.0
Resolution:              |   Keywords:  Mavericks
      Port:  libxml2     |
-------------------------+-----------------------

Comment (by kencu):

 clang will find and link against macports libxml2 if it is installed.

 Therefore it was listed as a dep for most clang ports.

 But macports libxml2 is not really needed, as the system libxml2 works
 100% fine.

 I forced clang to ignore MacPorts libxml2 in some of the (bootstrappy)
 clangs:

 https://github.com/macports/macports-
 ports/blob/c2e71cacbad12f2c5664f3330d7e9ec9078eba29/lang/llvm-5.0/Portfile#L344

 But it appears this didn't get carried into all new clangs, etc; probably
 should be.

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


More information about the macports-tickets mailing list