Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103388

Summary: sys-fs/e2fsprogs: g/fbsd compatibility
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: OtherAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: bsd+disabled, osx
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 103124    
Attachments: e2fsprogs-ebuild.patch

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