From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-173893-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 31B89139323
	for <garchives@archives.gentoo.org>; Thu, 27 Oct 2016 01:17:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 39489E0A86;
	Thu, 27 Oct 2016 01:17:01 +0000 (UTC)
Received: from acedia.primate.net (disorder.primate.net [198.144.194.12])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CC413E0994
	for <gentoo-user@lists.gentoo.org>; Thu, 27 Oct 2016 01:16:59 +0000 (UTC)
Received: from acedia.primate.net (localhost [127.0.0.1])
	by acedia.primate.net (8.15.2/8.15.2/Debian-6) with ESMTPS id u9R1GsCn002457
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
	for <gentoo-user@lists.gentoo.org>; Wed, 26 Oct 2016 18:16:58 -0700
Received: (from itz@localhost)
	by acedia.primate.net (8.15.2/8.15.2/Submit) id u9R1Gm5Y002446
	for gentoo-user@lists.gentoo.org; Wed, 26 Oct 2016 18:16:48 -0700
X-Authentication-Warning: acedia.primate.net: itz set sender to itz@primate.net using -f
Received: from [10.8.78.14] (helo=matica.foolinux.mooo.com)
	by ahiker.mooo.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.84_2)
	(envelope-from <itz@primate.net>)
	id 1bzZJI-0003U3-2g
	for gentoo-user@lists.gentoo.org; Wed, 26 Oct 2016 18:16:48 -0700
Received: from itz by matica.foolinux.mooo.com with local (Exim 4.87)
	(envelope-from <itz@matica.foolinux.mooo.com>)
	id 1bzZJH-0004Gm-Ns
	for gentoo-user@lists.gentoo.org; Wed, 26 Oct 2016 18:16:47 -0700
Date: Wed, 26 Oct 2016 18:16:47 -0700
From: Ian Zimmerman <itz@primate.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: transplant /usr/portage [Was: Backup] [Was: Old Firefox ebuild?]
Message-ID: <20161027010800.16142.1D9B7DEA@matica.foolinux.mooo.com>
Mail-Followup-To: gentoo-user@lists.gentoo.org
References: <pan$19768$799a2a0c$ca9740e6$7f332bcc@applied-asynchrony.com>
 <20161015010142.4496.2ED89AE8@matica.foolinux.mooo.com>
 <20161015052716.661fa5d1@jupiter.sol.kaishome.de>
 <20161015054253.60a76ff2@jupiter.sol.kaishome.de>
 <20161015041847.17290.21B9F931@matica.foolinux.mooo.com>
 <20161015091458.5ca3248a@digimed.co.uk>
 <20161015191804.6010.13C4B83E@matica.foolinux.mooo.com>
 <20161015220323.30c854cd@digimed.co.uk>
 <20161026183408.11166.33666A8D@matica.foolinux.mooo.com>
 <20161026213937.3d399f06@digimed.co.uk>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20161026213937.3d399f06@digimed.co.uk>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Archives-Salt: 48d5d377-e9d0-4e79-b311-3cedf8ef4780
X-Archives-Hash: 6cd02cfbb7112b757508b7952ba2a481

On 2016-10-26 21:39, Neil Bothwick wrote:

> $ grep -r x-portage /etc/portage /var/lib/portage /usr/share/portage

Nothing.

> AIUI /usr/share/portage/repos.conf sets the defaults, which are
> overridden by the file in /etc. That's how it happens here.

Even making /usr/share/portage/repos.conf a symlink to
/etc/portage/repos.conf/gentoo.conf, and adding an extra x-portage
section to the latter with a duplicated "location = " setting changed
nothing.  This looks like a bug.  Any portage devs here?

OTOH, just making /usr/portage itself a symlink to the new location
seems to work fine; portage even resolves the symlink in all its
messages.  --sync works too.

When you moved your tree, have you in fact removed /usr/portage, or have
you left it in place but empty?

Do you use any overlays? (I do.)

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html