[MacPorts] #69802: castxml @0.6.5: now requires cxx 2017; missing lib deps libxml2, zstd

MacPorts noreply at macports.org
Mon Apr 22 19:16:07 UTC 2024


#69802: castxml @0.6.5: now requires cxx 2017; missing lib deps libxml2, zstd
---------------------+----------------------
 Reporter:  mascguy  |      Owner:  stromnov
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.9.3
 Keywords:           |       Port:  castxml
---------------------+----------------------
 Version 0.6.5 of this port requires cxx 2017, per the buildbot logs for
 10.12/10.13. Specifically, header 'optional' is only available starting
 with the 2017 standard: https://en.cppreference.com/w/cpp/header/optional

 {{{
 /opt/local/libexec/llvm-18/include/llvm/ADT/STLForwardCompat.h:20:10:
 fatal error: 'optional' file not found
 #include <optional>
          ^~~~~~~~~~
 }}}

 https://ports.macports.org/port/castxml/details/

 Also, ports `libxml2` and `zstd` appear to be used, per the CMake
 configure output:

 {{{
 [...snip...]
 -- Found Terminfo: /opt/local/lib/libcurses.dylib
 -- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1")
 -- Found zstd: /opt/local/lib/libzstd.dylib
 -- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.12.6")
 }}}

 So those two ports should be added as lib deps.

-- 
Ticket URL: <https://trac.macports.org/ticket/69802>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list