Ticket #35513 (closed defect: duplicate)
Postgresql 8.4.12 port build failure under Mountain Lion / XCode 4.4
| Reported by: | philippe.lang@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | Cc: | ||
| Port: | postgresql84 |
Description (last modified by macsforever2000@…) (diff)
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
comment:1 in reply to: ↑ description Changed 10 months ago by philippe.lang@…
comment:2 Changed 10 months ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to duplicate
- Port set to postgresql84
- Description modified (diff)
In the future, please fill in the Port field, Cc the port maintainer(s) and use WikiFormatting.
Definitely a duplicate of #35153.
Note: See
TracTickets for help on using
tickets.


Replying to philippe.lang@…:
Sorry, this is a known problem, that can be corrected with:
https://trac.macports.org/ticket/35153#comment:10