public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Covici <covici@ccs.covici.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to test package install?
Date: Wed, 14 Feb 2018 22:37:50 -0500	[thread overview]
Message-ID: <m3k1ve6hyp.wl-covici@ccs.covici.com> (raw)
In-Reply-To: <20180215023750.rbva7yn3dweqs35d@matica.foolinux.mooo.com>

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


  reply	other threads:[~2018-02-15  3:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15  2:37 [gentoo-user] How to test package install? Ian Zimmerman
2018-02-15  3:37 ` John Covici [this message]
2018-02-15  7:15 ` Alan McKinnon
2018-02-15  8:20 ` Neil Bothwick
2018-02-15 22:39 ` Andreas K. Huettel
2018-02-15 23:21   ` [gentoo-user] " Ian Zimmerman
2018-02-17  2:12     ` Andreas K. Huettel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k1ve6hyp.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox