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 1QEkDt-00023U-NK for garchives@archives.gentoo.org; Tue, 26 Apr 2011 15:30:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71E061C065; Tue, 26 Apr 2011 15:29:09 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) by pigeon.gentoo.org (Postfix) with ESMTP id 3FC921C065 for ; Tue, 26 Apr 2011 15:29:09 +0000 (UTC) Received: from [10.1.1.204] (unknown [65.213.236.244]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id F0FB837AD8 for ; Tue, 26 Apr 2011 11:29:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1303831748; bh=SydZE34X20qX29GuMm1qCd7a3NiBTWAVGj84N3YD+Zg=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=eFJHWCxplGwLQv6c8nZBxoIfQO9g6jDfwhTb8G/flyZbnUvx3Dyj9VRwEcjrS1h5v 5CQWS0WYtANRSpSQ5AWmlGJc6g5uxkrHad531RfKSBkYNqa3TBkwZGngBTEnpfjoXD tqxYmhK5UrjSbCsGGIZ2HARDn5U0YkzyNX9DwNP8= Message-ID: <4DB6E4C4.9070109@orlitzky.com> Date: Tue, 26 Apr 2011 11:29:08 -0400 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110405 Lightning/1.0b3pre Thunderbird/3.1.7 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] You have no world file References: <4DAF01FA.50509@orlitzky.com> <4DAFBE49.2070100@orlitzky.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 753e59835b40ba02dab6f74bf3d3e9c3 On 04/26/11 10:31, Dan Cowsill wrote: > > Why I love this list in one thread. > > Anyway, just an update on the situation. As far as I can tell, this > 'you have no world file' error only shows up when i'm doing a > --depclean. Also, it is intermittent. Right now, -pcv works just fine > and reports the correct number of packages to be removed (zero). I'm > not sure what breaks this, or if it will be broken in the future. > > At this point, I'm not terribly worried about the whole thing, but I am > rather curious. > Well, the "You have no world" message only shows up in one place. /usr/lib/portage/pym/_emerge/actions.py: psets = root_config.setconfig.psets ... selected_set = psets['selected'] ... if not selected_set: writemsg_level("!!! You have no world file.\n", level=logging.WARNING, noiselevel=-1) The 'psets' variable gets set in /usr/lib/portage/pym/_emerge/main.py: setconfig.psets['selected'] = WorldSelectedSet(root_config.settings['EROOT']) and that WorldSelectedSet class is defined in, /usr/lib/portage/pym/portage/_sets/files.py If you *really* want to know what's going on, you could throw some debug statements in main.py whenever the 'psets' variable gets set. That way you can at least see which file it's looking for. I'm not a doctor but it's probably perfectly safe.