Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543406 - allow to compile a static version of lvm2 when udisks is installed
Summary: allow to compile a static version of lvm2 when udisks is installed
Status: RESOLVED DUPLICATE of bug 520450
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-15 12:22 UTC by Herbert Wantesh
Modified: 2015-03-21 17:04 UTC (History)
0 users

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 Herbert Wantesh 2015-03-15 12:22:33 UTC
After the latest ebuild updates, it's not possible to compile a static version of lvm2 for my initramfs when udisk2 is installed

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] sys-apps/util-linux-2.24.1-r3 [2.25.2-r2] USE="caps ncurses nls pam static-libs tty-helpers* udev unicode -bash-completion% -cramfs -cytune% -fdformat -python (-selinux) -slang -suid {-test} (-systemd%)" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
[ebuild   R    ] sys-fs/lvm2-2.02.109  USE="readline static static-libs (-clvm) (-cman) -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) -systemd -thin -udev*" 0 KiB

Total: 2 packages (1 downgrade, 1 reinstall), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/lvm2:0

  (sys-fs/lvm2-2.02.109:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-fs/lvm2 (Argument)

  (sys-fs/lvm2-2.02.109:0/0::gentoo, installed) pulled in by
    sys-fs/lvm2[udev(+)] required by (sys-fs/udisks-2.1.3:2/2::gentoo, installed)
                                                                                                  


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


Reproducible: Always
Comment 1 Herbert Wantesh 2015-03-15 12:23:22 UTC
maybe compiling just the static version without udev and the none static version with udev enabled would fix the problem.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-03-16 14:25:56 UTC
You need to build sys-fs/lvm2 with USE="udev" to satisfy sys-fs/udisks.
Comment 3 Herbert Wantesh 2015-03-17 09:41:59 UTC
lvm2 has the udev use flag enabled.

Calculating dependencies... done!
[ebuild   R    ] sys-apps/util-linux-2.24.1-r3  USE="caps ncurses nls pam static-libs tty-helpers udev unicode -bash-completion -cramfs -cytune -fdformat -python (-selinux) -slang -suid {-test}" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
[ebuild   R    ] sys-fs/lvm2-2.02.109  USE="readline static static-libs udev (-clvm) (-cman) -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) -systemd -thin" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-apps/util-linux:0

  (sys-apps/util-linux-2.25.2-r2:0/0::gentoo, ebuild scheduled for merge) conflicts with
    <sys-apps/util-linux-2.25[static-libs] required by (sys-fs/lvm2-2.02.109:0/0::gentoo, ebuild scheduled for merge)
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-03-17 12:33:05 UTC
As per bug #520450, it won't work with util-linux <= 2.24.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-03-21 17:04:57 UTC

*** This bug has been marked as a duplicate of bug 520450 ***