# emerge app-text/docbook-sgml-utils Calculating dependencies ...done! >>> emerge (1 of 1) app-text/docbook-sgml-utils-0.6.12-r2 to / >>> md5 src_uri ;-) docbook-utils-0.6.12.tar.gz >>> Unpacking source... >>> Unpacking docbook-utils-0.6.12.tar.gz to /var/tmp/portage/docbook-sgml-utils-0.6.12-r2/work >>> Source unpacked. * Applying docbook-sgml-utils-frontend.patch... [ ok ] * Applying docbook-sgml-utils-head-jw.patch... [ ok ] checking for a BSD-compatible install... /bin/install -c [...] Making all in HTML make[2]: Entering directory `/var/tmp/portage/docbook-sgml-utils-0.6.12-r2/work/docbook-utils-0.6.12/doc/HTML' 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:../../doc/docbook-utils.sgml:9:0:E: DTD did not contain element declaration for document type name jade:../../doc/docbook-utils.sgml:11:11:E: there is no attribute "lang" jade:../../doc/docbook-utils.sgml:11:19:E: there is no attribute "id" jade:../../doc/docbook-utils.sgml:11:34:E: element "book" undefined jade:../../doc/docbook-utils.sgml:12:11:E: element "bookinfo" undefined jade:../../doc/docbook-utils.sgml:13:10:E: element "title" undefined jade:../../doc/docbook-utils.sgml:14:12:E: element "pubdate" undefined [...] jade:../../doc/refentry/jw.sgml:82:20:E: element "option" undefined jade:../../doc/refentry/jw.sgml:83:12:E: element "arg" undefined jade:I: maximum number of errors (200) reached; change with -E option jade:/usr/share/sgml/openjade-1.3.2/dsssl/style-sheet.dtd:11:2:E: unknown declaration type "element" jade:/usr/share/sgml/openjade-1.3.2/dsssl/style-sheet.dtd:13:2:E: unknown declaration type "element" jade:../../docbook-utils.dsl:113:29:E: there is no attribute "ID" jade:../../docbook-utils.dsl:113:48:E: there is no attribute "DOCUMENT" jade:../../docbook-utils.dsl:113:61:E: element "EXTERNAL-SPECIFICATION" undefined jade:../../docbook-utils.dsl:115:13:E: end tag for "EXTERNAL-SPECIFICATION" omitted, but OMITTAG NO was specified jade:../../docbook-utils.dsl:113:2: start tag was here jade:../../docbook-utils.dsl:115:15:E: no document element jade:E: specification document does not have the DSSSL architecture as a base architecture jade:E: no style-specification or external-specification with ID "html" DocBook Utils 18 June 2000 [...] -V variable[=value] -u make[2]: *** [api.html] Error 1 make[2]: Leaving directory `/var/tmp/portage/docbook-sgml-utils-0.6.12-r2/work/docbook-utils-0.6.12/doc/HTML' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/docbook-sgml-utils-0.6.12-r2/work/docbook-utils-0.6.12/doc' make: *** [all-recursive] Error 1 !!! ERROR: app-text/docbook-sgml-utils-0.6.12-r2 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge app-text/docbook-sgml-utils Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.linux.no/ http://www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.pl/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gpm gtk imlib java jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib"
could you please attach the full build log ? thanks
Created attachment 21627 [details] Full build log This is a full build log
$ jade -v jade:I: "openjade" version "1.3.2" jade:I: "OpenSP" version "1.5" installed packages: app-text/docbook-xml-simple-dtd-1.0 * app-text/docbook-dsssl-stylesheets-1.77-r2 * app-text/docbook-xml-simple-dtd-4.1.2.4 * app-text/docbook-xsl-stylesheets-1.62.4 * app-text/docbook-sgml-dtd-4.1-r1 * app-text/docbook-sgml-dtd-4.0-r1 * app-text/docbook-xml-dtd-4.2 * app-text/docbook-sgml-dtd-3.0-r1 * app-text/docbook-sgml-dtd-3.1-r1 * app-text/docbook-xml-dtd-4.1.2-r4 *
I also have a very similar error emerging: Making all in man make[2]: Entering directory `/var/tmp/portage/docbook-sgml-utils-0.6.12/work/docbook-utils-0.6.12/doc/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/docbook-sgml-utils-0.6.12/work/docbook-utils-0.6.12/doc/man' Making all in HTML make[2]: Entering directory `/var/tmp/portage/docbook-sgml-utils-0.6.12/work/docbook-utils-0.6.12/doc/HTML' 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:../../doc/docbook-utils.sgml:1:55:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V3.1//EN" jade:../../doc/docbook-utils.sgml:9:0:E: reference to entity "BOOK" for which no system identifier could be generated jade:../../doc/docbook-utils.sgml:1:0: entity was defined here jade:../../doc/docbook-utils.sgml:9:0:E: DTD did not contain element declaration for document type name jade:../../doc/docbook-utils.sgml:11:11:E: there is no attribute "LANG" jade:../../doc/docbook-utils.sgml:11:19:E: there is no attribute "ID" jade:../../doc/docbook-utils.sgml:11:34:E: element "BOOK" undefined jade:../../doc/docbook-utils.sgml:12:11:E: element "BOOKINFO" undefined jade:../../doc/docbook-utils.sgml:13:10:E: element "TITLE" undefined jade:../../doc/docbook-utils.sgml:14:12:E: element "PUBDATE" undefined jade:../../doc/docbook-utils.sgml:16:16:E: element "LEGALNOTICE" undefined ...... jade:I: maximum number of errors (200) reached; change with -E option make[2]: *** [api.html] Error 1
I've been having the same problem as Chris (comment 4) for docbook-sgml-utils-0.6.12, -r1, and now -r2 as well. As I really couldn't care less about these packages, I've simply masked them and forgotten about them, though it'd be nice not to have to mask them every time a new -r bump comes out.
My apologies for not getting back to you earlier. It looks like a catalogs-gone-funny problem, which you could first try to fix by remerging sgml-dtd-3.1 with emerge =docbook-sgml-dtd-3.1-r1.
unfortunately after succesfull emerge =docbook-sgml-dtd-3.1-r1 I still have the same problem ...
Righto, let's go through this one. o Does /etc/sgml/catalog list CATALOG "/etc/sgml/sgml-docbook-3.1.cat" o Does /etc/sgml/sgml-docbook-3.1.cat list CATALOG "/usr/share/sgml/docbook/sgml-dtd-3.1/catalog" o Does /usr/share/sgml/docbook/sgml-dtd-3.1/catalog exist ?
warf # grep /etc/sgml/sgml-docbook-3.1.cat /etc/sgml/catalog CATALOG "/etc/sgml/sgml-docbook-3.1.cat" warf # grep "/usr/share/sgml/docbook/sgml-dtd-3.1/catalog" /etc/sgml/sgml-docbook-3.1.cat CATALOG "/usr/share/sgml/docbook/sgml-dtd-3.1/catalog" warf # ls -l /usr/share/sgml/docbook/sgml-dtd-3.1/catalog -rwxr-xr-x 1 root root 2122 2003-12-12 17:20 /usr/share/sgml/docbook/sgml-dtd-3.1/catalog* warf # cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog -- ...................................................................... -- -- Catalog data for DocBook V3.1 ........................................ -- -- File docbook.cat ..................................................... -- -- Please direct all questions, bug reports, or suggestions for changes to the davenport@berkshire.net mailing list. For more information, see http://www.oasis-open.org/. -- -- This is the catalog data file for Version 3.1 of the DocBook DTD. It is provided as a convenience in building your own catalog files. You need not use the filenames listed here, and need not use the filename method of identifying storage objects at all. See the documentation for detailed information on the files associated with the DocBook DTD. See SGML Open Technical Resolution 9401 for detailed information on supplying and using catalog data. -- -- ...................................................................... -- -- SGML declaration associated with DocBook ............................. -- SGMLDECL "docbook.dcl" -- ...................................................................... -- -- DocBook driver file .................................................. -- PUBLIC "-//OASIS//DTD DocBook V3.1//EN" "docbook.dtd" -- ...................................................................... -- -- DocBook modules ...................................................... -- PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd" PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V3.1//EN" "dbpool.mod" PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V3.1//EN" "dbhier.mod" PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" "dbgenent.mod" PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" "dbnotn.mod" PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" "dbcent.mod" -- End of catalog data for DocBook V3.1 ................................. -- -- ...................................................................... --
warf # epm -qf /usr/share/sgml/docbook/sgml-dtd-3.1/catalog docbook-sgml-dtd-3.1-r1
Michal, the reason this is particularly odd is that in the log, jade actually appears to find the catalog, (as it mentions the DTD not containing something). Can you also post the output of SGML_CATALOG_FILES ? This one's got me puzzled.
warf # cat /etc/sgml/catalog CATALOG "/etc/sgml/sgml-docbook.cat" CATALOG "/etc/sgml/xhtml1.cat" CATALOG "/etc/sgml/openjade-1.3.2.cat" CATALOG "/etc/sgml/sgml-docbook-3.0.cat" CATALOG "/etc/sgml/sgml-docbook-3.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.0.cat" CATALOG "/etc/sgml/sgml-ent.cat" CATALOG "/etc/sgml/sgml-docbook-4.2.cat" CATALOG "/etc/sgml/dsssl-docbook-stylesheets.cat" warf #
I really meant the output of echo $SGML_CATALOG_FILES, but that's my fault for not being specific. Do you need xhtml1 for something in particular ? Can you try removing that (emerge -C) and re merging docbook-sgml-utils ? Sorry about this, like I said, this one's a bit difficult. Thanks.
Wow ... it's a correct answer ... :-) Thanks i did something like this: emerge unmerge =app-text/xhtml1-20020801-r1 emerge app-text/docbook-sgml-utils
Ok now it works for me :-) but there should me any conflict with app-text/xhtml1