[MacPorts] #67438: libxml2 10.4_1 (avter upgrade icu @72.1_0 -> to icu @73.1_0) cannot be builtd. (All the details in the detailed logs in the attachments.)

MacPorts noreply at macports.org
Tue May 16 15:24:40 UTC 2023


#67438: libxml2 10.4_1 (avter upgrade icu @72.1_0 -> to icu @73.1_0) cannot be
builtd. (All the details in the detailed logs in the attachments.)
-------------------------+------------------------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  High Sierra, Mavericks
      Port:  ibxml2      |
-------------------------+------------------------------------

Comment (by kencu):

 Here is your error:

 {{{
 configure:4137: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c
 >&5
 dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib
   Referenced from: /opt/local/libexec/llvm-9.0/lib/libLLVM.dylib
   Reason: Incompatible library version: libLLVM.dylib requires version
 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
 }}}

 it looks like the version of libxml2 that the llvm-9.0 port was built
 against is much newer than the version of libxml2 that you have currently
 installed. The llvm-9.0 port at present requires at least version 12.0.0
 of the libxml2 dylibs.

 my installed libxml2 port ( libxml2 @2.10.4_1 ) provides version 13.0.0:

 {{{
 % otool -L /opt/local/lib/libxml2.2.dylib
 /opt/local/lib/libxml2.2.dylib:
         /opt/local/lib/libxml2.2.dylib (compatibility version 13.0.0,
 current version 13.4.0)
         ...
 }}}

 why don't you also have that? Have you done something to force libxml2 to
 be an older version?

 please check this:
 {{{
 port -v installed libxml2
 }}}

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


More information about the macports-tickets mailing list