After applying the solution of https://bugs.gentoo.org/show_bug.cgi?id=169687, xorg-docs still fails to compile. Reproducible: Always Steps to Reproduce: emerge -av app-doc/xorg-docs [ebuild U ] app-doc/xorg-docs-1.4 [1.3] USE="doc -debug" 0 kB Actual Results: [...] Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/core/Xserver-spec.sgml jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl:53:136:Q: number of ID references in start-tag must not exceed GRPCNT (32) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl:52:0:Q: number of ID references in start-tag must not exceed GRPCNT (32) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1bg.ent:168:282:Q: length of interpreted parameter literal must not exceed LITLEN (240) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1bg.ent:169:282:Q: length of interpreted parameter literal must not exceed LITLEN (240) jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: "X00E1" is not a function name [...] [bunch of error just like the above one, changing 6:19 and X00E1 for other numbers] [...] jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1ru.ent:188:290:Q: length of interpreted parameter literal must not exceed LITLEN (240) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1ru.ent:189:290:Q: length of interpreted parameter literal must not exceed LITLEN (240) /usr/share/sgml/docbook/utils-0.6.14/backends/pdf: line 15: pdfjadetex: command not found make[2]: ** [Xserver-spec.pdf] Erro 9 make[2]: ** Esperando que outros processos terminem. jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl:54:137:Q: number of ID references in start-tag must not exceed GRPCNT (32) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl:53:0:Q: number of ID references in start-tag must not exceed GRPCNT (32) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1bg.ent:168:282:Q: length of interpreted parameter literal must not exceed LITLEN (240) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1bg.ent:169:282:Q: length of interpreted parameter literal must not exceed LITLEN (240) jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: "X00E1" is not a function name [...] [bunch of error just like the above one, changing 6:19 and X00E1 for other numbers] [...] jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.ent:188:290:Q: length of interpreted parameter literal must not exceed LITLEN (240) jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.ent:189:290:Q: length of interpreted parameter literal must not exceed LITLEN (240) Done. make[2]: Saindo do diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/core' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml' make: ** [all-recursive] Erro 1 !!! ERROR: app-doc/xorg-docs-1.4 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3912: Called src_compile ebuild.sh, line 1304: Called x-modular_src_compile x-modular.eclass, line 333: Called x-modular_src_make x-modular.eclass, line 328: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-doc/xorg-docs-1.4/temp/build.log'. Installing dev-java/jade-3.2 (which looks necessary for this ebuild) gave me a different error (after all the jade: related ones): /usr/share/sgml/docbook/utils-0.6.14/backends/pdf: line 15: pdfjadetex: command not found make[2]: ** [Xserver-spec.pdf] Erro 9 make[2]: ** Esperando que outros processos terminem. Done. make[2]: Saindo do diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/core' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml' make: ** [all-recursive] Erro 1 !!! ERROR: app-doc/xorg-docs-1.4 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3912: Called src_compile ebuild.sh, line 1304: Called x-modular_src_compile x-modular.eclass, line 333: Called x-modular_src_make x-modular.eclass, line 328: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-doc/xorg-docs-1.4/temp/build.log'. I'm puzzled here. Expected Results: xorg-docs gets installed
Try emerging 'jadetex'. I have no idea why it wants to call these utilities. I don't see this behaviour on my system.
# emerge jadetex -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-text/jadetex-3.13-r1 101 kB Had to rebuild it, something deleted the pdfjadetex executable. Now I get: Making all in fonts make[2]: Entrando no diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts' SGML_SEARCH_PATH=/usr/share/sgml /usr/bin/docbook2txt fonts.sgml SGML_SEARCH_PATH=/usr/share/sgml /usr/bin/docbook2pdf fonts.sgml Using catalogs: /etc/sgml/sgml-docbook-4.2.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts/fonts.sgml Using catalogs: /etc/sgml/sgml-docbook-4.2.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts/fonts.sgml jade:/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts/fonts.sgml:1923:3:E: "65533" is not a character number in the document character set jade:/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts/fonts.sgml:1923:3:E: "65533" is not a character number in the document character set make[2]: ** [fonts.pdf] Erro 8 make[2]: ** Esperando que outros processos terminem. make[2]: ** [fonts.txt] Erro 8 make[2]: Saindo do diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml' make: ** [all-recursive] Erro 1 !!! ERROR: app-doc/xorg-docs-1.4 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3912: Called src_compile ebuild.sh, line 1304: Called x-modular_src_compile x-modular.eclass, line 333: Called x-modular_src_make x-modular.eclass, line 328: Called die Manually running sgml2pdf /var/tmp/portage/app-doc/xorg-docs-1.4/work/xorg-docs-1.4/sgml/fonts/fonts.sgml gives the PDF file, no problem.
Ah, I think I know what's happening. It looks like TXT and PDF versions are built automatically if possible, when I had intended for them to be disabled. They should be disabled explicitly. As a workaround, just build xorg-docs with -doc for now.
Thanks, it builds OK with -doc. The strange part is that xorg-docs-1.3 built the .txts with no problem at all.
Fixed. (In reply to comment #4) > Thanks, it builds OK with -doc. The strange part is that xorg-docs-1.3 built > the .txts with no problem at all. > Yeah, I don't think it was actually building much due to a problem with the released tarball, so that's why it wasn't failing. See http://bugs.gentoo.org/buglist.cgi?quicksearch=xorg-docs if you're interested in future enhancements/fixes that will be made.