docbook-sgml-utils include docbook2pdf, which itself needs jadetex to work correctly. Reproducible: Always Steps to Reproduce: 1. Install docbook-sgml-utils and dependancies 2. Try to use docbook2pdf on a file. Actual Results: docbook2pdf fails because it needs pdfjadetex, provided by jadetex. Expected Results: Installation of docbook-sgml-utils should have installed jadetex as a dependancy, to allow users to use docbook2pdf. Version of docbook-sgml-utils used: 0.6.12
jadetex is a dependency with the use 'tetex' enabled. If you want to use docbook2pdf you can emerge docbook-sgml-utils with this use flag enabled.
emerging jadetex had tetex as a dependancy without modifying other USE flags.
tetex USE flag is automatically enabled if you have app-text/tetex installed on your system. (unless you explicitly turned off by specifying USE="-tetex") It isn't too much to install jadetex for those who have tetex, but I guess it is too much to install jadetex and tetex for those who only want to install docbook-sgml-utils. Notably, GNOME depends on scrollkeeper and scrollkeeper depends on docbook-sgml-utils, which means if you want to install GNOME you need to install tetex (if you make docbook-sgml-utils hard-depend on jadetex). This isn't welcomed for all GNOME users, IMO. So I think the current DEPEND is correct (somewhat broken, though). What do you say about adding einfo to dokbook-sgml-utils to inform users to install jadetex if they want to use docbook2pdf?
I'd rather have docbook-sgml-utils not install docbook2pdf if tetex is not USEd. At least it wouldn't produce a broken install. Same thing for other parts of the package. As for not pulling tetex as a dependancy to docbook-sgml-utils, when I emerged kde, it pulled gtk+ as a dependancy with default USE flags, so pulling more than less is already done with some packages. Is there a way to force optional dependancies to be installed if they're not already installed? Some sort of + USE flag (opposite of -)? That'd be useful when you don't want to look at each ebuild to determine what should be pulled manually before to get full functionnality (because it's not a hard dependancy). Such broken dependancies/installations is why I'd much rather install everything at once (
I'd rather have docbook-sgml-utils not install docbook2pdf if tetex is not USEd. At least it wouldn't produce a broken install. Same thing for other parts of the package. As for not pulling tetex as a dependancy to docbook-sgml-utils, when I emerged kde, it pulled gtk+ as a dependancy with default USE flags, so pulling more than less is already done with some packages. Is there a way to force optional dependancies to be installed if they're not already installed? Some sort of + USE flag (opposite of -)? That'd be useful when you don't want to look at each ebuild to determine what should be pulled manually before to get full functionnality (because it's not a hard dependancy). Such broken dependancies/installations is why I'd much rather install everything at once (à la RedHat) rather than piecemeal everyday because something is missing.
Fair enough, I'll remove docbook2pdf if USE="-tetex" from next release of docbook-sgml-utils (I'll add it to CVS soon). Gtk was emerged on your system because USE="gtk" is system profile, so if you don't want it you need to set USE="-gtk" explicitly. That is different story from tetex. We had a thread about this behaviour at gentoo-dev list last week, so if you are interested in this topic, search the list and join the discussion.
Fixed in CVS. Thanks for the bug report.