Created attachment 297865 [details] The combined output of emerge {-pqv,--info} sys-power/acpi_call and the build.log. I have FEATURES="userpriv" set in make.conf. With this setting, emerge of sys-power/acpi_call-9999 fails with a red bulleted call stack. The command following emerge command succeeds. sudo FEATURES="-userpriv" emerge -av sys-power/acpi_call
Attachment 297865 [details] contains emerge --info, emerge -pqv, and build.log.
It's somehow git issue. Can you try to remove git dir (${DISTDIR}/*git-src/acpi_call or something like this) and try again?
That fixed the problem. In /usr/portage/distfiles there existed the following directory. drwxrwxr-x 2 root root 4.0K Jan 13 13:35 egit-src I deleted that directory and was able to emerge acpi_call with userpriv enabled. This recreated that directory with a different owner. drwxrwxr-x 3 portage portage 4.0K Jan 13 13:37 egit-src I then emerged acpi_call again just to make sure that the problem would not return. This second emerge also worked fine. I unfortunately do not know what originally created the directory with root:root owner.
Nice. Then we can close this as invalid.