Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120367 - scrollkeeper cannot find Docbook XML DTD
Summary: scrollkeeper cannot find Docbook XML DTD
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 19:59 UTC by Starling
Modified: 2006-01-28 07:22 UTC (History)
0 users

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


Attachments
Log of the failed build configuration (config.log,27.29 KB, text/plain)
2006-01-25 20:00 UTC, Starling
Details
/etc/xml/catalog (catalog,892 bytes, text/plain)
2006-01-25 20:01 UTC, Starling
Details
/etc/xml/docbook (docbook,12.12 KB, text/plain)
2006-01-26 19:30 UTC, Starling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Starling 2006-01-25 19:59:43 UTC
The latest ebuild of scrollkeeper, whom glade and gucharmap depend on, fails with the message "checking for DocBook XML DTD... configure: error: not found. Make sure you have the DocBook DTD installed and ensure that it is registered in /etc/xml/catalog."  I have studied DocBook in detail, and I conclude that it's totally freaking insane. Hopefully someone else actually understands how this all works and can fix the scrollkeeper dependancies or ebuild.  It's probably something typical of DocBook, like a missing stylesheet by Bernard Odues for an XSLT transformation to process the OSD file into a translation table that performs an XSLT transformation to process the source document into a XML form which can then be converted by the standard XML DTD (an XSLT transformation transformation) into various documentation formats.

I will attach my config.log, as well as my current XML DocBook catalog.

Gentoo Base System version 1.6.14
Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-hardened-r4 i686)
=================================================================
System uname: 2.6.14-hardened-r4 i686 AMD Sempron(tm)   2200+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://127.0.0.1:9115/http://distfiles.gentoo.org/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.117.143.69 http://85.25.128.62 http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.inode.at/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://213.186.33.37/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://206.75.218.52/ ftp://213.186.33.38/gentoo-distfiles/ ftp://gentoo.inode.at/source/ ftp://213.186.33.37/gentoo-distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acpi alsa audiofile avi bzip2 bzlib caps cdr crypt curl directfb dlloader emacs encode ethereal exif expat fam fbcon fortran gd gdbm gif glut gmp gpm gtk gtk2 guile hardened idn imagemagick imap imlib jpeg lcms libwww mad mhash mikmod ming mmx mng mp3 mpeg mysql ncurses nls nodrm nptl nptlonly offensive ogg oggvorbis opengl pam pcre perl pic plotutils png python quicktime readline real recode ruby samba sasl sdl slang ssl svga tcltk tcpd tetex tiff truetype udev unicode userlocales vorbis x86 xanim xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Starling 2006-01-25 20:00:37 UTC
Created attachment 78129 [details]
Log of the failed build configuration
Comment 2 Starling 2006-01-25 20:01:59 UTC
Created attachment 78130 [details]
/etc/xml/catalog
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-26 11:25:32 UTC
> I have studied DocBook in detail, and I conclude that
> it's totally freaking insane.

Haha... this line has made my day... :)

Now, regarding the problem, the ebuild for scrollkeeper is okay, and lists at least version 4.1.2 of the XML DTD, so ideally this kind of errors shouldn't happen.

What's the file you attached on comment #3? Please attach the contents from /etc/xml/catalog and /etc/xml/docbook, and also include the output from "equery l docbook-xml-dtd" to see which DTDs you have in your system. Thanks.
Comment 4 Starling 2006-01-26 19:29:34 UTC
Comment on attachment 78130 [details]
/etc/xml/catalog

My XML catalog scrollkeeper seems to fail on.
Comment 5 Starling 2006-01-26 19:30:06 UTC
Created attachment 78251 [details]
/etc/xml/docbook
Comment 6 Starling 2006-01-26 19:32:32 UTC
Yessir!  I attached the two files, and here's my 'equery l docbook-xml-dtd':
 * installed packages
app-text/docbook-xml-dtd-4.1.2-r5
app-text/docbook-xml-dtd-4.2-r1
app-text/docbook-xml-dtd-4.3
app-text/docbook-xml-dtd-4.4
Comment 7 Starling 2006-01-27 19:45:09 UTC
I did some more looking into this today, and I found this thread:
http://forums.gentoo.org/viewtopic.php?t=173841

This post worked quite well:
http://forums.gentoo.org/viewtopic-p-1614317.html#1614317

I'm not sure how this error happened.  I never touched my /etc/xml/catalog file before, but somehow it got frobnicated perhaps during an ebuild process.  I notice in my logs that libxml updated recently:
1138200507:  ::: completed emerge (8 of 17) dev-libs/libxml2-2.6.23 to /

So that's probably where the catalog got screwed up.  Perhaps the devs of the libxml ebuild are aware of the problem.  For scrollkeeper though, the solution is simply:

# xmlcatalog --create > /etc/xml/catalog
# build-docbook-catalog
# emerge scrollkeeper
Comment 8 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-28 07:22:22 UTC
Most definitely a local problem.