[Bug 22972] libuuid apparently mis-detected on Darwin and OpenBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 27 17:05:30 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=22972

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|another darwin build        |libuuid apparently
                   |problem                     |mis-detected on Darwin and
                   |                            |OpenBSD
           Platform|PowerPC                     |All
         OS/Version|Mac OS X (All)              |other
           Keywords|                            |NEEDINFO
         AssignedTo|telepathy-bugs at lists.freede |simon.mcvittie at collabora.co
                   |sktop.org                   |.uk
                 CC|                            |jasper at humppa.nl

--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-09-27 08:05:29 PDT ---
(In reply to comment #0)
> gibber-resolver.c: In function 'gibber_resolver_res_query_to_list':

We've deleted this file, so, RESOLVED FIXED :-)

> asyncns.c: In function 'handle_request':

This one, too.

> util.c: In function 'gabble_generate_id':
> util.c:82: error: storage size of 'uu' isn't known
> util.c:86: warning: implicit declaration of function 'uuid_generate_random'
> util.c:87: warning: implicit declaration of function 'uuid_unparse_lower'
> util.c:82: warning: unused variable 'uu'

The remaining bug, which, as far as I can see, ought to work already; see
Comment #2. Jack, could you answer the questions I asked there please?

It appears OpenBSD have a patch for this too [1], so I've cc'd the OpenBSD
maintainer. Jasper, if you can answer my questions from Comment #2 for OpenBSD,
that might shed some light on this? You really shouldn't need that patch,
unless uuid.pc is rather different on *BSD: on Linux, it adds
-I/usr/include/uuid, so including <uuid.h> is correct.

<uuid/uuid.h> seems incorrect, because that assumes that the *parent* directory
is on the -I path; if your libuuid was installed in /opt/mypackages or
something, then that would fail, because /opt/mypackages/include wouldn't be in
the -I path, but -I/opt/mypackages/include/uuid is added by pkg-config.

[1]
http://www.openbsd.org/cgi-bin/cvsweb/ports/net/telepathy/telepathy-gabble/patches/patch-src_util_c?rev=1.3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list