[MacPorts] #74271: gawk @5.4.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of incorrectly placed pragmas
MacPorts
noreply at macports.org
Fri Jul 31 14:45:17 UTC 2026
#74271: gawk @5.4.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of
incorrectly placed pragmas
-------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: ppc Leopard | Port: gawk
-------------------------+--------------------
{{{
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99
-DHAVE_CONFIG_H -I. -I./.. -isystem/opt/local/include/LegacySupport
-I/opt/local/include -pipe -Os -arch ppc -Wall -MT readdir.lo -MD -MP -MF
.deps/readdir.Tpo -c -o readdir.lo readdir.c
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I./..
-isystem/opt/local/include/LegacySupport -I/opt/local/include -pipe -Os
-arch ppc -Wall -MT readdir.lo -MD -MP -MF .deps/readdir.Tpo -c readdir.c
-fno-common -DPIC -o .libs/readdir.o
readdir.c: In function 'dir_get_record':
readdir.c:223: error: #pragma GCC diagnostic not allowed inside functions
readdir.c:224: error: #pragma GCC diagnostic not allowed inside functions
readdir.c:232: error: #pragma GCC diagnostic not allowed inside functions
readdir.c: In function 'dir_take_control_of':
readdir.c:309: error: #pragma GCC diagnostic not allowed inside functions
readdir.c:310: error: #pragma GCC diagnostic not allowed inside functions
readdir.c:314: error: #pragma GCC diagnostic not allowed inside functions
make[4]: *** [readdir.lo] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/gawk-
c5cba901/work/gawk-5.4.1/extension'
make[3]: *** [all-recursive] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74271>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list