[MacPorts] #67365: postgresql15 fails to build on 10.6.8: error: conflicting types for ‘DefineCollation’

MacPorts noreply at macports.org
Wed May 3 04:48:56 UTC 2023


#67365: postgresql15 fails to build on 10.6.8: error: conflicting types for
‘DefineCollation’
-------------------------------------------+--------------------------
 Reporter:  barracuda156                   |      Owner:  (none)
     Type:  defect                         |     Status:  new
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.1
 Keywords:  snowleopard, powerpc, rosetta  |       Port:  postgresql15
-------------------------------------------+--------------------------
 {{{
 :info:build ( echo src/backend/lib/binaryheap.o
 src/backend/lib/bipartite_match.o src/backend/lib/bloomfilter.o
 src/backend/lib/dshash.o src/backend/lib/hyperloglog.o
 src/backend/lib/ilist.o src/backend/lib/integerset.o
 src/backend/lib/knapsack.o src/backend/lib/pairingheap.o
 src/backend/lib/rbtree.o ) >objfiles.txt
 :info:build gnumake[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgresql15/postgresql15/work/postgresql-15.1/src/backend/lib'
 :info:build /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. -I. -I../../../src/include  -I/opt/local/include
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o parse_agg.o
 parse_agg.c
 :info:build /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
 :info:build collationcmds.c:54: error: conflicting types for
 ‘DefineCollation’
 :info:build ../../../src/include/commands/collationcmds.h:21: error:
 previous declaration of ‘DefineCollation’ was here
 :info:build collationcmds.c: In function ‘AlterCollation’:
 :info:build collationcmds.c:406: warning: passing argument 4 of
 ‘heap_modify_tuple’ from incompatible pointer type
 :info:build collationcmds.c:406: warning: passing argument 5 of
 ‘heap_modify_tuple’ from incompatible pointer type
 :info:build gnumake[3]: *** [collationcmds.o] Error 1
 :info:build gnumake[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgresql15/postgresql15/work/postgresql-15.1/src/backend/commands'
 :info:build gnumake[2]: *** [commands-recursive] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67365>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list