[MacPorts] #74045: expat @2.8.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of error: 'O_CLOEXEC' undeclared (first use in this function)
MacPorts
noreply at macports.org
Thu May 28 16:38:25 UTC 2026
#74045: expat @2.8.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of
error: 'O_CLOEXEC' undeclared (first use in this function)
-------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: ppc leopard | Port: expat
-------------------------+--------------------
{{{
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -Wall -Wextra -fexceptions
-Wstrict-aliasing=3 -Wmissing-prototypes -Wstrict-prototypes -pedantic
-Wshadow -Wformat=2 -pipe -Os -arch ppc -MT random_dev_urandom.lo -MD -MP
-MF .deps/random_dev_urandom.Tpo -c -o random_dev_urandom.lo
random_dev_urandom.c
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -Wall -Wextra -fexceptions -Wstrict-aliasing=3
-Wmissing-prototypes -Wstrict-prototypes -pedantic -Wshadow -Wformat=2
-pipe -Os -arch ppc -MT random_dev_urandom.lo -MD -MP -MF
.deps/random_dev_urandom.Tpo -c random_dev_urandom.c -fno-common -DPIC -o
.libs/random_dev_urandom.o
random_dev_urandom.c: In function 'writeRandomBytes_dev_urandom':
random_dev_urandom.c:50: error: 'O_CLOEXEC' undeclared (first use in this
function)
random_dev_urandom.c:50: error: (Each undeclared identifier is reported
only once
random_dev_urandom.c:50: error: for each function it appears in.)
make[2]: *** [random_dev_urandom.lo] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/expat-
e9b9624d/work/expat-2.8.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/expat-
e9b9624d/work/expat-2.8.1'
make: *** [all] Error 2
}}}
LegacySupport should have it…
--
Ticket URL: <https://trac.macports.org/ticket/74045>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list