On 18/3/2026 12:08, Riccardo Mottola wrote:
Hi!

on 10.11 I think I encountered another fall-off of libxml.

rev-upgrade fails because p5.34-clone  fails for already tracked tar format issues, so it doe snot complete. However it owuld rebuild xar.

Explicitely outdated ports are:
The following installed ports are outdated:
ccache                         4.12.2_0 < 4.13.1_0
emacs-app                      29.3_0 < 30.2_3
gimp2                          2.10.38_2 < 2.10.38_3
gtksourceview4                 4.8.4_0 < 4.8.4_1
p5.34-clone                    0.470.0_0 < 0.480.0_0
poppler                        24.04.0_1 < 26.01.0_0
py27-pygtk                     2.24.0_6 < 2.24.0_7

none of them rebuilds automatically, unfortunately and xar is not listed.

while building gtksourceview4 I see:

--sources-top-dirs /opt/local/var/macports/build/ gtksourceview4-1158faf6/work/build/
dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib
   Referenced from: /opt/local/lib/libxar.1.dylib
  Reason: Incompatible library version: libxar.1.dylib requires version 16.0.0 or later, but libxml2.2.dylib provides version 10.0.0


so xar is broken.
Why is /opt/local/lib/libxml2.2.dylib present at all? The current version of libxml2 installs libxml2.16.dylib.

We know that dyld sometimes produces misleading error messages, so confirm the actual linking of xar with 'otool -L /opt/local/lib/libxar.1.dylib'.

The binary on packages.macports.org is linked correctly:

% otool -L xar-1.8.0.498_1.darwin_15.x86_64/opt/local/lib/libxar.1.dylib
xar-1.8.0.498_1.darwin_15.x86_64/opt/local/lib/libxar.1.dylib:
/opt/local/lib/libxar.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1) /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.3.2) /opt/local/libexec/openssl3/lib/libcrypto.3.dylib (compatibility version 3.0.0, current version 3.0.0) /opt/local/lib/libxml2.16.dylib (compatibility version 18.0.0, current version 18.2.0)

So I don't know how it could continue to be linked with a version of libxml2 that isn't installed, after you ran rev-upgrade.

- Josh

Reply via email to