Compiling app-text/opensp-1.5.2 with "doc" useflag enabled fails, because of a missing dependency on app-text/docbook-xml-dtd-4.1.2-r6. Compile error output: make[2]: Entering directory `/var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man onsgmls.xml /usr/bin/xmlto man osgmlnorm.xml xmlto: input does not validate (status 3) /var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2/docsrc/osgmlnorm.xml:3: warning: failed to load external entity "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd"> ^ warning: failed to load external entity "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" validity error : Could not load the external subset "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" Document /var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2/docsrc/osgmlnorm.xml does not validate make[2]: *** [osgmlnorm.1] Error 3 make[2]: *** Waiting for unfinished jobs.... xmlto: input does not validate (status 3) /var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2/docsrc/onsgmls.xml:3: warning: failed to load external entity "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd"> ^ warning: failed to load external entity "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" validity error : Could not load the external subset "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd" Document /var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2/docsrc/onsgmls.xml does not validate make[2]: *** [onsgmls.1] Error 3 make[2]: Leaving directory `/var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2/docsrc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/opensp-1.5.2/work/OpenSP-1.5.2' make: *** [all] Error 2 Emerging app-text/docbook-xml-dtd-4.1.2-r6 solves the problem.
emerge --info: Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-25-686 i686) ================================================================= System uname: 2.6.15-25-686 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.leg.uct.ac.za/pub/linux/gentoo ftp://ftp.rucus.ru.ac.za/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en_ZA en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://ftp.leg.uct.ac.za/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 calendar cdparanoia cdr cli crypt cscope ctype cups dbus doc dri dvd dvdread eds emboss encode esd ethereal evo fam firefox flac foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imap imlib ipv6 isdnlog isp jabber jpeg ldap libg++ libwww mad maildir mbox mikmod mmap mmx mng mono motif mp3 mpeg ncurses nls nptl nsplugin offensive ogg oggvorbis opengl oss pam pcmcia pcre pda pdf pdflib perl png posix postgres ppds pppd python quicktime readline reflection sdl session soap sockets speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode vorbis wifi win32codecs wmf wxwindows xine xml xorg xosd xpm xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en_ZA linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 89603 [details, diff] Proposed patch for the ebuild Proposed patch for the ebuild; I think this is correct but I'm not absolutely sure.
I've added the dependency to opensp-1.5.2.ebuild. Thanks for the report.