Opened 12 years ago

Last modified 12 years ago

#35513 closed defect

Postgresql 8.4.12 port build failure under Mountain Lion / XCode 4.4 — at Initial Version

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

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.