[MacPorts] #33300: error: conflicting types for ‘uuid_t’
#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
#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: --------------------------------------+------------------------------------- Comment(by cornelius.howl@…): BTW, Mac OS - Mountain Lion, with XCode 4.4 -- Ticket URL: <https://trac.macports.org/ticket/33300#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33300: postgresql91: error: conflicting types for ‘uuid_t’ --------------------------------------+------------------------------------- Reporter: cornelius.howl@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: mountainlion | Port: postgresql91 --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: jwa@… (added) * keywords: => mountainlion * port: => postgresql91 * owner: macports-tickets@… => mww@… Comment: Attach the main.log file. However, we probably cannot help you with pre- release versions of OS X or Xcode, and it may contravene your non- disclosure agreements to discuss them here. -- Ticket URL: <https://trac.macports.org/ticket/33300#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33300: postgresql91: error: conflicting types for ‘uuid_t’ ---------------------------------------+------------------------------------ Reporter: cornelius.howl@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: wontfix | Keywords: mountainlion Port: postgresql91 | ---------------------------------------+------------------------------------ Changes (by vince@…): * status: new => closed * resolution: => wontfix Comment: Fix : add this line {{{ #define POSIX_C_SOURCE }}} at the beginning of the ${worksrcpath}/contrib/ossd-uuid/ossd-uuid.c file. -- Ticket URL: <https://trac.macports.org/ticket/33300#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33300: postgresql91: error: conflicting types for ‘uuid_t’ ---------------------------------------+------------------------------------ Reporter: cornelius.howl@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: mountainlion Port: postgresql91 | ---------------------------------------+------------------------------------ Changes (by Ruslan.Zakirov@…): * status: closed => reopened * resolution: wontfix => Comment: Now mountain lion is out and problem is there. I see "conflicting types" issue with apple's default clang compiler. If I add mentioned line then which commands and from which location should I run to continue compilation or start a new compilation with modified source? -- Ticket URL: <https://trac.macports.org/ticket/33300#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33300: postgresql91: error: conflicting types for ‘uuid_t’ ---------------------------------------+------------------------------------ Reporter: cornelius.howl@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: mountainlion Port: postgresql91 | ---------------------------------------+------------------------------------ Changes (by vince@…): * status: reopened => closed * resolution: => duplicate Comment: Dup of #35153. -- Ticket URL: <https://trac.macports.org/ticket/33300#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts