[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 17:05:44 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):

 The splendid "Gentoo patch" is attached and can be found here:
 https://952902.bugs.gentoo.org/attachment.cgi?id=937519.

 Possibly there is a problem with the patch files for `texlive-bin
 @2025.74524_1`:

 {{{
 leopard pete 234 /\  l -t /Volumes/BSD-Linux/MacPorts-Ports/tex/texlive-
 bin/files
 insgesamt 68
 -rw-r--r-- 1 root wheel 2178 27. Mai 13:13 Patch-texlive-bin-Gentoo.diff
 -rw-r--r-- 1 root wheel  511 27. Mai 11:17 patch-
 texk_kpathsea_getopt.h-getopt.diff
 -rw-r--r-- 1 root wheel  371 26. Mai 09:59 patch-
 libs_luajit_configure.diff
 -rw-r--r-- 1 root wheel    0 26. Mai 09:59 patch-r74657-74661-74678.diff
 -rw-r--r-- 1 root wheel  718 26. Mai 09:59 patch-r74687.diff
 -rw-r--r-- 1 root wheel 1531 26. Mai 09:59 patch-
 texk_chktex_Makefile.in.diff
 -rw-r--r-- 1 root wheel 1950 26. Mai 09:59 patch-
 texk_kpathsea_Makefile.in.diff
 -rw-r--r-- 1 root wheel 1621 26. Mai 09:59 patch-
 texk_tex4htk_Makefile.in.diff
 -rw-r--r-- 1 root wheel 2654 26. Mai 09:59 patch-
 texk_texlive_linked_scripts_Makefile.in.diff
 -rw-r--r-- 1 root wheel  332 26. Mai 09:59 patch-texk_web2c_configure.diff
 -rw-r--r-- 1 root wheel 1607 26. Mai 09:59 patch-
 utils_texdoctk_Makefile.in.diff
 -rw-r--r-- 1 pete admin  650 26. Apr 19:06 patch-
 texk_web2c_luatexdir_luazlib_lzlib.c.diff
 -rw-r--r-- 1 pete admin  266 26. Apr 19:06 patch-texk_xdvik_xdvi-
 sh.in.diff
 -rw-r--r-- 1 root wheel 4962  4. Apr 13:03 patch-r78399.diff
 -rw-r--r-- 1 root wheel  392  6. Jun 2025  Description.rtf
 -rw-r--r-- 1 root wheel 6942  6. Jun 2025  texk_kpathsea_paths.h
 }}}

 The recent port `texlive-bin @2026.78235_4` uses these:

 {{{
 -rw-r--r--  1 pete  wheel  1607  2 Apr 10:56 patch-
 utils_texdoctk_Makefile.in.diff
 -rw-r--r--  1 pete  wheel   332  2 Apr 10:56 patch-
 texk_web2c_configure.diff
 -rw-r--r--  1 pete  wheel  2654  2 Apr 10:56 patch-
 texk_texlive_linked_scripts_Makefile.in.diff
 -rw-r--r--  1 pete  wheel  1611  2 Apr 10:56 patch-
 texk_tex4htk_Makefile.in.diff
 -rw-r--r--  1 pete  wheel  1950  2 Apr 10:56 patch-
 texk_kpathsea_Makefile.in.diff
 -rw-r--r--  1 pete  wheel  1531  2 Apr 10:56 patch-
 texk_chktex_Makefile.in.diff
 -rw-r--r--  1 pete  wheel  4962  2 Apr 10:56 patch-r78399.diff
 -rw-r--r--  1 pete  wheel   346  2 Apr 10:56 patch-
 libs_luajit_configure.diff
 -rw-r--r--  1 pete  wheel  6942 19 Jul  2025 texk_kpathsea_paths.h
 -rw-r--r--  1 pete  wheel   266 19 Jul  2025 patch-texk_xdvik_xdvi-
 sh.in.diff
 -rw-r--r--  1 pete  wheel   650 19 Jul  2025 patch-
 texk_web2c_luatexdir_luazlib_lzlib.c.diff
 -rw-r--r--  1 pete  wheel   392 19 Jul  2025 Description.rtf
 }}}

 So possibly the `bool` problem is already solved…

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


More information about the macports-tickets mailing list