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

Bug 642388

Summary: >=sys-fs/udisks-2.7.4 pulls in cryptsetup unconditionally
Product: Gentoo Linux Reporter: Erik Quaeghebeur <gentoo>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Quaeghebeur 2017-12-27 11:15:36 UTC
With a recent update, all of a sudden, cryptsetup and related packages were being pulled in. It seems this is due to the update to sys-fs/udisks-2.7.4, which contains the dependency

    >=sys-libs/libblockdev-2.14[cryptsetup,lvm?]

Should this be

    >=sys-libs/libblockdev-2.14[cryptsetup?,lvm?]

so with a conditional for cryptsetup as well?
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2017-12-27 13:16:26 UTC
Starting with version 2.7.0, udisks really has a hard dependency (build and runtime) on the libblockdev crypto plugin, meaning libblockdev[cryptsetup].

I suppose we should remove the USE flag from udisks since the dependency on cryptsetup is now effectively unconditional.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2017-12-27 13:19:26 UTC
See https://github.com/storaged-project/udisks/pull/195/files for the upstream PR that introduced the hard dependency.
Comment 3 Erik Quaeghebeur 2017-12-27 15:23:11 UTC
(In reply to Alexandre Rostovtsev from comment #1)
> Starting with version 2.7.0, udisks really has a hard dependency (build and
> runtime) on the libblockdev crypto plugin, meaning libblockdev[cryptsetup].
Ok, thanks for the info.

> I suppose we should remove the USE flag from udisks since the dependency on
> cryptsetup is now effectively unconditional.
I agree. This report can be closed then.
Comment 4 Pacho Ramos gentoo-dev 2018-09-23 14:13:04 UTC
fixed in 2.8.0