[MacPorts] #71708: cmake: build failure on macOS 15: stale libxml2, still linked to icu 74

MacPorts noreply at macports.org
Thu Jan 2 07:04:25 UTC 2025


#71708: cmake: build failure on macOS 15: stale libxml2, still linked to icu 74
----------------------------+------------------------
  Reporter:  josmithiii     |      Owner:  ryandesign
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.5
Resolution:                 |   Keywords:  sequoia
      Port:  libxml2 cmake  |
----------------------------+------------------------

Comment (by josmithiii):

 Sure, thanks:

 {{{
 > port -v installed libxml2
 The following ports are currently installed:
   libxml2 @2.13.5_2 (active) requested_variants='' platform='darwin 24'
 archs='arm64' date='2024-12-27T09:07:30-0800'
 }}}

 {{{
 > sudo port rev-upgrade
 --->  Scanning binaries for linking errors
 --->  Found 32 broken files, matching files to ports
 --->  Found 6 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:
  libxml2 @2.13.5
  pstoedit @4.01
  boost176 @1.76.0+no_single+no_static+python312
  qt5-qtbase @5.15.15+openssl
  octave
 @9.2.0+app+docs+gfortran+graphicsmagick+openblas+qt5+sound+sundials
  qt5-qtlocation @5.15.15
 Continue? [Y/n]:
 --->  Computing dependencies for libxml2
 --->  Cleaning libxml2
 --->  Computing dependencies for cmake
 --->  Fetching archive for cmake
 Warning: Your DNS servers incorrectly claim to know the address of
 nonexistent hosts. This may cause checksum mismatches for some ports. See
 this page for more information:
 <https://trac.macports.org/wiki/MisbehavingServers>
 --->  Attempting to fetch cmake-3.31.3_0.darwin_24.arm64.tbz2 from
 https://packages.macports.org/cmake
 --->  Attempting to fetch cmake-3.31.3_0.darwin_24.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/cmake
 --->  Attempting to fetch cmake-3.31.3_0.darwin_24.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/cmake
 --->  Building cmake
 --->  Staging cmake into destroot
 Error: Failed to destroot cmake: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log
 for details.
 Error: Problem while installing cmake
 Error: rev-upgrade failed: Error rebuilding pstoedit
 }}}
 The failure is the same:
 {{{
 :info:destroot Install the project...
 :info:destroot dyld[37786]: Library not loaded:
 /opt/local/lib/libicuuc.74.dylib
 :info:destroot   Referenced from: <8AFACEA7-8429-3E05-89C9-B37516B64F8A>
 /opt/local/lib/libxml2.2.dylib
 :info:destroot   Reason: tried: '/opt/local/lib/libicuuc.74.dylib' (no
 such file),
 '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libicuuc.74.dylib' (no
 such file), '/opt/local/lib/libicuuc.74.dylib' (no such file)
 :info:destroot make: *** [install] Abort trap: 6
 }}}
 Some things I tried:

 {{{
 > sudo port clean cmake
 --->  Cleaning cmake
 > sudo port install libxml2
 <no change>
 }}}
 Maybe `libxml2` should try to depend on `cmake-bootstrap` instead of
 `cmake`?  I have that installed ok.

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


More information about the macports-tickets mailing list