RPM Community Forums

Mailing List Message of <rpm-devel>

uuid-1.6.0 still a bit grumpy on Mac OS X

From: Anders F Björklund <afb@rpm5.org>
Date: Tue 04 Mar 2008 - 13:05:20 CET
Message-Id: <F8918625-9FCD-443F-A166-A2D189D3F13F@rpm5.org>
When building with the local static OSSP uuid (standalone/macosx):

checking uuid.h usability... no
checking uuid.h presence... yes
configure: WARNING: uuid.h: present but cannot be compiled
configure: WARNING: uuid.h:     check for missing prerequisite headers?
configure: WARNING: uuid.h: see the Autoconf documentation
configure: WARNING: uuid.h:     section "Present But Cannot Be Compiled"
configure: WARNING: uuid.h: proceeding with the preprocessor's result
configure: WARNING: uuid.h: in the future, the compiler will take  
precedence
configure: WARNING:     ## --------------------------------- ##
configure: WARNING:     ## Report this to rpm-devel@rpm5.org ##
configure: WARNING:     ## --------------------------------- ##
checking for uuid.h... yes
checking for uuid_import in -lossp-uuid... no
checking for uuid_import in -luuid... yes

This unusability is due to the conflict with the system headers:

../3rd/bin/ix86-macosx10.4/uuid-1.6.0/uuid.h:94: error: conflicting  
types for 'uuid_t'
/usr/include/unistd.h:121: error: previous declaration of 'uuid_t'  
was here


It occurs when system headers have already been included before,
such as when running the default "confdefs" from configure:

| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <uuid.h>

This should probably be taken care of upstream (in OSSP uuid),
just thought I'd mention it here since RPM5 is affected by it.

--anders
Received on Tue Mar 4 13:05:22 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.