[MacPorts] #74389: podofo @1.1.1 does not build on macOS High Sierra, Version 10.13.6, because of: error: 'to_chars' is unavailable: introduced in macOS 13.3

MacPorts noreply at macports.org
Wed Sep 9 15:17:00 UTC 2026


#74389: podofo @1.1.1 does not build on macOS High Sierra, Version 10.13.6, because
of: error: 'to_chars' is unavailable: introduced in macOS 13.3
------------------------+------------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.12.6
Resolution:             |   Keywords:  highsierra
      Port:  podofo     |
------------------------+------------------------

Comment (by ballapete):

 Replying to [comment:1 tomio-arisaka]:
 > > error: 'to_chars' is unavailable: introduced in macOS 13.3
 >
 > You know we need to use a later {{{c++}}} and {{{libc++}}} in order to
 build {{{podofo}}} on macOS 10.13. (e.g. {{{clang-17}}} and its
 {{{libc++}}})

 `Clang 17` was used to build `podofo`. And I have also installed `Clang
 19`.

 > On the other hand, it is easy to use {{{gcc}}}.
 > For example, the following command can build {{{podofo}}} with
 {{{gcc}}}:
 >
 >
 >
 > {{{
 > sudo port install podofo configure.compiler=macports-gcc-15
 configure.cxx_stdlib=macports-libstdc++
 > }}}

 This produces some kind of "side effects":

 {{{
 port -vs build podofo configure.compiler=macports-gcc-15
 configure.cxx_stdlib=macports-libstdc++
 --->  Upgrading already installed dependencies of podofo
 The following ports will be upgraded:
  gmp
  icu
  ncurses
  cmake
  lerc
  tiff
  lua
 Continue? [Y/n]:
 Compilation exited abnormally with code 1 at Wed Sep  9 17:00:08
 }}}

 IMO there is **no** port that needs an upgrade:

 {{{
 pete 647 /\ port outdated | egrep 'gmp|icu|ncurses|cmake|lerc|tiff|lua'
 pete 648 /\ port installed -v | egrep
 'gmp|icu|ncurses|cmake|lerc|tiff|lua'
   cmake @3.31.12_0              (active)        requested_variants=''
 platform='darwin 17'    archs='x86_64'  date='2026-04-30T11:48:29+0200'
   gmp @6.3.0_0+native           (active)
 requested_variants='+native'    platform='darwin 17'    archs='x86_64'
 date='2025-02-22T11:59:04+0100'
   harfbuzz-icu @14.4.0_0        (active)        requested_variants=''
 platform='darwin 17'    archs='x86_64'  date='2026-09-09T16:57:00+0200'
   icu @78.3_1                   (active)        requested_variants=''
 platform='darwin 17'    archs='x86_64'  date='2026-04-22T14:26:45+0200'
   lerc @4.2.0_0                 (active)        requested_variants=''
 platform='darwin 17'    archs='x86_64'  date='2026-09-09T16:26:22+0200'
   lua @5.3.6_3                  (active)        requested_variants=''
 platform='darwin 17'    archs='x86_64'  date='2023-08-04T10:51:39+0200'
   ncurses @6.6_0                (active)        requested_variants=''
 platform='darwin 17'    archs='x86_64'  date='2026-01-22T12:01:48+0100'
   tiff @4.7.2_0+jbig            (active)        requested_variants='+jbig'
 platform='darwin 17'    archs='x86_64'  date='2026-08-07T09:40:44+0200'
 }}}

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


More information about the macports-tickets mailing list