Date: Sun, 8 Mar 2009 08:11:00 GMT From: Andrew Gierth <andrew@tao11.riddles.org.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132402: databases/postgresql83-server incorrect handling of config options Message-ID: <200903080811.n288B0fO041363@www.freebsd.org> Resent-Message-ID: <200903080820.n288K2ku040021@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132402 >Category: ports >Synopsis: databases/postgresql83-server incorrect handling of config options >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 08 08:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrew Gierth >Release: 7.1-STABLE >Organization: none >Environment: FreeBSD redacted.example.org 7.1-STABLE FreeBSD 7.1-STABLE #1: Mon Mar 2 00:57:20 UTC 2009 root@redacted.example.org:/home/FreeBSD/obj/host-amd64/home/FreeBSD/src/sys/REDACTED amd64 >Description: The postgresql83-client and -server ports, and the postgresql-contrib port, build from the same source tree, but with potentially different configuration options, since server-only options are not set in the client or contrib port. However, the pg_config and pgxs files are installed from the _client_ port, not the server one, despite the fact that the pgxs makefiles are used only to build server extensions. So the installed pgxs files don't exactly match the installed server, and pg_config can't be used to recover the configure args used to build the server. Likewise, building postgresql-contrib is also ignoring the configure args used to build the server, even though it's installing mostly server-side modules. One side effect of this is that contrib/xml2 is not built even if the server was built with the XML option; another is that contrib modules aren't built with the correct value for --enable-integer-datetimes. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903080811.n288B0fO041363>