[MacPorts] #71355: postgresql16 @16.4_1 does not build on PPC Tiger, Mac OS X 10.4.11, because of "Extraneous text after `else' directive"
MacPorts
noreply at macports.org
Fri Dec 13 12:31:43 UTC 2024
#71355: postgresql16 @16.4_1 does not build on PPC Tiger, Mac OS X 10.4.11, because
of "Extraneous text after `else' directive"
---------------------------+-----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.4
Resolution: | Keywords: tiger ppc
Port: postgresql16 |
---------------------------+-----------------------
Comment (by ballapete):
`PPC Mac OS X 10.5.8, Leopard` shows the same failure:
{{{
/usr/bin/gcc-4.2 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -pipe -Os -arch ppc
-I../../../../src/include -isystem/opt/local/include/LegacySupport
-I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include
-c -o fd.o fd.c
fd.c: In function ‘BasicOpenFilePerm’:
fd.c:1074: error: ‘O_DSYNC’ undeclared (first use in this function)
fd.c:1074: error: (Each undeclared identifier is reported only once
fd.c:1074: error: for each function it appears in.)
fd.c:1074: error: bit-field ‘static_assert_failure’ width not an integer
constant
gnumake[4]: *** [fd.o] Error 1
gnumake[4]: Leaving directory
`/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql16/postgresql16/work/postgresql-16.4/src/backend/storage/file'
}}}
Applying the same patches leads to the same failure:
{{{
Undefined symbols:
"_fdatasync", referenced from:
_pg_fdatasync in fd.o
ld: symbol(s) not found
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71355#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list