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 273E71382C5 for ; Thu, 15 Feb 2018 03:38:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E60C7E0970; Thu, 15 Feb 2018 03:37:53 +0000 (UTC) Received: from mail0205.smtp25.com (mail0205.smtp25.com [174.37.170.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79889E0958 for ; Thu, 15 Feb 2018 03:37:52 +0000 (UTC) Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.9/8.14.8) with ESMTP id w1F3boG0005395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 14 Feb 2018 22:37:51 -0500 Received: (from covici@localhost) by ccs.covici.com (8.14.9/8.13.7/Submit) id w1F3bokg005394; Wed, 14 Feb 2018 22:37:50 -0500 Date: Wed, 14 Feb 2018 22:37:50 -0500 Message-ID: From: John Covici To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to test package install? In-Reply-To: <20180215023750.rbva7yn3dweqs35d@matica.foolinux.mooo.com> References: <20180215023750.rbva7yn3dweqs35d@matica.foolinux.mooo.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Covici Computer Systems 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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SpamH-Filter: s-out-001.smtp25.com-w1F3bpfK013887 X-SpamH-OriginatingIP: 70.109.53.110 X-Archives-Salt: 7c7533dc-fce6-4bee-9180-617d1c580ec5 X-Archives-Hash: 82827fb6ce465806e3b29d944a14ce4d On Wed, 14 Feb 2018 21:37:50 -0500, Ian Zimmerman wrote: > > I'm trying to test my package by running "ebuild /path/to/pkg.ebuild > install". Naturally (for me) I do this as an unprivileged user, not as > root. It fails because at least some steps such as dobin need to give > away ownership of the files being installed. I tried to run the whole > thing including compilation under fakeroot but that doesn't help. > > If it is relevant (but I don't think it is) my user _is_ in the portage > group. > > What is the accepted or usual way to do this task? Usually installs are always done as root -- because there is always something like what you have described. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com