[MacPorts] #40199: PostgreSQL 9.2.4 fails to build
#40199: PostgreSQL 9.2.4 fails to build ------------------------+--------------------------------- Reporter: conradwt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Keywords: mavericks | Port: postgresql92-server ------------------------+--------------------------------- PostgreSQL 9.2.4 fails to build using Xcode 5 DP 5. Please see the attached main.log -- Ticket URL: <https://trac.macports.org/ticket/40199> MacPorts <http://www.macports.org/> Ports system for OS X
#40199: PostgreSQL 9.2.4 fails to build ----------------------------------+-------------------------------- Reporter: conradwt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: mavericks Port: postgresql92-server | ----------------------------------+-------------------------------- Comment (by conradwt@…): The port which failed to build is '''postgresql92''' port. Next, I initiated the installation process by doing the following: {{{ sudo port install postgresql92-server }}} -- Ticket URL: <https://trac.macports.org/ticket/40199#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40199: postgresql fails to build due to ossp-uuid conflicts with host APIs -------------------------------------------------+------------------------- Reporter: conradwt@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.99 Port: ossp-uuid postgresql92 | Keywords: mavericks postgresql93 | -------------------------------------------------+------------------------- Changes (by jeremyhu@…): * port: postgresql92-server => ossp-uuid postgresql92 postgresql93 Comment: {{{ :info:build In file included from uuid-ossp.c:24: :info:build In file included from /opt/local/include/ossp/uuid.h:38: :info:build /usr/include/gethostuuid.h:39:25: error: expected identifier :info:build int gethostuuid(uuid_t, const struct timespec *) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_NA); :info:build In file included from uuid-ossp.c:24: :info:build /opt/local/include/ossp/uuid.h:94:24: error: typedef redefinition with different types ('struct uuid_st' vs '__darwin_uuid_t' (aka 'unsigned char [16]')) :info:build typedef struct uuid_st uuid_t; :info:build /usr/include/sys/_types/_uuid_t.h:30:25: note: previous definition is here :info:build typedef __darwin_uuid_t uuid_t; :info:build In file included from uuid-ossp.c:24: :info:build /opt/local/include/ossp/uuid.h:107:22: error: conflicting types for 'uuid_compare' :info:build extern uuid_rc_t uuid_compare (const uuid_t *_uuid, const uuid_t *_uuid2, int *_result); :info:build /usr/include/uuid/uuid.h:55:5: note: previous declaration is here :info:build int uuid_compare(const uuid_t uu1, const uuid_t uu2); :info:build gnumake: *** [uuid-ossp.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/40199#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40199: postgresql fails to build due to ossp-uuid conflicts with host APIs -------------------------------------------------+------------------------- Reporter: conradwt@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.99 Port: ossp-uuid postgresql92 | Keywords: postgresql93 | -------------------------------------------------+------------------------- Changes (by jeremyhu@…): * keywords: mavericks => -- Ticket URL: <https://trac.macports.org/ticket/40199#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40199: postgresql fails to build due to ossp-uuid conflicts with host APIs -------------------------------------------------+------------------------- Reporter: conradwt@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.99 Port: ossp-uuid postgresql92 | Keywords: postgresql93 | -------------------------------------------------+------------------------- Comment (by cornelius.howl@…): Here is the workable patch for you: {{{ diff --git a/dports/databases/postgresql92/Portfile b/dports/databases/postgresql92/Portfile index 2bb54e3..56e528e 100644 --- a/dports/databases/postgresql92/Portfile +++ b/dports/databases/postgresql92/Portfile @@ -90,6 +90,10 @@ platform darwin 12 { patchfiles-append postgresql-uuid-ossp.patch } +platform darwin 13 { + patchfiles-append postgresql-uuid-ossp.patch +} + set contribs "adminpack auto_explain dblink file_fdw fuzzystrmatch hstore lo ltree oid2name pageinspect pg_archivecleanup pg_buffercache pg_freespacemap pg_standby pg post-build { }}} -- Ticket URL: <https://trac.macports.org/ticket/40199#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40199: postgresql fails to build due to ossp-uuid conflicts with host APIs -------------------------------------------------+------------------------- Reporter: conradwt@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: fixed | Version: 2.2.99 Port: ossp-uuid postgresql92 | Keywords: postgresql93 | -------------------------------------------------+------------------------- Changes (by jwa@…): * status: new => closed * resolution: => fixed Comment: done in r112447 for all supported versions (not 8.3, being EOL'd already) -- Ticket URL: <https://trac.macports.org/ticket/40199#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts