public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Iliev <daniel.iliev@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge and running tests as non-root
Date: Sat, 18 Jul 2009 03:04:58 +0300	[thread overview]
Message-ID: <20090718030458.7d7afdd9@ilievnet.com> (raw)
In-Reply-To: <4A60D956.1000904@kutulu.org>

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



      reply	other threads:[~2009-07-18  0:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-17 20:04 [gentoo-user] emerge and running tests as non-root Mike Edenfield
2009-07-18  0:04 ` Daniel Iliev [this message]

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=20090718030458.7d7afdd9@ilievnet.com \
    --to=daniel.iliev@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