[MacPorts] #40199: postgresql fails to build due to ossp-uuid conflicts with host APIs (was: PostgreSQL 9.2.4 fails to build)
MacPorts
noreply at macports.org
Tue Aug 20 15:16:07 PDT 2013
#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
More information about the macports-tickets
mailing list