checking for dblatex... no checking for fop... no configure: WARNING: neither dblatex nor fop found, so no pdf output from xml checking for XML catalog (/etc/xml/catalog)... not found checking for xmlcatalog... /opt/gentoo/usr/bin/xmlcatalog checking for DocBook XML DTD V4.3 in XML catalog... not found configure: error: could not find DocBook XML DTD V4.3 in XML catalog The problem is that the prefix xmlcatalog binary is being run against a system location: /etc/xml/catalog (which doesn't exist). $EPREFIX/etc/xml/catalog, however, does.
I've just noticed that this is basically Bug 306149 over again, but no-one's noticed that src_configure() is now a separate step, rather than part of src_compile. This means that by the time G2CONF is set in src_compile, the package has already failed because /etc/xml/catalog isn't valid under prefix. How about?: --- gtk-doc-1.13-r2.ebuild +++ gtk-doc-1.13-r2.ebuild @@ -55,8 +55,12 @@ src_prepare() { epatch "${FILESDIR}/${P}-fixxref-vim-u-NONE.patch" } -src_compile() { +src_configure() { G2CONF="--with-xml-catalog=${EPREFIX}/etc/xml/catalog" + gnome2_src_configure +} + +src_compile() { gnome2_src_compile use emacs && elisp-compile tools/gtk-doc.el
fixed, thanks