Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270001 - sys-libs/e2fsprogs-libs and sys-freebsd/freebsd-libs collide on uuid(3) man pages
Summary: sys-libs/e2fsprogs-libs and sys-freebsd/freebsd-libs collide on uuid(3) man p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 22:25 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-07-01 12:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-15 22:25:21 UTC
No idea how we can manage that; by the way base system, are e2fsprogs able to build against the system C library for uuid functions instead of libuuid?
Comment 1 SpanKY gentoo-dev 2009-05-16 16:19:10 UTC
does it only collide on the man pages ?

i doubt converting e2fsprogs to use the C library uuid functions is feasible unless the e2fsprogs libuuid is an exact mirror of the funcs in BSD
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-16 17:44:32 UTC
Yah checked afterward, the interface is actually different, quite different, libuuid is much more similar to what OpenSolaris has actually, but even that not identical.

Yeah it only collides on uuid(3) and uuid_compare afaics. The header files are different (/usr/include/uuid.h vs /usr/include/libuuid.h) and the FreeBSD functions are in the C library.
Comment 3 SpanKY gentoo-dev 2009-05-16 21:50:32 UTC
sounds like bsd is doing the wrong thing and installing as uuid(3) when their header is actually libuuid.h

but i doubt freebsd is about to change because of a "small" detail like that, so feel free to add a conditional to the ebuild where it deletes/renames the man pages on freebsd systems
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-16 21:52:20 UTC
FreeBSD's header is uuid.h; I'd say that it's libuuid that should install libuuid(3) ...
Comment 5 SpanKY gentoo-dev 2009-05-16 22:31:33 UTC
e2fsprogs isnt installing as "libuuid.h", so based on your comment #2, the logical assumption is that freebsd is doing it.

$ qlist e2fsprogs-libs | grep include.*uuid
/usr/include/uuid/uuid.h
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-16 22:37:07 UTC
Ergh okay I got it wrong in #2:

/usr/include/uuid.h (sys-libs/freebsd-lib)
/usr/include/uuid/uuid.h (sys-libs/e2fsprogs-libs).
Comment 7 Naohiro Aota gentoo-dev 2011-07-01 12:37:08 UTC
Seems not colliding anymore as of sys-libs/e2fsprogs-libs-1.41.14 and sys-freebsd/freebsd-lib-8.0