[MacPorts] #74043: texlive-bin @2025.74524_1 does not rebuild on PPC Leopard, Mac OS X 10.5.8, because TeX Live sources redefine getopt() and getenv() and in pTeX a variable is named "bool"!

MacPorts noreply at macports.org
Wed May 27 21:05:17 UTC 2026


#74043: texlive-bin @2025.74524_1 does not rebuild on PPC Leopard, Mac OS X 10.5.8,
because TeX Live sources redefine getopt() and getenv() and in pTeX a
variable is named "bool"!
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.12.5
Resolution:               |   Keywords:  ppc leopard
      Port:  texlive-bin  |
--------------------------+-------------------------

Comment (by ballapete):

 Martin Gieseking sent an explanation for the failures related to the
 `bool` variable name:

 {{{
 As of C23 (which is the default in GCC 15), "bool" is a keyword and thus
 can no longer be used as an identifier. Therefore, you should call GCC
 with -std=c17, e.g. by adding it to CFLAGS, to ensure that the code is
 compiled against a compatible C standard. Alternatively, compile with a
 GCC version < 15.
 }}}

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


More information about the macports-tickets mailing list