Summary: | emerge dev-db/mysql-5.0.60 fails; says that userpriv is disabled, which is not true | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jakub Januszkiewicz <jakub.januszkiewicz> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.90&r2=1.91 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jakub Januszkiewicz
2008-05-29 18:15:00 UTC
Is that the entire build log? Seems like pkg_setup() is run as root. :) http://devmanual.gentoo.org/ebuild-writing/functions/pkg_setup/index.html says: Function pkg_setup Purpose Pre-build environment configuration and checks Sandbox Disabled Privilege root Called for ebuild, binary Yes, this is the entire build log. From what you posted, I think a fix would be to revert that change in mysql.eclass (so that in pkg_setup the only test would be for the userpriv feature, not for the current user being root), is that correct? I made it non-fatal in pkg_setup for now. |