[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
Tue Nov 19 12:57:37 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):

 But it fails:

 {{{
 gmake[4]: Entering directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql16/postgresql16/work/postgresql-16.4/src/backend/storage/file'
 /opt/local/bin/gcc-apple-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 buffile.o
 buffile.c
 /opt/local/bin/gcc-apple-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 copydir.o
 copydir.c
 /opt/local/bin/gcc-apple-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
 gmake[4]: *** [<builtin>: fd.o] Error 1
 gmake[4]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql16/postgresql16/work/postgresql-16.4/src/backend/storage/file'
 }}}

 'O_DSYNC' is unknown to Tiger not yet implemented in legacy…

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


More information about the macports-tickets mailing list