Seems, these new ebuilds are trying to fetch xsl from sourceforge at build stage. That's completly unacceptable and should be fixed.
I don't think so, do you have any information to back up this claim(build log etc..)
forgot to close, feel free to reopen with required info.
cd ./html && gtkdoc-mkhtml glib ../glib-docs.sgml warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 6 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl make[4]: *** [html-build.stamp] Error 5
I have solved the problem myself (just unmerged all xml/xsl related sh*t from app-text and merged it back).
I think that this should be reopened. gtk+-2.6.1-r2, gtk+2.6.2 and glib-2.6.2 all fail for me with USE="doc". Here is the error from glib: *** Building HTML *** rm -rf ./html mkdir ./html cd ./html && gtkdoc-mkhtml glib ../glib-docs.sgml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 6 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl make[4]: *** [html-build.stamp] Error 5 make[4]: Leaving directory `/var/tmp/portage/glib-2.6.2/work/glib-2.6.2/docs/reference/glib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/glib-2.6.2/work/glib-2.6.2/docs/reference' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glib-2.6.2/work/glib-2.6.2/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glib-2.6.2/work/glib-2.6.2' make: *** [all] Error 2 !!! ERROR: dev-libs/glib-2.6.2 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. The errors for the gtk+ ebuilds are the same, but I can post them if you really want (I had gtk+-2.6.1-r1 and glib-2.6.1 installed with USE="doc", btw) This happens even if I'm connected to the internet. Is this fixable in Gentoo? Or is it something that can only be fixed upstream?
Re-merge, or updated docbook-xsl-stylesheets to the newest version, and/or run build-docbook-catalog.