From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NnEr9-0008Sn-Is for garchives@archives.gentoo.org; Thu, 04 Mar 2010 17:29:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD48EE1119; Thu, 4 Mar 2010 17:28:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9C074E1119 for ; Thu, 4 Mar 2010 17:28:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4739D1B4265 for ; Thu, 4 Mar 2010 17:28:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.025 X-Spam-Level: X-Spam-Status: No, score=-3.025 required=5.5 tests=[AWL=-0.426, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1lVE5aoRmDHN for ; Thu, 4 Mar 2010 17:28:32 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 9B8E71B40BF for ; Thu, 4 Mar 2010 17:28:30 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NnEq5-0004Cn-3g for gentoo-user@gentoo.org; Thu, 04 Mar 2010 18:27:57 +0100 Received: from athedsl-384146.home.otenet.gr ([79.131.52.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Mar 2010 18:27:57 +0100 Received: from realnc by athedsl-384146.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Mar 2010 18:27:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: mysql is being pulled in again! Date: Thu, 04 Mar 2010 19:27:06 +0200 Organization: Lucas Barks Message-ID: References: <358eca8f1003040737n445d0aa0k54e1a136c3a5e4e4@mail.gmail.com> <201003041757.15178.alan.mckinnon@gmail.com> <358eca8f1003040907r248b3dcjf9aada6f30734aa@mail.gmail.com> 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-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-384146.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100206 Thunderbird/3.0.1 In-Reply-To: <358eca8f1003040907r248b3dcjf9aada6f30734aa@mail.gmail.com> X-Archives-Salt: 4d15a0de-3a00-4369-8cca-5e85e1cfd3a1 X-Archives-Hash: 984bbbcf03dcd236d3391298594f1bea On 03/04/2010 07:07 PM, Mick wrote: > On 4 March 2010 15:57, Alan McKinnon wrote: >> There will be a reason why mysql is being pulled in, most likely a package >> that must have it. > > If a package must have it, wouldn't the USE flag mysql switch to + ? No. The USE flag is only for packages where MySQL is optional. If a package can't be used without MySQL, there's no "mysql" USE flag for it. > I am thinking that x11-libs/qt-sql-4.6.2 may be what started this > emerge of mysql. No, that one has MySQL as an optional dep and therefore it obeys the "mysql" USE flag. To see which installed packages pull-in mysql, use: equery depends mysql If the output starts with "(mysql?" then that package only pulls mysql if the USE flag is set. If it shows a package pulling mysql without the "(mysql?" part, then you've found the culprit.