Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106880 - dev-libs/liboil-0.3.2 does't compile - failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
Summary: dev-libs/liboil-0.3.2 does't compile - failed to load external entity "http:/...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Zaheer Abbas Merali (RETIRED)
URL:
Whiteboard:
Keywords:
: 115405 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-22 04:53 UTC by Stefaan De Roeck (RETIRED)
Modified: 2007-04-01 21:36 UTC (History)
2 users (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 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-22 04:53:46 UTC
Trying to emerge [-P-] [ ~] dev-libs/liboil-0.3.2 (0.3)

*** Building XML ***
cd . && \
gtkdoc-mkdb --module=liboil --source-dir=../liboil --output-format=xml
--sgml-mode --output-format=xml
49% symbol docs coverage (175 symbols documented, 180 not documented)
See liboil-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
*** Building HTML ***
rm -rf ./html
mkdir ./html
cd ./html && gtkdoc-mkhtml liboil ../liboil-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[2]: *** [html-build.stamp] Error 5
make[2]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2'
make: *** [all] Error 2

!!! ERROR: dev-libs/liboil-0.3.2 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs digest distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_US de en_GB fr nl zh_CN zh_TW"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="cvs://stefaan@cvs.gentoo.org:/var/cvsroot"
USE="x86 X afs alsa apm arts avi berkdb bitmap-fonts cdr cjk crypt cups curl eds
emboss encode esd f77 fam flac fltk foomaticdb fortran gd gdbm gif gnome gphoto2
gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java jpeg jpeg2k junit kde
kerberos libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nis nls ogg
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis
xine xinerama xml2 xmms xv zlib linguas_en_US linguas_de linguas_en_GB
linguas_fr linguas_nl linguas_zh_CN linguas_zh_TW userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 beigetangerine 2005-09-22 17:46:23 UTC
I had the same problem.  If I'm understanding things correctly, /etc/xml/docbook
was not updated to point at the new /usr/share/sgml/docbook/xsl-stylesheets-*
directory.  Re-emerging app-text/docbook-xsl-stylesheets and
app-text/docbook-xml-dtd didn't help, apparently because it couldn't find
/usr/bin/build-docbook-catalog, which should have existed, since
app-text/build-docbook-catalog claimed to have been present on my system.  I
re-emerged build-docbook-catalog, ran etc-update, ran build-docbook-catalog, and
re-emerged the other two again, and liboil compiled.

I'm guessing you could get away with emerging build-docbook-catalog and running
/usr/bin/build-docbook-catalog.  I'm not sure why build-docbook-catalog wouldn't
work -- I didn't think to check whether it existed, whether it was executable,
etc. before re-emerging it, so I'm not sure where the problem originated.
Comment 2 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-23 08:47:14 UTC
Thanks for the tips, it made it work on my system:

sderoeck@olympia ~ $ equery l app-text/build-docbook-catalog
[ Searching for package 'build-docbook-catalog' in 'app-text' among: ]
 * installed packages
[I--] [  ] app-text/build-docbook-catalog-1.2 (0)

sderoeck@olympia ~ $ equery f app-text/build-docbook-catalog
[ Searching for packages matching app-text/build-docbook-catalog... ]
app-text/build-docbook-catalog-1.2
* Contents of app-text/build-docbook-catalog-1.2:
/usr
/usr/bin
/usr/bin/build-docbook-catalog

sderoeck@olympia ~ $ ls -l /usr/bin/build-docbook-catalog
ls: /usr/bin/build-docbook-catalog: No such file or directory

olympia ~ # emerge app-text/build-docbook-catalog
-- cut --

following your suggestions (except that I didn't re-emerge
app-text/docbook-xsl-stylesheets or app-text/docbook-xml-dtd) made it work.  

But I guess the question remains: what causes this problem?  
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-16 14:31:26 UTC
*** Bug 115405 has been marked as a duplicate of this bug. ***
Comment 4 Oleg Golberg 2006-03-26 12:01:07 UTC
Yet another solution is to enhance the liboil ebuild with the patch proposed in bug #107267 and build liboil with -doc use-flag.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 21:36:34 UTC
Old; reopen if you can reproduce w/ 0.3.10-r1