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 1QZK6s-0003Cm-Sb for garchives@archives.gentoo.org; Wed, 22 Jun 2011 09:52:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E68061C074; Wed, 22 Jun 2011 09:51:15 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B9681C074 for ; Wed, 22 Jun 2011 09:51:15 +0000 (UTC) Received: by wyb28 with SMTP id 28so565672wyb.40 for ; Wed, 22 Jun 2011 02:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=+zLpyT729/4NvVg88gALDl2hkrnc5zMUvJTLq3c6ZKU=; b=HzAkQKOgrxGKEwMhcVGuxUdN7YE4nWEGbS92MJcHVlpFnNmJKcD8mTv/67sZVmSbDK ZfogU845TiIvoYzc7n0PkepGilEgbJG0KYRNWAJW+pceo3fHEyEGen8Xs/p18u1jEkR/ xil73jw5zuSL10aV8OWLDXeJBNySVz3nknFFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; b=KlEGm8RTCEnk2axE+fE11IO0QCDnBJkIuAucpZeN8o6aE6EL970s/eVWpiGocdByeq 2S2ScHMgqrRpXU4xZfXSCoMXIgyM/f+kKj9nK9y2qZL5qjbsUKpE6qKFSVQCI9TDPQ5o wiRzPGWLbE4eabiYoASzq1hyGVPxKr4At/hII= Received: by 10.227.55.81 with SMTP id t17mr484933wbg.100.1308736274634; Wed, 22 Jun 2011 02:51:14 -0700 (PDT) Received: from nazgul.localnet (196-210-183-215.dynamic.isadsl.co.za [196.210.183.215]) by mx.google.com with ESMTPS id ej7sm297565wbb.53.2011.06.22.02.51.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2011 02:51:13 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] portage getting mixed up with USE? Date: Wed, 22 Jun 2011 11:50:10 +0200 Message-ID: <3623519.19NbE9HXb6@nazgul> User-Agent: KMail/4.6.0 (Linux/2.6.38-ck-r1; KDE/4.6.4; x86_64; ; ) In-Reply-To: References: <2869451.8C6Z2vDv6d@nazgul> <5886949.K0a64kT5Su@nazgul> 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="utf-8" X-Archives-Salt: X-Archives-Hash: 1e3ef88ef12a1f16e55a36ab4dacce59 On Wednesday 22 June 2011 11:31:09 Daniel Pielmeier did opine thusly: > 2011/6/22 Alan McKinnon : > > On Wednesday 22 June 2011 10:49:04 Daniel Pielmeier did opine thusly: > >> I guess it displays the USE settings how they should be and > >> afterwards prints the required changes. Or does it build fltk > >> with USE="-cairo" if you just type emerge -av fltk? > > > > emerge -av fltk > > > > gives exactly the same output as above. The dillo ebuild doesn't > > seem to be causing this change in behaviour: > > > > RDEPEND="x11-libs/fltk:2[-cairo,jpeg=,png=] > > > > What it looks like is portage is insisting the package.use > > explicitly states the USE flags needed. This is wrong and I am > > not about to bloat package.use to cater for every "built with > > use" occurrence. Or perhaps it's now only looking at installed > > deps and not it's own dep graph when emerge runs. > > > > Portage should only care about whether the package is already > > built with use, or will be according to the dep graph > > So you get the same recommendation about the use flag change? No, I meant the output was the same as: [ebuild N ] x11-libs/fltk-2.0_pre6970-r1 USE="jpeg opengl png xft xinerama zlib -cairo -debug -doc" 2,470 kB I didn't run an emerge -p dillo to see what that would do, I did meanwhile add an entry to package.use to make portage shut up and do what I want (install claws) > If you have USE="cairo" in make.conf or it is enabled via some > profile (desktop?) you have to add >=x11-libs/fltk-2.0_pre6970-r1 > -cairo to package.use to override this on a per package basis. I > think there is no way around this. I have only the defaults: # grep -r cairo /etc/portage/* /etc/portage/package.use/package.use:x11-libs/cairo cleartype lcdfilter -qt4 /etc/portage/package.use/package.use:>=x11-libs/fltk-2.0_pre6970-r1 - cairo /etc/make.profile -> ../var/portage/profiles/default/linux/amd64/10.0/desktop # emerge --info | grep cairo USE=" ... cairo ... " The package.use entry is new. I still don't understand why portage is making this fuss. It is saying that fltk needs to have a package.use entry for -cairo, but that's not what it needs. It needs fltk *built* that way, becuase dillo requires it and claws-mail depends on dillo. Portage's own output immediately prior clearly says that it will build fltk with USE=-cairo as part of the dependencies. This crap about package.use is a red herring, a new behaviour and rather unwanted actually. It's adding useless new stuff into the process that doesn't belong. -- alan dot mckinnon at gmail dot com