Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103388 - sys-fs/e2fsprogs: g/fbsd compatibility
Summary: sys-fs/e2fsprogs: g/fbsd compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 103124
  Show dependency tree
 
Reported: 2005-08-22 15:50 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
2 users (show)

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


Attachments
e2fsprogs-ebuild.patch (e2fsprogs-ebuild.patch,938 bytes, patch)
2005-08-22 15:50 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-22 15:50:22 UTC
[Don't ask me why this blocks gnome ..] 
 
e2fsprogs right now can't be installed on Gentoo/FreeBSD, as it collides with 
fsck command from FreeBSD userland and with a couple of manpages installed by 
FreeBSD libc. 
 
The attached patch to the ebuild fixes this allowing it to install cleanly. 
fsck command is enabled for GNU userland as it should be. 
 
Thanks, 
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-22 15:50:35 UTC
Created attachment 66596 [details, diff]
e2fsprogs-ebuild.patch
Comment 2 SpanKY gentoo-dev 2005-08-22 17:41:40 UTC
erm do we want to assume fsck is a GNU-only thing ?  maybe go with:
$(use_enable !userland_FreeBSD fsck)

until proven otherwise
Comment 3 SpanKY gentoo-dev 2005-08-22 20:06:35 UTC
wrt to the manpages, shouldnt you remove them from the freebsd libc ?  after
all, e2fsprogs provides the uuid functions, not the freebsd libc ...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-23 00:31:25 UTC
freebsd libc provides those functions, and it's the preferred provider on  
FreeBSD.  
  
WRT to the userland, I'm CCing osx/darwin people... do you already have fsck 
command or you need it from e2fsprogs? 
 
[it's userland_BSD anyway, not FreeBSD] 
Comment 5 SpanKY gentoo-dev 2005-08-23 06:15:22 UTC
how does freebsd provide these funcs ?  via libc ?  what happens if you -lc
-luuid then ?
Comment 6 Kito (RETIRED) gentoo-dev 2005-08-23 06:46:55 UTC
(In reply to comment #4)
> freebsd libc provides those functions, and it's the preferred provider on  
> FreeBSD.  

Same for Darwin

>   
> WRT to the userland, I'm CCing osx/darwin people... do you already have fsck 
> command or you need it from e2fsprogs?

Darwin has its it own fsck.

>how does freebsd provide these funcs ?  via libc ?  what happens if you -lc
>-luuid then ?

We don't have/need a libuuid, if you need any uuid functions you only link against libc or the 
grandaddy libSystem...
Comment 7 SpanKY gentoo-dev 2005-09-01 22:05:47 UTC
in portage