From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 27C40138330 for ; Tue, 13 Sep 2016 15:12:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDAD5E0B07; Tue, 13 Sep 2016 15:12:12 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) (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 80D61E09B2 for ; Tue, 13 Sep 2016 15:12:12 +0000 (UTC) Received: by mail-qk0-f171.google.com with SMTP id h8so90195580qka.1 for ; Tue, 13 Sep 2016 08:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=nf+GvqtqPaHv48vWCGVhMJ0TpyLiiIbjVY0OeR4bSNU=; b=HFyholn5aSecX0cyDkbriQtTzrt5+qsFFfc53K6UECpj25Uiuaa75VJaHL8/pC2Cwa kcUgCLlQy2di+8j7TUcEyQzRNSTW8Pwd4PfgUosMBBNGX8D1rf9pG5tpL40049TzJMzO Zp+zY5bDU9u/L8gNsfHEQYIg++5sUP1mxuO7ZT+qWeXak8whXsSSm+nBuGd6HLuo+5Bd GACJruEangO6SGM+oFQ+NfvD60LAE6/UgCfoEUGgxvdkGdfHK/biDSaWCwzBqsJrhI4n 7l53JkXMtuAI/qXUGADEUaR+Nl1j6zyOVmq8xpaICBeQzndvnFfDbYC4ND15RUXW6AT7 fbfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=nf+GvqtqPaHv48vWCGVhMJ0TpyLiiIbjVY0OeR4bSNU=; b=EBfJAVvZiBDgMHVd3QHc991VlvPzzRZLk/RKMfLY7GsVPwZL2gDVOH4AsTdLuxvctm XVZArmSPJn9MGujIyCRg0OA5QN5ygCNoyD1ZQNWCnewJ4qIezJZmUHF2fIi7a8nVYEw4 +7fMhxxCwZIe9GYC0angJAqvhP1aTRE0+PSrawz0rid08Bg1ri7SvXxnMgc7W3NYnKf4 Mw1rmkkeBCPAICs6uU6jZ3wPfTgLeGZhMRWVxs2FqZ1eEg6j3FzQiwP6IiDr4fqhnZ0K RixnOz7o2wb3x/qarGbcjl8lO/7lJLjnugwZ3Lxw/DVnyFsKMDUydYb8OCwg6ZYLhpH+ SnKA== X-Gm-Message-State: AE9vXwNCsdO1khya4MFXJBHthT4vn9xB2N4J/1SkXFqAh1oAJasBuaOKSW4pwJNapPD5n8Mut3+5wXuHKKh2eA== X-Received: by 10.55.181.195 with SMTP id e186mr1491399qkf.153.1473779531713; Tue, 13 Sep 2016 08:12:11 -0700 (PDT) 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 Sender: freemanrich@gmail.com Received: by 10.140.40.105 with HTTP; Tue, 13 Sep 2016 08:12:11 -0700 (PDT) In-Reply-To: <20160913131251.GA42144@becker.bs.l> References: <20160913082326.GA38638@becker.bs.l> <72ddea8d-cf3d-74a3-3700-9ce6397be500@gentoo.org> <20160913131251.GA42144@becker.bs.l> From: Rich Freeman Date: Tue, 13 Sep 2016 11:12:11 -0400 X-Google-Sender-Auth: x9wOP6YjgmQPqFu08uq6kuhPASI Message-ID: Subject: Re: [gentoo-user] Emerge interferes with Git (Was: Wlan disappeared after suspend) To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 7f025688-505a-4606-850f-f466b60422f7 X-Archives-Hash: b234c4be20731abfd3e2c3d562780f10 On Tue, Sep 13, 2016 at 9:12 AM, Bertram Scharpf wrote: > > The rfkill install interferes with Git! > > Error log: > P: /usr/portage/.git/index.lock > A: /usr/portage/.git/index.lock > R: /usr/portage/.git/index.lock > C: git update-index --refresh --unmerged > >>>> '/usr/portage/tmp/portage/net-wireless/rfkill-0.5/temp/build.log' > > I helped myself by renaming the .git directory, but that's > only a workaround. > > How can I fix this? Should I report this? > It looks like you have your PORTAGE_TMPDIR set as /usr/portage/tmp? I'm not sure if that is supposed to work or not, but I suspect that might be the problem. Since it is located INSIDE a git repository (if you have /usr/portage checked out from git), I suspect there is some confusion if the package is trying to check something else out using git or otherwise manipulate it. The .git directory is outside of the sandbox so it shouldn't be able to be modified. I suggest moving PORTAGE_TMPDIR to someplace like /var/tmp or /tmp or someplace else. It isn't really ideal to have volatile information in /usr anyway (this is the part where everybody chimes in and points out that /usr/portage is in the wrong place to begin with). -- Rich