From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MRxQH-00054h-2E for garchives@archives.gentoo.org; Sat, 18 Jul 2009 00:05:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91794E020B; Sat, 18 Jul 2009 00:05:02 +0000 (UTC) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by pigeon.gentoo.org (Postfix) with ESMTP id 49174E020B for ; Sat, 18 Jul 2009 00:05:02 +0000 (UTC) Received: by bwz27 with SMTP id 27so896248bwz.34 for ; Fri, 17 Jul 2009 17:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=0d6E/J9Y3XHQnZG1Dyy0SepPidqoB/ddZ1oYqmyeEy4=; b=XboT8yVXdAYazbI0+8Y51SKi480qa3jktOGPR6b5gWuoE3f3pJBdTyMSHYpCsGevdm ZAjn7XxRn8c5BMKcFDIdDJzQ23gJGzq1Ohk5FNzuK3iu3J9IrVZkCMBhn87TjEd0KJeA MlHS+BHCp1hTLlM8MXqa7AmKjwETGJM4rOkic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=gycQEfIKfprl+FPIARR0pvEKw9SVx+8x5h5/3pQwqNFJnkfV8RpIGRE8gNNVWcEly7 jDH6fb/kWYnGHGkuGF+Qayy1ezVD6fXzKXffthRvAudN473DMJrL2YCFqxpC/HxZBlus 1IPgKnf/G0NqAybPKiFHGjjkEusyiF1j1sSJE= Received: by 10.103.177.1 with SMTP id e1mr842949mup.111.1247875501437; Fri, 17 Jul 2009 17:05:01 -0700 (PDT) Received: from ilievnet.com ([84.21.204.200]) by mx.google.com with ESMTPS id 23sm8928414mun.46.2009.07.17.17.05.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Jul 2009 17:05:00 -0700 (PDT) Date: Sat, 18 Jul 2009 03:04:58 +0300 From: Daniel Iliev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emerge and running tests as non-root Message-ID: <20090718030458.7d7afdd9@ilievnet.com> In-Reply-To: <4A60D956.1000904@kutulu.org> References: <4A60D956.1000904@kutulu.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: e4c7d0df-bae6-4cf3-9cab-a3efa31a4850 X-Archives-Hash: b1dae7a33282ab3232f0feba52af3246 On Fri, 17 Jul 2009 16:04:38 -0400 Mike Edenfield 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