The PMS says: | die is not guaranteed to work correctly if called from a subshell environment. but at the same time, e.g. for emake states: | emake must be an external program and cannot be a function or alias—it must be | callable from e. g. xargs. Failure behaviour is EAPI dependent as per section | 11.3.3.1. The same holds for multiple other helpers. This implies that while 'die' is not guaranteed to work from just a subshell, it must be guaranteed to work from inside an external helper script that is potentially called on the right-hand side of a pipeline. This sounds kinda inconsistent. Ciaran explains: [17:10:06] <ciaranm> mgorny: hysterical raisans. in the old days die in a subshell just plain didn't work [17:10:17] <ciaranm> mgorny: now it usually works except when you do shenanigans...
No longer an issue in EAPI 7. Closing.