[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
Sat Mar 9 11:54:43 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 rmottola):

 on 10.13 High Sierra I tried building with GCC 13.
 I attach the build log.

 It appears to fail here, on a convertible thing, different from filesystem

 {{{
 :info:build In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/common_reference.h:16,
 :info:build                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:434,
 :info:build                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/algorithm:1710,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-24.03.0/goo/GooString.cc:42:
 :info:build
 /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:71:8:
 error: expected identifier before '__is_convertible'
 :info:build    71 | struct __is_convertible
 :info:build       |        ^~~~~~~~~~~~~~~~
 :info:build
 /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:71:8:
 error: expected unqualified-id before '__is_convertible'
 :info:build
 /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:77:40:
 error: expected identifier before '__is_convertible'
 :info:build    77 | template <class _T1, class _T2> struct
 __is_convertible<_T1, _T2, 0, 1> : public false_type {};
 :info:build       |
 ^~~~~~~~~~~~~~~~
 :
 }}}

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


More information about the macports-tickets mailing list