https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-12400011.3: | When an ebuild is being sourced for metadata querying rather than for a build | (that is to say, when none of the src_ or pkg_ functions are to be called), no | external command may be executed. The package manager may take steps to enforce | this. So now that I have a code enforcing this, all hell breaks loose...
All the violation have been fixed now (kernel bug is still open for further improvements but it doesn't cause any explosions anymore).