From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to test package install?
Date: Thu, 15 Feb 2018 09:15:06 +0200 [thread overview]
Message-ID: <CAEdtorYGtW89CU3dm9Yu4HXwMQ2Y_ye6FsYfA00yVRjvV1PAKA@mail.gmail.com> (raw)
In-Reply-To: <20180215023750.rbva7yn3dweqs35d@matica.foolinux.mooo.com>
[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]
On Thu, Feb 15, 2018 at 4:37 AM, Ian Zimmerman <itz@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
> group.
>
> 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 McKinnon
alan dot mckinnon at gmail dot com
[-- Attachment #2: Type: text/html, Size: 1756 bytes --]
next prev parent reply other threads:[~2018-02-15 7:15 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
2018-02-15 7:15 ` Alan McKinnon [this message]
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=CAEdtorYGtW89CU3dm9Yu4HXwMQ2Y_ye6FsYfA00yVRjvV1PAKA@mail.gmail.com \
--to=alan.mckinnon@gmail.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