Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308439 - x11-libs/libSM-1.1.1 now requires util-linux, breaks prefix
Summary: x11-libs/libSM-1.1.1 now requires util-linux, breaks prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 10:59 UTC by Stuart Shelton
Modified: 2010-03-09 08:04 UTC (History)
0 users

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 Stuart Shelton 2010-03-08 10:59:19 UTC
Without a version bump, libSM-1.1.1 now requires util-linux (even though libSM-1.1.1 built successfully without util-linux previously).

util-linux is masked in prefix due to being platform-specific, with a note that a e2fsprogs-uuid ebuild is needed (but has this been superseded by the split of e2fsprogs and e2fsprogs-libs?).

This means that (at least) the following ebuilds can no longer be installed:

app-editors/vim:0
media-libs/jasper:0
net-im/pidgin:0
sys-apps/dbus:0
sys-apps/groff:0
x11-apps/appres:0
x11-libs/libwnck:0
x11-libs/libXaw:0
x11-libs/libXmu:0
x11-libs/libXpm:0
x11-libs/libXt:0
x11-libs/startup-notification:0
x11-misc/notification-daemon:0

Looking at the ebuild, it seems that someone has decided that FreeBSD and SunOS are the only prefix architectures without util-linux... IRIX (elibc_IRIX) also needs to be excluded from the list of libc's which don't need/support util-linux.

(Wouldn't a better approach be to only enable uuid support when elibc_glibc (and elibc_uclibc?) is set, rather than by excluding all other elibc_* options?)
Comment 1 Fabian Groffen gentoo-dev 2010-03-08 16:19:56 UTC
Actually, almost all OSes have some libuuid provided, but Linux.
Comment 2 Fabian Groffen gentoo-dev 2010-03-08 16:22:39 UTC
does IRIX have a libuuid actually?
Comment 3 Stuart Shelton 2010-03-08 16:51:58 UTC
I'm not 100% sure this is what's needed, but on IRIX:

"
NAME
     uuid_create, uuid_create_nil, uuid_compare, uuid_equal, uuid_is_nil,
     uuid_hash, uuid_from_string, uuid_to_string - Universal Unique Identifier
     functions

SYNOPSIS
     #include <sys/types.h>
     #include <sys/uuid.h>

     void uuid_create (uuid_t *uuid, uint_t *status);

     void uuid_create_nil (uuid_t *uuid, uint_t *status);

     boolean_t uuid_is_nil (uuid_t *uuid, uint_t *status);

     boolean_t uuid_equal (uuid_t *uuid1, uuid_t *uuid2, uint_t *status);

     int uuid_compare (uuid_t *uuid1, uuid_t *uuid2, uint_t *status);

     void uuid_to_string (uuid_t *uuid, char **uuid_str, uint_t *status);

     void uuid_from_string (char *uuid_str, uuid_t *uuid, uint_t *status);

     ushort_t uuid_hash (uuid_t *uuid, uint_t *status);

DESCRIPTION
     Universal Unique Identifiers are bit strings that may be generated
     independently on separate nodes (hosts) such that globally unique strings
     result without requiring the hosts to be in communication with each other
     to ensure uniqueness.  They are a component of DCE that have been
     independently reimplemented in IRIX, but is in accordance with the DCE
     specification.  This implementation is API compatible with the DCE
     implementation.
"

... these functions appear to by in libc, with no additional libraries needed.
Comment 4 Fabian Groffen gentoo-dev 2010-03-08 16:55:40 UTC
I added IRIX to the list
Comment 5 Markus Duft (RETIRED) gentoo-dev 2010-03-09 08:04:16 UTC
interix requires libuuid from e2fsprogs-libs - i don't have any alternative for that it seems. (haven't built libSM right now though).