[PATCH] Split out e2fsprogs sublibraries

Richard W.M. Jones rjones at redhat.com
Tue Mar 10 12:08:54 UTC 2009


On Fri, Feb 20, 2009 at 04:06:27PM -0600, Eric Sandeen wrote:
> Richard W.M. Jones wrote:
> > On Fri, Feb 20, 2009 at 11:26:34AM -0600, Eric Sandeen wrote:
> >> Richard W.M. Jones wrote:
> >>>   libblkid      libblkid-devel
> >>>   libcom_err    libcom_err-devel       [note 1]
> >>>   libss         libss-devel
> >>>   libuuid       libuuid-devel
> >> btw, any reason to leave out libe2p?
> > 
> > It seemed a bit ext2-specific, but if you think it is worth having it
> > as a separate library then I can update the patch.
> 
> I think you're right, keeping it w/ e2fsprogs-libs is fine.
> 
> The next problem I see is that by putting things like blkid, uuidgen,
> compile_et, mk_cmds into the lib$FOO packages, they are now no longer
> multilib-safe; the binaries will collide.
> 
> This would then mean we need lib$FOO-tools subpackages as well, and
> suddenly we've created what, 12-15 packages from e2fsprogs, some with
> just a couple files.  It's starting to feel like diminishing returns to
> me, but I'm still open to the idea ... :)
>
> Thoughts?

It's probably better to keep everything on
https://bugzilla.redhat.com/show_bug.cgi?id=225406
but on this particular point are you sure the packages aren't multilib
safe?

I read this:

http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks#Multiarch.2C_binaries_and_compilation_scripts

I also tried installing i586 and x86_64 packages at the same time on
my local machine and it appears to work.  I must admit I'm not hugely
familiar with how multilib works (except that when I looked at it, it
seemed like a gigantic hack) ..

# rpm -Uvh libblkid-1.41.4-6.fc11.x86_64.rpm libblkid-devel-1.41.4-6.fc11.x86_64.rpm libblkid-devel-1.41.4-6.fc11.i586.rpm 
Preparing...                ########################################### [100%]
   1:libblkid               ########################################### [ 33%]
   2:libblkid-devel         ########################################### [ 67%]
   3:libblkid-devel         ########################################### [100%]
# rpm -qa | grep libblkid
libblkid-devel-1.41.4-6.fc11.i586
libblkid-1.41.4-6.fc11.x86_64
libblkid-devel-1.41.4-6.fc11.x86_64

The scratch-build of my package is here if you want to try:

http://koji.fedoraproject.org/koji/taskinfo?taskID=1234571

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/



More information about the mingw mailing list