[MacPorts] #69455: poppler @24.03.0: build failure on macOS 10.14 and earlier due to use of std::filesystem
MacPorts
noreply at macports.org
Fri Mar 15 18:00:38 UTC 2024
#69455: poppler @24.03.0: build failure on macOS 10.14 and earlier due to use of
std::filesystem
-------------------------+-------------------------------------------------
Reporter: lukaso | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger leopard snowleopard lion
| mountainlion mavericks yosemite elcapitan
Port: poppler | sierra highsierra mojave
-------------------------+-------------------------------------------------
Comment (by erikbs):
Replying to [comment:25 thetrial]:
> But I did not understand the macports-libcxx linking thing?
Putting that statement in the Portfile makes MacPorts insert a few
compile/link options so that Clang links against
`/opt/local/lib/libcxx/libc++.dylib` (updated libc++ provided through
MacPorts) instead of `/usr/lib/libc++.dylib` (provided by the OS, will be
whatever version came with the OS). Compiling with Clang 16/17 is in
itself not enough, because, like older Clang versions, these newer
versions will also link against the libc++ version in /usr/lib by default,
and it lacks std::filesystem support on 10.14 and older.
--
Ticket URL: <https://trac.macports.org/ticket/69455#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list