There are various references to 'root' user in games.eclass, which of course fail when superused is named differently. The ebuild should not rely on a specific naming of superuser (it is perfectly legit to supply numeric UID/GID to chown).
Created attachment 228215 [details, diff] Patch making games.eclass superuser name-aware First of all, to make things simpler and avoid unnecessarily calling egetent, I've made GAMES_USER numeric by default. This shouldn't create any issues. Moreover, I've replaced all other direct 'root' username occurrences with UID 0 (in fowners). I've also enhanced the games_pkg_setup() superuser checking to check for both UID 0 and real superuser name (gathered using egetent as eutils.eclass is already being inherited).
i'm not interested in screwing with root user. there is plenty of code in packages and in the tree that fall flat when root != 0. games is not special in this regard. since the portage tree has seen changes wrt root group due to the BSD guys, i dont have a problem making a change along those lines (either "wheel" or "0", i forget which BSD prefers). talk to them to figure it out.
(In reply to comment #2) > i'm not interested in screwing with root user. there is plenty of code in > packages and in the tree that fall flat when root != 0. games is not special > in this regard. It's the opposite. 0 != root. And yes, there's a lot of broken packages and eclasses which need to be _fixed_. > since the portage tree has seen changes wrt root group due to the BSD guys, i > dont have a problem making a change along those lines (either "wheel" or "0", i > forget which BSD prefers). talk to them to figure it out. Using 'wheel' would break Linux instead, that's why '0' is being used. Do I have to wait till BSD starts to name their superuser differently to see the issue fixed?
'0 === root' on linux systems. if you have some stupid broken system where this isnt true and you arent going to fix it, then this is a discussion to bring on up gentoo-dev lists. throwing random patches at bugzilla isnt going to change a thing.