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 1C57B1382C5 for ; Thu, 15 Feb 2018 23:21:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BC4AE09D7; Thu, 15 Feb 2018 23:21:49 +0000 (UTC) Received: from very.loosely.org (very.loosely.org [173.255.215.69]) (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 B3B12E09B0 for ; Thu, 15 Feb 2018 23:21:46 +0000 (UTC) Received: from [10.8.78.6] (port=56850 helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtp (Exim 4.89) (envelope-from ) id 1emSqX-0004gR-Hq for gentoo-user@lists.gentoo.org; Thu, 15 Feb 2018 15:21:45 -0800 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.89) (envelope-from ) id 1emSqP-00046O-QQ for gentoo-user@lists.gentoo.org; Thu, 15 Feb 2018 15:21:37 -0800 Date: Thu, 15 Feb 2018 15:21:37 -0800 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: How to test package install? Message-ID: <20180215232137.zixbaadh6plxnwxd@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20180215023750.rbva7yn3dweqs35d@matica.foolinux.mooo.com> <3375887.DmIWoI9ioX@pinacolada> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3375887.DmIWoI9ioX@pinacolada> X-Loosely-Listed: yes User-Agent: NeoMutt/20170707-dirty (1.8.3) X-Archives-Salt: 47c84c94-2dea-44fc-8e27-4d774defb874 X-Archives-Hash: 33e911846a7ae50edc7b573c3f6cf136 On 2018-02-15 23:39, Andreas K. Huettel 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. > That should usually "just work". > > Did you use fakeroot directly (bad), or did you add "fakeroot" to > FEATURES in make.conf (good)? The former. I didn't know about the feature. Is it safe to enable it for "production" runs as well? -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.