Hi Josh,

Joshua Root wrote:
The major library version of libxml2 has changed in the update that was just committed, so everything linked with it needs to be rebuilt. All declared dependents have been rev bumped already, but please keep an eye out for any ports caught by rev-upgrade which may be using it without declaring a dependency. These will need to add the dependency and bump the revision.

I think I might have caught one. On High Sierra I am rebuilding and llvm11 is being pulled in as a dependency (didn't have it previously) and it fails to build with existing  clang-9 due to strange linker version issues (opened ticket) however if I force clang 8, it dies with:

    Building C object CMakeFiles/cmTC_a34eb.dir/testCCompiler.c.o
    /opt/local/bin/clang-mp-8.0   -pipe -Os  -arch x86_64 -mmacosx-version-min=10.13 -MD -MT CMakeFiles/cmTC_a34eb.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_a34eb.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_a34eb.dir/testCCompiler.c.o -c /opt/local/var/macports/build/llvm-11-2adc989d/work/build/CMakeFiles/CMakeScratch/TryCompile-MUbCeZ/testCCompiler.c
    Linking C executable cmTC_a34eb
    /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a34eb.dir/link.txt --verbose=1
    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
    clang: error: unable to execute command: Abort trap: 6
    clang: error: linker command failed due to signal (use -v to see invocation)



I would guess that libxar and lixml2 here are mismatched. However, it is not in my outdated port list:

The following installed ports are outdated:
ccache                         4.12.1_1 < 4.13.1_0
clang-17                       17.0.6_6 < 17.0.6_7
emacs-app                      30.2_2 < 30.2_3
gegl                           0.4.62_0 < 0.4.64_0
glade                          3.40.0_2 < 3.40.0_3
gtksourceview4                 4.8.4_0 < 4.8.4_1
gupnp                          1.6.6_0 < 1.6.6_1
libhandy                       1.8.3_0 < 1.8.3_1
librsvg                        2.58.5_0 < 2.58.5_1
libsoup                        3.6.5_0 < 3.6.5_1
libsoup-2.4                    2.74.3_0 < 2.74.3_1
llvm-17                        17.0.6_2 < 17.0.6_3
llvm-19                        19.1.7_1 < 19.1.7_2
p5.34-clone                    0.470.0_0 < 0.480.0_0
poppler                        24.04.0_2 < 26.01.0_0
shared-mime-info               2.4_0 < 2.4_1
webkit2-gtk                    2.28.2_9 < 2.28.2_10

(most of the above list is failing due to llvm11 or python314 as a dependency....)

Trying clang7 issues the same, I suppose both are built on libxar which is broken.

libxar revbump? and hope it builds with system compiler or gcc?

Riccardo

Reply via email to