[MacPorts] #71793: postgresql12 @12.22_1 does not build on PPC Leopard, Mac OS X 10.5.8, because of conflicting types

MacPorts noreply at macports.org
Mon Apr 14 01:08:55 UTC 2025


#71793: postgresql12 @12.22_1 does not build on PPC Leopard, Mac OS X 10.5.8,
because of conflicting types
---------------------------+-------------------------
  Reporter:  ballapete     |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:  leopard ppc
      Port:  postgresql12  |
---------------------------+-------------------------

Comment (by barracuda156):

 As is, the port also fails on 10.6.8 when built for ppc:
 {{{
 /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  -I/opt/local/include -I/opt/local/include/libxml2
 -I/opt/local/include  -c -o collationcmds.o collationcmds.c
 /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  -I/opt/local/include
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o ginxlog.o
 ginxlog.c
 /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  -I/opt/local/include
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o reloptions.o
 reloptions.c
 collationcmds.c:52: error: conflicting types for ‘DefineCollation’
 ../../../src/include/commands/collationcmds.h:21: error: previous
 declaration of ‘DefineCollation’ was here
 collationcmds.c: In function ‘AlterCollation’:
 collationcmds.c:353: warning: passing argument 4 of ‘heap_modify_tuple’
 from incompatible pointer type
 collationcmds.c:353: warning: passing argument 5 of ‘heap_modify_tuple’
 from incompatible pointer type
 gnumake[3]: *** [collationcmds.o] Error 1
 gnumake[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgresql12/postgresql12/work/postgresql-12.22/src/backend/commands'
 gnumake[2]: *** [commands-recursive] Error 2
 gnumake[2]: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list