Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56323 - compiling of gtk+-2.4.3-r1 needs external file which should not be
Summary: compiling of gtk+-2.4.3-r1 needs external file which should not be
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 54888 56329 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-07 06:10 UTC by Martin Wegner
Modified: 2004-07-25 23:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wegner 2004-07-07 06:10:31 UTC
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"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-07-08 07:14:57 UTC
do we have chunk.xsl in the stylesheets in any of the docbook stylesheet packages?
Comment 2 foser (RETIRED) gentoo-dev 2004-07-19 06:22:01 UTC
*** Bug 56329 has been marked as a duplicate of this bug. ***
Comment 3 foser (RETIRED) gentoo-dev 2004-07-19 06:23:52 UTC
*** Bug 54888 has been marked as a duplicate of this bug. ***
Comment 4 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2004-07-19 10:09:41 UTC
chunk.xsl is in docbook-xsl-stylesheets-1.62.4 (in my box)
Comment 5 foser (RETIRED) gentoo-dev 2004-07-19 11:26:57 UTC
same here. Reporter do you have that package installed ?
Comment 6 Martin Wegner 2004-07-24 11:10:54 UTC
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?
Comment 7 Mike Gardiner (RETIRED) gentoo-dev 2004-07-24 22:32:42 UTC
Please update docbook-xml-dtd and docbook-xsl-stylesheets, which will use the new build-docbook-catalog script and should fix your errors.

Thanks.
Comment 8 Martin Wegner 2004-07-25 23:12:36 UTC
Updated as requested and gtk+-2.4.4 compiled without error here.
Comment 9 Mike Gardiner (RETIRED) gentoo-dev 2004-07-25 23:15:30 UTC
Thanks for reporting back! The new build-docbook-catalog is much more reliable (Thanks to Aron).