[MacPorts] #35513: Postgresql 8.4.12 port build failure under Mountain Lion / XCode 4.4
MacPorts
noreply at macports.org
Fri Aug 3 04:54:49 PDT 2012
#35513: Postgresql 8.4.12 port build failure under Mountain Lion / XCode 4.4
------------------------------------------+---------------------------------
Reporter: philippe.lang@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port:
------------------------------------------+---------------------------------
sudo port upgrade postgresql84 postgresql84-server
---> Computing dependencies for 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
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
-----------------------------------------------------------------------------
:info:build /usr/bin/clang -no-cpp-precomp -pipe -O2 -arch x86_64 -Wall
-Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-I. -I../../src/include -I/opt/local/include -I/opt/local/include/ossp
-I/opt/local/include/libxml2 -I/opt/local/include -c -o uuid-ossp.o
uuid-ossp.c
:info:build clang: warning: argument unused during compilation: '-fexcess-
precision=standard'
: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
:info:build Command failed: cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql84/postgresql84/work/postgresql-8.4.12/contrib
/uuid-ossp/ && /usr/bin/gnumake
:info:build Exit code: 2
:error:build org.macports.build for port postgresql84 returned: command
execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
while executing
"$post $targetname"
:info:build Warning: targets not executed for postgresql84:
org.macports.install org.macports.build org.macports.destroot
:notice:build 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
--
Ticket URL: <https://trac.macports.org/ticket/35513>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list