[MacPorts] #69200: poppler fails to build - missing charconv on 10.5 leopard

MacPorts noreply at macports.org
Thu Mar 7 00:40:40 UTC 2024


#69200: poppler fails to build - missing charconv on 10.5 leopard
-----------------------+-----------------------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  legacysupport,leopard
      Port:  poppler   |
-----------------------+-----------------------------------

Comment (by rmottola):

 Unfortunately, on 10.13 a gcc12 build is not enough:


 {{{
 Undefined symbols for architecture x86_64:
   "__ZNKSt3__14__fs10filesystem4path10__filenameEv", referenced from:
 __ZNSt3__14__fs10filesystem4path6appendINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEENS_9enable_ifIXsrNS1_13__is_pathableIT_XsrNS1_20__is_pathable_stringISC_vEE5valueEXsrNS1_24__is_pathable_char_arrayISC_NS_5decayISC_E4typeENS_12remove_constINS_14remove_pointerISI_E4typeEE4typeEXaasrNS_10is_pointerISI_EE5valuesrNS1_18__can_convert_charISO_EE5valueEEE5valueEXaantsrST_5valuesrNS1_18__is_pathable_iterISC_XsrNS_25__is_cpp17_input_iteratorISC_EE5valueEvEE5valueEEE5valueERS2_E4typeERKSC_
 in pdfdetach.cc.o
   "__ZNKSt3__14__fs10filesystem4path16lexically_normalEv", referenced
 from:
       _main in pdfdetach.cc.o
   "__ZNSt3__14__fs10filesystem14__current_pathEPNS_10error_codeE",
 referenced from:
       _main in pdfdetach.cc.o
 ld: symbol(s) not found for architecture x86_64
 collect2: error: ld returned 1 exit status
 }}}

 a gcc13 build instead fails with:


 {{{
 /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27:   required
 from here
 /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51:
 error: incomplete type 'std::__1::is_convertible<const long long int&,
 long long int>' used in nested name specifier
   257 |                is_convertible<const _Rep2&, rep>::value &&
       |
 }}}

 not very promising...

 A buildl with clang 11 yields lot of these warnings:

 {{{
 /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/utils/pdfdetach.cc:197:26:
 error: 'path' is unavailable: introduced in macOS 10.15
         std::filesystem::path basePath = savePath;
 }}}

 anyone did build popler < 101.15 ??

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


More information about the macports-tickets mailing list