[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
Thu Mar 14 23:31:34 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):

 My fix proposal: https://github.com/macports/macports-ports/pull/23035

 Poppler builds just fine (and works) when I compile with Clang 16 (chosen
 automatically because Clang 3.5 is blacklisted) and link against macports-
 libcxx on OS X 10.9.

 I do not see any reason to turn to third-party implementations of standard
 library functionality when macports-libcxx seems to fix the problem? The
 port already links the legacy-support library, so I assume that one extra
 line in the Portfile (`legacysupport.use_mp_libcxx yes`) is better than
 patching the source code to use another filesystem library?

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


More information about the macports-tickets mailing list