[MacPorts] #33300: error: conflicting types for ‘uuid_t’
MacPorts
noreply at macports.org
Sun Feb 19 10:45:53 PST 2012
#33300: error: conflicting types for ‘uuid_t’
--------------------------------------+-------------------------------------
Reporter: cornelius.howl@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port:
--------------------------------------+-------------------------------------
{{{
ccache /usr/bin/llvm-gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-
prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-Wformat-security -fno-strict-aliasing -fwrapv -I. -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
In file included from /opt/local/include/ossp/uuid.h:38,
from uuid-ossp.c:24:
/usr/include/unistd.h:699: error: expected ‘)’ before ‘const’
/usr/include/unistd.h:702: error: expected declaration specifiers or ‘...’
before ‘__vendor_uuid_t’
/usr/include/unistd.h:704: error: expected declaration specifiers or ‘...’
before ‘__vendor_uuid_t’
In file included from uuid-ossp.c:24:
/opt/local/include/ossp/uuid.h:94: error: conflicting types for ‘uuid_t’
/usr/include/uuid/uuid.h:42: error: previous declaration of ‘uuid_t’ was
here
/opt/local/include/ossp/uuid.h:107: error: conflicting types for
‘uuid_compare’
/usr/include/uuid/uuid.h:59: error: previous declaration of ‘uuid_compare’
was here
gnumake: *** [uuid-ossp.o] Error 1
shell command "cd
/opt/local/var/macports/build/_Users_c9s_mports_dports_databases_postgresql91/postgresql91/work/postgresql-9.1.2/contrib
/uuid-ossp/ && /usr/bin/gnumake" returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
Warning: the following items did not execute (for postgresql91):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Failed to install postgresql91
Log for postgresql91 is at:
/opt/local/var/macports/logs/_Users_c9s_mports_dports_databases_postgresql91/postgresql91/main.log
Error: The following dependencies were not installed: postgresql91
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/33300>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list