gensgmlenv is called in sgml-catalog.eclass. gensgmlenv belongs to app-text/sgmltools-lite and it's not added to DEPEND.
Actually it checks if gensgmlenv exists, so I'm not sure if sgmltools-lite should be in DEPEND.
This was lodged in May 2008. Has this gap been in existence and unfilled all this time? In the eclass DEPEND=">=app-text/sgml-common-0.6.3-r2" becomes DEPEND=">=app-text/sgml-common-0.6.3-r2 >=app-text/sgmltools-lite-3.0.3-r10 " if [ -e "${EPREFIX}/usr/bin/gensgmlenv" ] then Clearly the following code block is never reached without sgmltools-lite being emerged. How did we do without it?