From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6CA971381F3 for ; Wed, 11 Sep 2013 22:04:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29E13E0B50; Wed, 11 Sep 2013 22:04:33 +0000 (UTC) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C229E0AFC for ; Wed, 11 Sep 2013 22:04:31 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id e11so7203694wgh.21 for ; Wed, 11 Sep 2013 15:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=/bXo7qW8dHUXP4zESU2VyIypNlhdwvtkG3axRUEPDNE=; b=fqJ7RsOH69/Zx1qMk33oKBaV7XUYf84xM7MV/2EOXSsdv29dtTGRQ17rTT6i7tv5vS ppre3oAZw7Y6DotKBaAI5ciLW124t3E3FlGAybLaKQZG7tcCQSSh3cmMB/MR+0YnGm8V j8HJTctaoVhm+u9UbhiHL+BZhUKDVCPOaTR/96Bi+BCuQyJh8W/K0jyj01KO/DQHjNnZ U9zuMKb9D43Lib2viOUDbQh/hzOzDDEhcWoi/s+2xsOuT2l0LlEzaiSrF4/EJDH8dEqz b8UeUBqzvrlihWAuvKxKfHxPeQR3fD8DzfMdzqV9qA7Qv9Xcs49DjbTOg4Czmtz3vgl8 GaPg== X-Received: by 10.194.89.233 with SMTP id br9mr3242224wjb.15.1378937070730; Wed, 11 Sep 2013 15:04:30 -0700 (PDT) Received: from [172.20.0.41] (196-210-126-33.dynamic.isadsl.co.za. [196.210.126.33]) by mx.google.com with ESMTPSA id li9sm237890wic.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Sep 2013 15:04:30 -0700 (PDT) Message-ID: <5230E7FD.4000706@gmail.com> Date: Thu, 12 Sep 2013 00:00:29 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 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] creating overlay to modify net-fs/samba-3.6.18 References: <522F7CE5.8010801@taydin.org> <522F88BF.7020002@gmail.com> <522F9BAE.1050404@taydin.org> <5230CEDB.9050908@gmail.com> <5230D69B.2010302@taydin.org> In-Reply-To: <5230D69B.2010302@taydin.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3ef4b3cb-2173-49a9-a982-0e06bbb88369 X-Archives-Hash: e5763fbf365fd0a4151d56b692d74a5e On 11/09/2013 22:46, Timur Aydin wrote: > On 09/11/13 23:13, Alan McKinnon wrote: >> I can't reproduce that fault here, and google hits on the matter seem to >> point towards stale metadata referencing eclasses that no longer exist. >> I have a hunch you do not have valid metadata for your local overlay, so >> I suggest: >> >> 1. delete the eclass directory from your overlay, run "emerge >> --metadata" and emerge samba again. See what that does. > > I have tried this, and the same problem happened, where emerge > complained that pam.eclass wasn't found. > >> 2. Set PORTDIR_CACHE_METHOD and/or OVERLAY_CACHE_METHOD explicitly in >> make.conf, the best reference for these is in the eix man page > > While reading up on the various methods in the eix man page, I started > to wonder whether a setting in /usr/local/portage/metadata/layout.conf > was causing this problem. When testing, layout.conf had only a single > entry, which was: > > masters = > > I remembered an error message from portage a while ago, which suggested > setting this to "gentoo" for backward compatibility. I tried that, and > the problem went away :) I was able to emerge samba from the overlay > successfully. Does this make sense? /headbang :-) Yes of course, it make a great deal of sense now. Basically, your local overlay had no idea where the parent portage tree is or how to find it so couldn't find the eclass directory. As I understand it, this information used to be hard-coded magic and overlays would "just know where to look". Since recently, you have to configure it explicitly and not use hidden super-magic. You would have been getting confusing messages in emerge output about a faulty masters setting for overlays, pity we didn't spot that up front. Double pity that there wasn't a clear message or news item about what the error meant and the impact.... -- Alan McKinnon alan.mckinnon@gmail.com