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 1QZJZi-0008Pk-41 for garchives@archives.gentoo.org; Wed, 22 Jun 2011 09:18:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17B271C0E0; Wed, 22 Jun 2011 09:16:55 +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 BF38F1C0E0 for ; Wed, 22 Jun 2011 09:16:54 +0000 (UTC) Received: by wyb28 with SMTP id 28so542399wyb.40 for ; Wed, 22 Jun 2011 02:16:54 -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=ElcTIjEw/UKOFwzM9q3jmGisc4dVussWuaF6TvRxDUc=; b=cAAjcjFyU4Akk7QbbGZTGruZyDfze9oW1J7652kLp7FKEpSXVqMGUizjw0t8YT4kjG Qn/WlZdLBiTeXsh0TDkr5chOOgWkx/uJ+3ta6ebjqPXhHapywMX09P4p80s8zjfsAS5P UkuQiGC3l/HSMqORzaRTgigQvjOGu15p/lKFc= 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=MYakRt237VR5Ywy4GfutmCcYAMkqmztqx9jfR6W8I8T7RjfxjC3esbSZdamobRnCs6 7XshWL7ZYRRz7DQ/phlz9oC8LvdBoUB5QsqO5JGtiirGN92eJ+4/A1aLMFit30YA8MUW HhHRDxamtEmvGCjIEFHKP6GjgBacWZXMNjyU8= Received: by 10.216.59.147 with SMTP id s19mr489550wec.48.1308734213885; Wed, 22 Jun 2011 02:16:53 -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 74sm180818wem.17.2011.06.22.02.16.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2011 02:16:53 -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:15:50 +0200 Message-ID: <5886949.K0a64kT5Su@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> 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: e0b2027e4a102059e012f10244d507b2 On Wednesday 22 June 2011 10:49:04 Daniel Pielmeier did opine thusly: > 2011/6/22 Alan McKinnon : > > # emerge -av claws-mail > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > [ebuild N ] net-libs/libetpan-1.0 USE="berkdb gnutls sasl > > ssl - debug -ipv6 -liblockfile" 1,631 kB > > [ebuild N ] x11-libs/fltk-2.0_pre6970-r1 USE="jpeg opengl > > png xft xinerama zlib -cairo -debug -doc" 2,470 kB > > [ebuild N ] www-client/dillo-2.2 USE="gif jpeg png ssl > > -doc - ipv6" 616 kB > > [ebuild N ] mail-client/claws-mail-3.7.9-r1 USE="crypt > > dbus > > dillo gnutls imap ldap session spell ssl startup-notification - > > bogofilter -doc -ipv6 -nntp -pda -smime -spamassassin -xface" > > 6,921 kB > > > > Total: 4 packages (4 new), Size of downloads: 11,637 kB > > > > The following USE changes are necessary to proceed: > > #required by www-client/dillo-2.2, required by > > mail-client/claws- > > mail-3.7.9-r1[dillo], required by claws-mail (argument) > > > >>=x11-libs/fltk-2.0_pre6970-r1 -cairo > >> > > Any reason why portage is telling me to set a USE that is > > already > > there per portage's own output? > > > > It will build fltk with USE=-cairo, so why the need to tell me > > to set it explicitly? > > 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 -- alan dot mckinnon at gmail dot com