Opened 7 months ago

Closed 7 months ago

#69802 closed defect (fixed)

castxml @0.6.5: now requires cxx 2017; missing lib deps libxml2, zstd

Reported by: mascguy (Christopher Nielsen) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: castxml

Description

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.

Change History (3)

comment:1 Changed 7 months ago by mascguy (Christopher Nielsen)

comment:2 Changed 7 months ago by Christopher Nielsen <mascguy@…>

comment:3 Changed 7 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In 178ff64c4ba9e478f1689dfe47944872e175463e/macports-ports (master):

castxml: add missing deps

Fixes: #69802

Note: See TracTickets for help on using tickets.