Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651398 - sys-apps/util-linux: Install some parts (at least uuid) on *-fbsd
Summary: sys-apps/util-linux: Install some parts (at least uuid) on *-fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 652190
  Show dependency tree
 
Reported: 2018-03-25 03:06 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-04-06 11:44 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 Arfrever Frehtes Taifersar Arahesis 2018-03-25 03:06:44 UTC
In FreeBSD, there are currently misc/e2fsprogs-libblkid and misc/e2fsprogs-libuuid packages:

  misc/e2fsprogs-libblkid
    https://svnweb.freebsd.org/ports/head/misc/e2fsprogs-libblkid/Makefile?view=markup

  misc/e2fsprogs-libuuid:
    https://svnweb.freebsd.org/ports/head/misc/e2fsprogs-libuuid/Makefile?view=markup

  These Makefiles include sysutils/e2fsprogs/Makefile:
    https://svnweb.freebsd.org/ports/head/sysutils/e2fsprogs/Makefile?view=markup

In Gentoo, blkid and uuid libraries are now provided by sys-apps/util-linux.
In FreeBSD, there is also a suggestion to provide uuid library from util-linux:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221293

I suggest that sys-apps/util-linux ebuild be modified to install some parts of this package on *-fbsd.

There are some packages in Gentoo, which theoretically could support *-fbsd but they need uuid library from util-linux. (E.g. app-i18n/fcitx)

Maybe libraries and *.pc files of sys-apps/util-linux can be installed in standard locations.

If /usr/include/uuid/uuid.h would collide with a FreeBSD header, it could be installed in a subdirectory (e.g. /usr/include/util-linux/uuid/uuid.h) and uuid.pc could be adjusted.

If man pages would collide, they could be renamed.
Comment 1 Larry the Git Cow gentoo-dev 2018-04-06 11:44:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d3426b9af66c84b32ea0631205a0546049d9f3

commit 73d3426b9af66c84b32ea0631205a0546049d9f3
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-04-06 08:49:02 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-04-06 11:43:23 +0000

    sys-apps/util-linux: Support library-only build for *BSD
    
    Closes: https://bugs.gentoo.org/651398

 sys-apps/util-linux/util-linux-9999.ebuild | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)