Dear Paul,

Thank you very much for trying Gentoo on Android out. I guess this is of
general interest that worth a Cc to gentoo-alt mailing list.

Paul Tobias <[email protected]> writes:

> I saw your post at https://plus.google.com/+Gentoo/posts/KYRFpoyA5wA
> and I've installed gentoo prefix on my phone too.

> I have a problem though, for example when emerging app-portage/eix I
> get this error: chown: invalid user: 'portage:portage' But in the
> usr/portage/app-portage/eix/eix-0.29.6.ebuild file there is this: use
> prefix || chown portage:portage "${EROOT}var/cache/${PN}" Why does the
> use prefix returns false here? I'm not familiar enough with gentoo
> prefix to figure this out :(

I'm not sure if the error is caused by that line.

To confirm, run

$ portageq envvar USE

to see if "prefix" is in the output. 

> I've had similar problem in other packages too.

The problem lies in the userpriv feature, which changes from root to
portage when you emerge packags.

The solution is either disable userpriv feature, by having
FEATURES="-userpriv" in your make.conf, or by adding portage:portage to
your system, by editing /data/gentoo/etc/{passwd,group} or using the
useradd helper.

If you manage to fix it, feel free to document it at 

   https://wiki.gentoo.org/wiki/Project:Android/tarball 

And I'll integrate it in the next tarball.

> Keep up the good work,
Thanks!

Benda

Reply via email to