If the package/set doesn't exist: # emerge -uDNa @invalid FEATURES variable contains unknown value(s): split-logs ionice: option requires an argument -- 'p' Try 'ionice --help' for more information. * PORTAGE_IONICE_COMMAND returned 1 * See the make.conf(5) man page for PORTAGE_IONICE_COMMAND usage instructions. emerge: There are no sets to satisfy 'invalid'. The following sets exist: PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
I'm not able to reproduce that, and the relevant code should not be affected by arguments. The PID value should be valid in any case since it's obtained from os.getpid(). The symptom suggests that either the shlex_split or varexpand function has misbehaved, but I have no explanation for how that could happen. https://gitweb.gentoo.org/proj/portage.git/tree/lib/_emerge/actions.py?h=portage-2.3.103#n2638