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 1NxIvJ-0000ul-7j for garchives@archives.gentoo.org; Thu, 01 Apr 2010 11:50:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5647AE0972; Thu, 1 Apr 2010 11:50:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A0A1E08A8 for ; Thu, 1 Apr 2010 11:50:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A16D21B4025 for ; Thu, 1 Apr 2010 11:50:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 required=5.5 tests=[AWL=0.000, 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 arXRN-Rou4Hs for ; Thu, 1 Apr 2010 11:50:31 +0000 (UTC) Received: from mail-bw0-f215.google.com (mail-bw0-f215.google.com [209.85.218.215]) by smtp.gentoo.org (Postfix) with ESMTP id B347D64AC3 for ; Thu, 1 Apr 2010 11:50:30 +0000 (UTC) Received: by bwz7 with SMTP id 7so775117bwz.24 for ; Thu, 01 Apr 2010 04:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=dSisnQROSAff+eeWzq8XqiNKUiykbGZ06minrDqyuUo=; b=gVtNynGlwqnLufdJAXxTJ6ZV30a2x7AFsszjzSEZwS3m6beu1kxgY/34Gec9UGfKoO 8FO03xxg8unpo5PB5fR2lxRjtajjDenK4XcJ+AeMpTqa4NjtLgSIKhv/RtsFbJgpCAgT 4INhIX6/fgRgDI1mCxZyhRNtzrEwu7M/4C3/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=HLTCD3/ZKspYh5tvuRXD9fVuLfAFCZUKWODgE4h74t9dfs52IG24kIDMrM3TF6l+kg sp1/xPn8gY57r7lewwG6Ip2eiIiNmLeNYO1oim+r++5HyXZW0CRPPN+5op/1PRDNLNrd oBi+mOwl6I3siOWphsOK7Dq89JedNLDk4sM1I= Received: by 10.204.141.216 with SMTP id n24mr713178bku.58.1270122628837; Thu, 01 Apr 2010 04:50:28 -0700 (PDT) Received: from snowcone ([92.24.222.23]) by mx.google.com with ESMTPS id s17sm66555222bkd.16.2010.04.01.04.50.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Apr 2010 04:50:28 -0700 (PDT) Date: Thu, 1 Apr 2010 12:50:22 +0100 From: Ciaran McCreesh To: Brian Harring Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pkg_pretend USE validation and VALID_USE alternative Message-ID: <20100401125022.5976d240@snowcone> In-Reply-To: <20100401113836.GN11663@hrair> References: <20100331194626.GG11663@hrair> <20100331205628.368fb02c@snowmobile> <20100401073109.GI11663@hrair> <20100401084102.2560f3a3@snowmobile> <20100401075608.GJ11663@hrair> <1270116620.17214.1.camel@gdartigu.lan.rep.sj> <20100401101825.GK11663@hrair> <1270118530.17214.4.camel@gdartigu.lan.rep.sj> <20100401105954.GL11663@hrair> <20100401122342.3c59a865@snowcone> <20100401113836.GN11663@hrair> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/NZVdkJ7B/yXl1a5wdRw60Yc"; protocol="application/pgp-signature" X-Archives-Salt: 676a0a36-67d9-481c-aff9-6732aebd79f3 X-Archives-Hash: 8042fac10f4bf143042bcb5c48b44a52 --Sig_/NZVdkJ7B/yXl1a5wdRw60Yc Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 1 Apr 2010 04:38:36 -0700 Brian Harring wrote: > > But if the kernel sources symlink is changed by installing new > > kernel sources, there won't be a valid .config in the new directory > > anyway. >=20 > Oddly enough, I actually have an ebuild that directly contradicts=20 > that- used for managing my sources w/in kvms. Your own personal ebuilds are an exception that don't apply to everyone else. For ebuilds using kernel-2.eclass with USE=3Dsymlink, a missing .config is exactly what happens. > > Thus, pkg_pretend doesn't introduce any new breakage. >=20 > Regardless of my own usage, ironically you just inadvertantly pointed=20 > out a whole class of false negatives pkg_pretend has. >=20 > Specifically,=20 >=20 > 1) starting w/ a configured kernel at /usr/src/linux > 2) merging a version of aufs2 requiring new kernel sources > 3) emerge runs pkg_pretend. aufs2 does it's checks w/in pkg_pretend,=20 > sees the old configured kernel and thinks things are fine > 4) new kernel sources get merged. /usr/src/linux is no lnger a=20 > configured kernel. > 5) aufs2 blows up during its build due to an unconfigured=20 > kernel. >=20 > Since I'm in the mood for a Scooby Doo quote, "wraut-wroh". This isn't a breakage that's introduced by pkg_pretend. It's a breakage that's already there. --=20 Ciaran McCreesh --Sig_/NZVdkJ7B/yXl1a5wdRw60Yc Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAku0iIEACgkQ96zL6DUtXhG9lQCggIWV+k7CDohxUv0akeMcd3l8 K7MAn1QFhXizNyBjD3nwj0Q9RIq7GPqx =KJLR -----END PGP SIGNATURE----- --Sig_/NZVdkJ7B/yXl1a5wdRw60Yc--