Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage insists in pulling in sys-apps/kmod
Date: Sun, 24 Mar 2013 10:45:29
Message-Id: 5787499.xpX00gYjG9@queen
In Reply to: Re: [gentoo-user] portage insists in pulling in sys-apps/kmod by Mike Gilbert
1 On Saturday 23 March 2013 15.06:05 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 Bug 462926 (https://bugs.gentoo.org/show_bug.cgi?id=462926) is opened for the circular dependency.
22
23 My more immediate question is "Why is virtual/modutils & sys-apps/kmod pulled in at all?" and "How can I prevent it?"
24
25 Here the output of my "emerge update"
26
27 # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree
28
29 These are the packages that would be merged, in reverse order:
30
31 Calculating dependencies... done!
32
33
34 [nomerge ] virtual/modutils-0
35 [ebuild N ] sys-apps/kmod-12-r1 USE="tools zlib -debug -doc -lzma -static-libs" 0 kB
36 [ebuild N ] virtual/modutils-0 0 kB
37
38 Regards,
39 --
40 Dan Johansson, <http://www.dmj.nu>
41 ***************************************************
42 This message is printed on 100% recycled electrons!
43 ***************************************************