Opened 8 years ago

Closed 7 years ago

#50290 closed defect (fixed)

postgresql95 @9.5.0 +universal configure phase fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: haspatch Cc: jyrkiwahlstedt, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: postgresql95

Description

Configuring postgresql95 @9.5.0 fails when the universal variant is used, but works without the universal variant.

Attachments (4)

main.log (30.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 8 years ago.
Portfile_95.diff (4.6 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 8 years ago.
Portfile_94.diff (3.6 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 8 years ago.
Portfile_84.diff (3.0 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 8 years ago.

Download all attachments as: .zip

Change History (12)

Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile_95.diff added

Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile_94.diff added

Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile_84.diff added

comment:1 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:2 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attached is a proposed solution for postgresql95.
Also attached is the same solution applied to postgresql94 and postgresql84.
Using the muniversal PortGroup frees the maintainer of the burden of manually patching header files.

comment:3 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Keywords: haspatch added

comment:4 Changed 8 years ago by jyrkiwahlstedt

Can't replicate with 9.5.1, do you see it still?

comment:5 in reply to:  2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mcalhoun@…:

Using the muniversal PortGroup frees the maintainer of the burden of manually patching header files.

Don't know that all that muniversal stuff is needed just yet...

Replying to jwa@…:

Can't replicate with 9.5.1, do you see it still?

Yes. The error is:

configure: WARNING: unrecognized options: --disable-dependency-tracking

comment:6 Changed 8 years ago by jyrkiwahlstedt

Well, that's a warning, not an error, so doesn't break anything… Of course, relatively easy to remove that, maybe in the next version, would that be ok? (I have treated configure warnings the same way as build time compilation warnings, haven't made an effort to fix them)

comment:7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Oh, you're right, the real error is:

sh: /Users/rschmidt/macports/dports/databases/postgresql95/files/pg95_config.h.ed: No such file or directory

There is a pg_config.h.ed in the files directory.

comment:8 Changed 7 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

The port has been working ok quite a while, have forgotten to close the ticket, so will do now…

Note: See TracTickets for help on using tickets.