Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374987 - udisks should not depend on lvm unconditionally
Summary: udisks should not depend on lvm unconditionally
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 18:15 UTC by Jack
Modified: 2012-02-09 11:51 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 Jack 2011-07-12 18:15:38 UTC
All recent ebuilds for sys-fs/udisks have an unconditional dependency on >=sys-fs/lvm2-2.02.66.  The ./configure for udisks does have an option --disable-lvm2.  In a system that does not use lvm, there is no reason to have this package.

Reproducible: Always

Steps to Reproduce:
1. emerge udisks or something that requires it.
2. emerge brings in lvm2, even if you have no other need for it
3.
Actual Results:  
lvm2 is required by udisks

Expected Results:  
udisks should be able to emerge without lvm2

There is more discussion at forum topic 878413, and this seems a bit parallel to bug 354635, and although that is for kdelibs requiring udisks, the logic is similar.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-07-12 18:22:28 UTC
lvm2 includes device-mapper, and there is no flag to disable device-mapper in udisks, therefore lvm2 is really required even with --disable-lvm2
Comment 2 Jack 2011-07-12 18:36:02 UTC
It does seem a bit strange, but why can't you have device-mapper without lvm?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-07-27 09:07:01 UTC
(In reply to comment #2)
> It does seem a bit strange, but why can't you have device-mapper without lvm?

Because device-mapper/lvm2 upstream merged device-mapper as part of lvm2 package.    

And we are not in business of countering upstreams decisions, as in, we don't split packages unless it's for solving circular dependencies or such.

You could try to contact lvm2 upstream and try to make them split device-mapper into it's own package... but honestly, I don't think it's worth it.