[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 18:39:46 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):
Or it has become it cancer: after adding --disable-ptex-synctex --disable-
uptex-synctex --disable-euptex --disable-euptex-synctex to the configure
arguments I got:
{{{
/opt/local/bin/gcc-mp-15 -DHAVE_CONFIG_H -I.
-I/opt/local/var/macports/build/texlive-bin-9d7eb26d/work/texlive-
source-2025.74524-stripped/texk/web2c -I./w2c
-I/opt/local/var/macports/build/texlive-bin-9d7eb26d/work/build/texk
-I/opt/local/var/macports/build/texlive-bin-9d7eb26d/work/texlive-
source-2025.74524-stripped/texk -I/opt/local/include/libpng16
-DPDF_PARSER_ONLY -I/opt/local/var/macports/build/texlive-bin-
9d7eb26d/work/build/libs/xpdf -I/opt/local/var/macports/build/texlive-bin-
9d7eb26d/work/build/libs/xpdf/goo -I/opt/local/var/macports/build/texlive-
bin-9d7eb26d/work/build/libs/xpdf/xpdf -I/opt/local/var/macports/build
/texlive-bin-9d7eb26d/work/texlive-
source-2025.74524-stripped/texk/web2c/libmd5
-I/opt/local/var/macports/build/texlive-bin-9d7eb26d/work/texlive-
source-2025.74524-stripped/texk/web2c/pdftexdir
-I/opt/local/var/macports/build/texlive-bin-9d7eb26d/work/texlive-
source-2025.74524-stripped/texk/web2c/synctexdir -D__SyncTeX__
-DSYNCTEX_ENGINE_H=\"synctex-pdftex.h\"
-isystem/opt/local/include/LegacySupport -isystem/opt/local/include
-Wimplicit -Wreturn-type -pipe -Os -arch ppc -MT pdftex-pdftex0.o -MD -MP
-MF .deps/pdftex-pdftex0.Tpo -c -o pdftex-pdftex0.o `test -f 'pdftex0.c'
|| echo '/opt/local/var/macports/build/texlive-bin-9d7eb26d/work/texlive-
source-2025.74524-stripped/texk/web2c/'`pdftex0.c
pdftex0.c: In function 'convtoks':
pdftex0.c:13660:11: error: two or more data types in declaration
specifiers
13660 | boolean bool ;
| ^~~~
pdftex0.c:13660:3: warning: useless type name in empty declaration
13660 | boolean bool ;
| ^~~~~~~
pdftex0.c:13940:12: error: expected identifier or '(' before '=' token
13940 | bool = scankeyword ( 890 ) ;
| ^
pdftex0.c:13948:23: error: expected expression before 'bool'
13948 | getmd5sum ( s , bool ) ;
| ^~~~
pdftex0.c:14041:12: error: expected identifier or '(' before '=' token
14041 | bool = scankeyword ( 897 ) ;
| ^
pdftex0.c:14058:34: error: expected expression before 'bool'
14058 | matchstrings ( s , t , i , bool ) ;
| ^~~~
pdftex0.c:14119:12: error: expected identifier or '(' before '=' token
14119 | bool = scankeyword ( 901 ) ;
| ^
pdftex0.c:14136:45: error: expected expression before 'bool'
14136 | curval = newcolorstack ( s , curval , bool ) ;
| ^~~~
make[5]: *** [pdftex-pdftex0.o] Error 1
make[5]: Leaving directory `/opt/local/var/macports/build/texlive-bin-
9d7eb26d/work/build/texk/web2c'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74043#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list