I can not succesfully emerge app-text/docbook-sgml-utils-0.6.12, the build fails. Note that this is differnt from the other bugs on docbook-sgml-utils-0.6.12 (the error messages are different). When performing the emerge: SGML_CATALOG_FILES=/etc/sgml/catalog \ SGML_SEARCH_PATH=../..:../../doc:.. \ jade -t sgml -i html -d ../../docbook-utils.dsl\#html \ -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml jade:/etc/sgml/sgml-lite.cat:1:8:E: cannot open "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" (No such file or directory) jade:/etc/sgml/sgml-lite.cat:1:8:E: cannot open "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" (No such file or directory) jade:/etc/sgml/sgml-lite.cat:1:8:E: cannot open "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" (No such file or directory) jade:/etc/sgml/sgml-lite.cat:1:8:E: cannot open "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" (No such file or directory) jade:/etc/sgml/sgml-lite.cat:1:8:E: cannot open "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" (No such file or directory) jade:/etc/sgml/sgml-lite.cat:1:8:E: cannot open "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" (No such file or directory) And this continues for a couple of hundred lines. Reproducible: Always Steps to Reproduce: 1. emerge docbook-sgml-utils 2. 3. Actual Results: The mentioned errors occured. Expected Results: Build and install. # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.22-gentoo-r5 i686) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Celeron (Mendocino) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 22 2004, 07:26:17)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.19-r1, 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm berkdb bitmap-fonts cdr crypt cups directfb doc encode fbcon font-server foomaticdb gdbm gif gpm imagemagick imap imlib innodb java jpeg libg++ libwww lirc mad maildir mikmod mmx motif mysql ncurses offensive oggvorbis pam pdflib perl php png pop3 ppds python readline samba sasl sdl sko slang snmp spell ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts usb xml xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Just tried docbook-sgml-utils-0.6.14 (needed app-text/docbook-xml-simple-dtd-1.0 for that) but it has the same issue.
Created attachment 50496 [details] Updated ebuild with corrected DEPEND list This ebuild fixes my issue.
Got it to build by emerging sgmltools-lite first. sgmltools-lite is also missing from the ebuild's DEPEND list (which seems to be the root cause). Solution might be to change the ebuild to DEPEND on sgmltools-lite (tested that, and it worked for me). Attached the modified ebuild.
sgmtools-lite is not really a dependency for docbook-sgml-utils. It looks as if your sgml catalog is/was broken. Apparently you already had sgmltools-lite installed, but then something else broke /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat.
I've recently stumbled upon the same issue and it revealed that it was caused by some stale config files left from sgmltools-lite: - /etc/sgml/sgml-lite.cat (mostly by this) - /etc/sgml/aliases It looks like removing those fixes the issue. (In hope this will help somebody)