Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 224141

Summary: sgml-catalog.eclass misses dependency on sgmltools-lite
Product: Gentoo Linux Reporter: Santiago M. Mola (RETIRED) <coldwind>
Component: EclassesAssignee: Gentoo SGML project <sgml>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Santiago M. Mola (RETIRED) gentoo-dev 2008-05-29 20:23:08 UTC
gensgmlenv is called in sgml-catalog.eclass. gensgmlenv belongs to app-text/sgmltools-lite and it's not added to DEPEND.
Comment 1 Santiago M. Mola (RETIRED) gentoo-dev 2008-05-29 20:40:49 UTC
Actually it checks if gensgmlenv exists, so I'm not sure if sgmltools-lite should be in DEPEND.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-03-23 15:50:50 UTC
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?