From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CDF02138010 for ; Sun, 24 Mar 2013 10:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26AD4E07F1; Sun, 24 Mar 2013 10:45:22 +0000 (UTC) Received: from smtp2.mail.fcom.ch (smtp2.mail.fcom.ch [212.60.46.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2146E07D3 for ; Sun, 24 Mar 2013 10:45:20 +0000 (UTC) Received: from dmj.nu (unknown [5.144.20.177]) by smtp2.mail.fcom.ch (Postfix) with ESMTP id 5E983205C9 for ; Sun, 24 Mar 2013 10:45:19 +0000 (UTC) Received: from queen.localnet (queen.dmj.nu [192.168.1.11]) by dmj.nu with ESMTP; Sun, 24 Mar 2013 11:45:19 +0100 id 000000000070A5F0.00000000514ED93F.00007C98 From: Dan Johansson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] portage insists in pulling in sys-apps/kmod Date: Sun, 24 Mar 2013 11:45:18 +0100 Message-ID: <5787499.xpX00gYjG9@queen> User-Agent: KMail/4.9.5 (Linux/3.7.10-gentoo; KDE/4.9.5; x86_64; ; ) In-Reply-To: References: <3565546.OiNQyl8pmS@queen> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-message-flag: Using Microsoft software might be a security risk X-Virus-Scanned: clamav-milter 0.96.5 at smtp2 X-Virus-Status: Clean X-Archives-Salt: 94aa8fa0-e6cf-46e0-a6ca-24aedee58dc8 X-Archives-Hash: 3ee14ae9e6f8a714eb7f7f6cbbc0d703 On Saturday 23 March 2013 15.06:05 Mike Gilbert wrote: > On Sat, Mar 23, 2013 at 1:42 PM, Dan Johansson wrote: > > Hello, > > > > Some of my servers are running with a kernel without module-support. > > 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). > > Doing an "equery d sys-apps/kmod" I can see that the following two packages depends on sy-apps/kmod: > > sys-fs/udev-197-r8 (kmod ? >=sys-apps/kmod-12) > > virtual/modutils-0 (sys-apps/kmod[tools]) > > > > sys-fs/udev has "-kmod" in its USE-flags, so that should not be an issue). > > # emerge --verbose --pretend sys-fs/udev > > [ebuild R ] sys-fs/udev-197-r8 USE="acl openrc -doc -gudev -hwdb -introspection -keymap -kmod (-selinux) -static-libs" 0 kB > > > > 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. > > That circular dep is interesting; sys-apps/kmod only depends on > virtual/modutils because it inherits linux-mod.eclass. > > Could you file about about the circular dependency please? Bug 462926 (https://bugs.gentoo.org/show_bug.cgi?id=462926) is opened for the circular dependency. My more immediate question is "Why is virtual/modutils & sys-apps/kmod pulled in at all?" and "How can I prevent it?" Here the output of my "emerge update" # emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] virtual/modutils-0 [ebuild N ] sys-apps/kmod-12-r1 USE="tools zlib -debug -doc -lzma -static-libs" 0 kB [ebuild N ] virtual/modutils-0 0 kB Regards, -- Dan Johansson, *************************************************** This message is printed on 100% recycled electrons! ***************************************************