Opened 12 years ago

Closed 12 years ago

#35442 closed defect (duplicate)

postgresql84 @8.4.12 command execution failed

Reported by: scott@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: postgresql84

Description

Mountain Lion 10.8 (upgrade from 10.7), Xcode 4.4, MacPorts 2.1.2

computer:~ username$ sudo port install postgresql84
--->  Computing dependencies for postgresql84
--->  Fetching archive for postgresql84
--->  Attempting to fetch postgresql84-8.4.12_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/postgresql84
--->  Fetching distfiles for postgresql84
--->  Verifying checksum(s) for postgresql84
--->  Extracting postgresql84
--->  Applying patches to postgresql84
--->  Configuring postgresql84
--->  Building postgresql84
Error: org.macports.build for port postgresql84 returned: command execution failed
Please see the log file for port postgresql84 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql84/postgresql84/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port postgresql84 failed

main.log shows:

: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/unistd.h:689:26: error: expected identifier
:info:build int      gethostuuid(uuid_t, const struct timespec *) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
:info:build                              ^
: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                        ^
:info:build /usr/include/uuid/uuid.h:42:25: note: previous definition is here
:info:build typedef __darwin_uuid_t uuid_t;
:info:build                         ^
: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                      ^
:info:build /usr/include/uuid/uuid.h:59:5: note: previous declaration is here
:info:build int uuid_compare(const uuid_t uu1, const uuid_t uu2);
:info:build     ^
:info:build 3 errors generated.
:info:build gnumake: *** [uuid-ossp.o] Error 1

Change History (3)

comment:1 Changed 12 years ago by scott@…

A little more searching... It seems this is most likely the same problem as #35153.

comment:2 Changed 12 years ago by scott@…

Confirmed solution is comment:ticket:35153:10

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.