As I reported in the bug #54888 with gimp 2.0.2 also gtk+-2.4.3 needs a file from the internet when building docs (I guess). This is the error I get when I try to compile it: *** Building HTML *** rm -rf ./html mkdir ./html cd ./html && gtkdoc-mkhtml gdk-pixbuf ../gdk-pixbuf.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 make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.3-r1/work/gtk+-2.4.3/docs/reference/gdk-pixbuf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.3-r1/work/gtk+-2.4.3/docs/reference' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.3-r1/work/gtk+-2.4.3/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.3-r1/work/gtk+-2.4.3' make: *** [all] Error 2 !!! ERROR: x11-libs/gtk+-2.4.3-r1 failed. !!! Function src_compile, Line 68, Exitcode 2 !!! (no error message) I encountered this because I have the doc use flag set and no permanent internet connection so I cannot be connected to the internet during the compile process. Reproducible: Always Steps to Reproduce: 1. emerge =x11-libs/gtk+-2.4.3-r1 2. 3. Actual Results: Got the described error. Expected Results: Compile cleanly. It should not need a file from the internet during compiling. # emerge info Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 AMD Duron(tm) Gentoo Base System version 1.5.1 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm avi berkdb bonobo cdr clamav crypt cups dedicated doc dvd encode esd fbcon foomaticdb freetype gd gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime radeon readline ruby samba sdl slang spell sse ssl tcltk tcpd tetex truetype usb videos x86 xml2 xmms xv zlib"
do we have chunk.xsl in the stylesheets in any of the docbook stylesheet packages?
*** Bug 56329 has been marked as a duplicate of this bug. ***
*** Bug 54888 has been marked as a duplicate of this bug. ***
chunk.xsl is in docbook-xsl-stylesheets-1.62.4 (in my box)
same here. Reporter do you have that package installed ?
Sry for answering so late, but I was on vacation till today ... Yes, I have the package installed. Does compiling work at your machine having this package installed?
Please update docbook-xml-dtd and docbook-xsl-stylesheets, which will use the new build-docbook-catalog script and should fix your errors. Thanks.
Updated as requested and gtk+-2.4.4 compiled without error here.
Thanks for reporting back! The new build-docbook-catalog is much more reliable (Thanks to Aron).