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 1NnRQO-0000YT-Ca for garchives@archives.gentoo.org; Fri, 05 Mar 2010 06:54:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABBFBE0BB7; Fri, 5 Mar 2010 06:53:16 +0000 (UTC) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 5A7EDE0BB7 for ; Fri, 5 Mar 2010 06:53:16 +0000 (UTC) Received: by fxm22 with SMTP id 22so3813340fxm.26 for ; Thu, 04 Mar 2010 22:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=bTl73dD8lCZ/ZwV21/0ilPCktWqO5FwNbad6MsltekU=; b=FeY1FBbLVd+3PC3z8/ArtQh2DVPKz22l+GiLkFr6aGc3COd7oLdj6VSC1Gv+tMpDPB VZlky20RIV2Hjiq7eXm/oqnojtX2gRf/pp3PJp+KDCY/w1hrgDj5rvtHkSoWhMTTt8qO L9RSIs4eQ1KSjz4NIZhGEUuCgvZ/mnigFEP3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=AB8XIhFNmQCXfxNguYeRLm/jRoafGT2nE3DyfFypnoPQyQoTfKaAb3wn0g1vZa68T/ 3WffE3HlEidvpWPI/DL8deRlZbeXVS/HZDDRx3TxqfbLBQ5COqhQw4p/U1VWxgkmxUI+ kOx3AoADgQIktTLVMycky7dGU6NfFWyxofluw= 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 Received: by 10.103.79.36 with SMTP id g36mr436837mul.60.1267771995712; Thu, 04 Mar 2010 22:53:15 -0800 (PST) In-Reply-To: <201003042207.14405.alan.mckinnon@gmail.com> References: <358eca8f1003040737n445d0aa0k54e1a136c3a5e4e4@mail.gmail.com> <201003041757.15178.alan.mckinnon@gmail.com> <358eca8f1003040907r248b3dcjf9aada6f30734aa@mail.gmail.com> <201003042207.14405.alan.mckinnon@gmail.com> Date: Fri, 5 Mar 2010 06:53:15 +0000 Message-ID: <358eca8f1003042253p438a9995xa8271a5e1d6dca42@mail.gmail.com> Subject: Re: [gentoo-user] mysql is being pulled in again! From: Mick To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9a7417e3-4f16-472e-a6f3-6a3b1f3e59a9 X-Archives-Hash: e19e6b230056c27a0d4dbd256b8d72ae On 4 March 2010 20:07, Alan McKinnon wrote: > On Thursday 04 March 2010 19:07:22 Mick 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 + ? > > Your post seems to indicate a lack of understanding of how these things w= ork. Yep. :-( > Often-times things are not optional, that's what "must" means. USE is > diametrically opposed to that as it has to imply a meaning of "may". If a > package if hard-coded to use mysql, then it must have it, and putting it = in > USE in pointless. I see. I thought that (some relevant) USE flags reflected dependencies at some level and that if a dependency changed then this would reflect those USE flags which would now show up as active. So I thought that the mysql USE flag would change from - to +. > There's no rule about this. If mysql is a hard dep, then that's the way i= t is. > >> > If a user wants postgres, he should install and run postgres. How woul= d >> > this affect the presence or absence of mysql? >> >> Well, I am assuming that if postgres can do what mysql does, then it >> could work in its place. =A0Like if syslog-ng will do what metalog does, >> then the virtual/log-thingie will not insist in pulling in metalog. >> Anyway, the postgres is just an example of asking why are we locking >> down the choice of a database to a particular package/provider. > > Again, you appear to fail to understand. metalog supports a variety of > database backends. Not all apps are like this, some are hard-coded. If yo= u > want to use an app like this, you have no choice but to install mysql. > > If you don't like this, then your choices number two: > > 1. Tough, get over it; > 2. Use a different app No I think you fail to understand what I fail to understand! Ha, ha! :-)) I was not talking about what db a syslog app will use as a back end. I was trying to understand why a virtual package like virtual/mysql is pulling in dev-db/mysql and I used the syslog virtual/real relationship as an analogy. Anyway, I now know two things: a) qt-sql pulled in mysql b) when the wife shouts at me to get going with chores, I do not start an emerge without first checking the contents of it! :-)) Thanks again for your replies. --=20 Regards, Mick