I am trying to do a emerge -uD. It keeps failing at xmlto. Reproducible: Always Steps to Reproduce: 1. emerge xmlto 2. 3. Actual Results: # emerge xmlto ... configure: creating ./config.status config.status: creating Makefile config.status: creating xmlto config.status: creating xmlto.spec config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.15/work/xmlto-0.0.15' if gcc -DHAVE_CONFIG_H -I. -I. -I. -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo" \ -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; \ then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; \ else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; \ fi gcc -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do \ FORMAT_DIR=./format XSL_DIR=./xsl \ bash ./xmlto man -o man/man1 ./doc/$xml ; \ done || ( RC=$?; cat FAQ; exit $RC ) warning: failed to load external entity "http://docbook.sourceforge. net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/xmlto-0.0.15/temp/xmlto-xsl.aHK0Y0 line 4 element import xsl:import : unable to load http://docbook.sourceforge. net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge. net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/xmlto-0.0.15/temp/xmlto-xsl.fhxRjm line 4 element import xsl:import : unable to load http://docbook.sourceforge. net/release/xsl/current/manpages/docbook.xsl cat: FAQ: No such file or directory make[1]: *** [man/man1/xmlto.1] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmlto-0.0.15/work/xmlto-0.0.15' make: *** [all] Error 2 !!! ERROR: app-text/xmlto-0.0.15 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) Expected Results: clean install hydra felix 511 (~): sudo emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-mm1) ================================================================= System uname: 2.6.0-mm1 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /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/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://mirrors.sec.informatik. tu-darmstadt.de/gentoo http://gentoo.oregonstate.edu http://www.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb doc encode esd ethereal fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imap imlib innodb java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"
Have a look at Bug 33151
The xsl-stylesheets dependency should be fixed in xmlto-0.0.15, please sync and remerge and let me know the results.
Still fail :( ... checking whether getopt handles long options... yes configure: creating ./config.status config.status: creating Makefile config.status: creating xmlto config.status: creating xmlto.spec config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.15/work/xmlto-0.0.15' if gcc -DHAVE_CONFIG_H -I. -I. -I. -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -MT xmlif/xmlif.o -MD -MP -MF " xmlif/.deps/xmlif.Tpo" \ -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; \ then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; \ else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; \ fi gcc -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do \ FORMAT_DIR=./format XSL_DIR=./xsl \ bash ./xmlto man -o man/man1 ./doc/$xml ; \ done || ( RC=$?; cat FAQ; exit $RC ) warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/xmlto-0.0.15/temp/xmlto-xsl.lsDbyQ line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/xmlto-0.0.15/temp/xmlto-xsl.PeC0um line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl cat: FAQ: No such file or directory make[1]: *** [man/man1/xmlto.1] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmlto-0.0.15/work/xmlto-0.0.15' make: *** [all] Error 2 !!! ERROR: app-text/xmlto-0.0.15 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message)
output of qpkg -I -v xsl-stylesheets please ?
hydra felix 501 (~): qpkg -I -v xsl-stylesheets app-text/docbook-xsl-stylesheets-1.62.0-r1 *
*sigh* not another catalogs problem. please post /etc/xml/docbook and /etc/xml/catalog, thanks.
Created attachment 23636 [details] /etc/xml/catalog
Created attachment 23639 [details] /etc/xml/docbook Still trying to understand bugzilla :-)
Priority should be increased. If you USE="+doc" no installation or update is possible, even in the stable tree.
Sorry, Ernst, it's your catalogs that are broken. Look in /etc/xml/docbook, see all those references to xsl-stylesheets are pointing to yelp ? Not a good thing. It's not your fault, it's a scripts fault and yes I'm looking into it, it's my first pri atm. Please do the following rm /etc/xml/{docbook,catalog} emerge libxml2 emerge docbook-xsl-stylesheets =docbook-xml-dtd-4.1.2-r4 =docbook-xml-dtd-4.2 Gracias.
Created attachment 23664 [details] as requested...
Created attachment 23665 [details] as requested
Felix have you tried the fix/workaround I mentioned ? Your catalogs are broken it seems.
It seems to work that way - xmlto disapeared as a dependency for emerge -uDp system..
not cool... I tried emerge xmlto (it's listed in emerge -uDp world): checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for mktemp program... mktemp checking for GNU find program... find checking for bash... bash checking for getopt program... getopt checking whether getopt handles long options... yes configure: creating ./config.status config.status: creating Makefile config.status: creating xmlto config.status: creating xmlto.spec config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.15/work/xmlto-0.0.15' if gcc -DHAVE_CONFIG_H -I. -I. -I. -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo" \ -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; \ then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; \ else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; \ fi gcc -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do \ FORMAT_DIR=./format XSL_DIR=./xsl \ bash ./xmlto man -o man/man1 ./doc/$xml ; \ done || ( RC=$?; cat FAQ; exit $RC ) file:///etc/xml/catalog:1: parser error : Document is empty ^ file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not found ^ I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/xmlto-0.0.15/temp/xmlto-xsl.prVHnU line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl file:///etc/xml/catalog:1: parser error : Document is empty ^ file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not found ^ I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/xmlto-0.0.15/temp/xmlto-xsl.t6XGxD line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl cat: FAQ: No such file or directory make[1]: *** [man/man1/xmlto.1] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmlto-0.0.15/work/xmlto-0.0.15' make: *** [all] Error 2 !!! ERROR: app-text/xmlto-0.0.15 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) ...more errors than before :((
Now it works for me. What i have done: emerge sync rm /etc/xml/{docbook,catalog} emerge libxml2 emerge docbook-xml-dtd emerge docbook-xsl-stylesheets [ebuild U 1.62.4 <== 1.62.0-r1] emerge xmlto (emerges now without error) catalog and docbook are small enough to include into this massage: catalog: <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" rewritePrefix="/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd"/> <rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" rewritePrefix="/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd"/> <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.62.4" rewritePrefix="/usr/share/sgml/docbook/xsl-stylesheets-1.62.4"/> <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.62.4" rewritePrefix="/usr/share/sgml/docbook/xsl-stylesheets-1.62.4"/> <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/sgml/docbook/xsl-stylesheets-1.62.4"/> <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/sgml/docbook/xsl-stylesheets-1.62.4"/> </catalog> ----------------- docbook: <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/> --------- Don't know if anything else is broken ;-)
Okay, Ersnt fixed, well done. Felix, is this post-workaround/fix that you're getting this manpage errors ? Something is definitely wrong if you've got file:///etc/xml/catalog:1: parser error : Document is empty Please do as I said, and Ernst said, including the rm /etc/xml/{docbook,catalog} step.
ok, following earny's steps worked out for me too. I emerged xmlto without any problems...solved.
yep, i know why we get these, i hope to fix it this weekend, no time until then. thanks for reporting back btw, makes things easier for us!