On Thu, Feb 15, 2018 at 4:37 AM, Ian Zimmerman <i...@very.loosely.org> 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
> What is the accepted or usual way to do this task?
> 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.
You can normally build as yourself. Install requires root typically due to
write permissions on *bin and /etc.
You can probably come up with a clever way to do this, but by far the
easiest is the classic:
sudo ebuild /path/to/pkg.ebuild install
alan dot mckinnon at gmail dot com