#66689 closed defect (fixed)

postgresql13 @13.5: error: conflicting types for ‘DefineCollation’, ‘CollationCreate’

Reported by: bryancn Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: powerpc leopard Cc:
Port: postgresql13

Description (last modified by ryandesign (Ryan Carsten Schmidt))

port upgrade postgresql13

fails because the archive postgresql13-13.5_2.darwin_9.ppc.tbz2 is no longer available.

Was this the result of an explicit decision

I note that postgresql13-13.5_0 previously installed OK on 10.58 leopard ppc

Attachments (1)

main.log (386.4 KB) - added by bryancn 23 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 in reply to:  description Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: powerpc added; postgresql13 ppc removed
Owner: set to jyrkiwahlstedt
Status: newassigned

Archives have not been available for Darwin 9 for a long time, if at all. (There was a brief period of time, several years ago, when we had a Power Mac G5 doing such builds, but I don't know if this port ever built successfully back then.)

Archives not being available is not a problem. When an archive is not available, MacPorts builds from source on your system. If that fails, that's a problem; please attach the main.log file to show us how it failed.

Changed 23 months ago by bryancn

Attachment: main.log added

comment:2 Changed 23 months ago by bryancn

Apologies for the inaccuracy. Current info for this port is:

The following ports are currently installed:
  postgresql13 @13.2_0
  postgresql13 @13.3_0
  postgresql13 @13.5_0 (active)
  postgresql13-server @13.2_0
  postgresql13-server @13.3_0
  postgresql13-server @13.5_0 (active)

Log attached.

Last edited 23 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: Error: rev-upgrade failed: Error rebuilding postgresql13 on Leopard ppcpostgresql13 @13.5: error: conflicting types for ‘DefineCollation’, ‘CollationCreate’
Type: requestdefect
:info:build collationcmds.c:53: error: conflicting types for ‘DefineCollation’
:info:build ../../../src/include/commands/collationcmds.h:21: error: previous declaration of ‘DefineCollation’ was here
:info:build pg_collation.c:55: error: conflicting types for ‘CollationCreate’
:info:build ../../../src/include/catalog/pg_collation.h:70: error: previous declaration of ‘CollationCreate’ was here

comment:4 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Here's how the FreeBSD fixed the problem:

https://reviews.freebsd.org/differential/changeset/?ref=835480

The same fix may be needed in other postgresql ports as well.

Version 0, edited 23 months ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:5 Changed 14 months ago by dgilman (David Gilman)

Resolution: fixed
Status: assignedclosed

In bfbd57e500d63729bd89d599cfc23b3232abf387/macports-ports (master):

postgresql16: new port

Closes: #40501
Closes: #37929
Closes: #36511
Closes: #36128
Closes: #33145
Closes: #66529
Closes: #67638
Closes: #29752
Closes: #66689
Closes: #67203
Closes: #67713
Closes: #68119
Closes: #67339

Note: See TracTickets for help on using tickets.