* [gentoo-user] emerge and running tests as non-root
@ 2009-07-17 20:04 Mike Edenfield
2009-07-18 0:04 ` Daniel Iliev
0 siblings, 1 reply; 2+ messages in thread
From: Mike Edenfield @ 2009-07-17 20:04 UTC (permalink / raw
To: gentoo-user
In trying to merge the most recent mysql, I am getting this notice at
the start of the ebuild:
* Testing with FEATURES=-userpriv is no longer supported by upstream.
Tests MUST be run as non-root.
Is there a way to actually do what it suggests using just emerge, or
would I need to ebuild this package in two steps (ebuild test, then
ebuild merge as root)?
--K
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] emerge and running tests as non-root
2009-07-17 20:04 [gentoo-user] emerge and running tests as non-root Mike Edenfield
@ 2009-07-18 0:04 ` Daniel Iliev
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Iliev @ 2009-07-18 0:04 UTC (permalink / raw
To: gentoo-user
On Fri, 17 Jul 2009 16:04:38 -0400
Mike Edenfield <kutulu@kutulu.org> wrote:
> In trying to merge the most recent mysql, I am getting this notice at
> the start of the ebuild:
>
> * Testing with FEATURES=-userpriv is no longer supported by upstream.
> Tests MUST be run as non-root.
>
> Is there a way to actually do what it suggests using just emerge, or
> would I need to ebuild this package in two steps (ebuild test, then
> ebuild merge as root)?
>
> --K
>
>
===
make.conf (5)
userpriv
Allow portage to drop root privileges and compile
packages as portage:portage without a sandbox (unless
usersandbox is also used).
===
So, you've got it wrong.
Because of the minus, "-userpriv" means "_forbid_ portage to drop root
privileges" or in other words "use root privileges". Well, mysql
build doesn't want to run tests as root (which is commendable), hence
the error you get. I'd kindly advice to enable that feature by
removing the minus sign from it not only for mysql, but at all.
--
Best regards,
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-18 0:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 20:04 [gentoo-user] emerge and running tests as non-root Mike Edenfield
2009-07-18 0:04 ` Daniel Iliev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox