Created attachment 929450 [details] build.log Commit 0f5b1abe ("acct-user.eclass: handle ACCT_USER_HOME_OWNER when ROOT is not empty") breaks acct-user/portage installation with the error "chown: invalid spec" during cross-building. Need more investigation for other acct-user/* acct-group/* packages.
If you already have a binary package, you need to build it again manually, or it will still fail.
Related bug: https://bugs.gentoo.org/956026
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5b1abe6af8e4158491d11370748edc9a004223
It works fine for me. Yes, you will need to rebuild any affected binpkgs.
I did push this fix, but I think it is unrelated to the issue you experienced. commit 8b4146d87806731a0d63c0c2b8352a88deb2a31b Author: Mike Gilbert <floppym@gentoo.org> Date: Sat May 24 13:07:24 2025 -0400 acct-user.eclass: ensure groups is set in pkg_preinst Signed-off-by: Mike Gilbert <floppym@gentoo.org>
(In reply to Sungjoon Moon from comment #1) > If you already have a binary package, you need to build it again manually, > or it will still fail. I mean if you revert that commit, you still need to rebuild the package. emerge doesn't know it's updated.
Yes, the environment is saved in binpkgs. Does it still fail with the later commit floppym pushed (with a clean binpkg)?
It works! Huge thanks to both of you