Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage insists in pulling in sys-apps/kmod
Date: Sun, 24 Mar 2013 08:04:58
Message-Id: 20130324080425.GB19927@waltdnes.org
In Reply to: Re: [gentoo-user] portage insists in pulling in sys-apps/kmod by Mike Gilbert
1 On Sat, Mar 23, 2013 at 03:06:05PM -0400, Mike Gilbert wrote
2 > On Sat, Mar 23, 2013 at 1:42 PM, Dan Johansson <Dan.Johansson@×××.nu> wrote:
3 > > Hello,
4 > >
5 > > Some of my servers are running with a kernel without module-support.
6 > > On these servers something has started to pull in sys-apps/kmod, which when compiled complains about missing modules-support in the kernel (as it should).
7 > > Doing an "equery d sys-apps/kmod" I can see that the following two packages depends on sy-apps/kmod:
8 > > sys-fs/udev-197-r8 (kmod ? >=sys-apps/kmod-12)
9 > > virtual/modutils-0 (sys-apps/kmod[tools])
10 > >
11 > > sys-fs/udev has "-kmod" in its USE-flags, so that should not be an issue).
12 > > # emerge --verbose --pretend sys-fs/udev
13 > > [ebuild R ] sys-fs/udev-197-r8 USE="acl openrc -doc -gudev -hwdb -introspection -keymap -kmod (-selinux) -static-libs" 0 kB
14 > >
15 > > With virtual/modutils its an other thing, here we have a circular dependency between virtual/modutils and sys-apps/kmod if the tools USE-flag is set.
16 >
17 > That circular dep is interesting; sys-apps/kmod only depends on
18 > virtual/modutils because it inherits linux-mod.eclass.
19 >
20 > Could you file about about the circular dependency please?
21
22 I hesitated to file a bug, because my desktop is running mdev instead
23 of udev (just fine thank, you), and it might not be supported. I've
24 removed module-init-tools. I have virtual/modutils-0 and
25 sys-apps/kmod-12-r1 installed. Here's what happens...
26
27 [d531][waltdnes][~] emerge -pv1 virtual/modutils
28
29 These are the packages that would be merged, in order:
30
31 Calculating dependencies... done!
32 [ebuild R ] virtual/modutils-0 0 kB
33
34 [d531][waltdnes][~] emerge -pv1 sys-apps/modutils
35
36 These are the packages that would be merged, in order:
37
38 Calculating dependencies... done!
39 [ebuild N ] sys-apps/modutils-2.4.27-r1 0 kB
40 [uninstall ] sys-apps/kmod-12-r1 USE="tools zlib -debug -doc -lzma -static-libs"
41 [blocks b ] sys-apps/modutils ("sys-apps/modutils" is blocking sys-apps/kmod-12-r1)
42 [blocks b ] sys-apps/kmod ("sys-apps/kmod" is blocking sys-apps/modutils-2.4.27-r1)
43
44 --
45 Walter Dnes <waltdnes@××××××××.org>
46 I don't run "desktop environments"; I run useful applications