| Summary: | updating system fails because of dependency xmlto-0.0.15 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | felix schmid <felix> |
| Component: | New packages | Assignee: | Text-Markup Team (OBSOLETE) <text-markup+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | karl |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
/etc/xml/catalog
/etc/xml/docbook as requested... as requested |
||
|
Description
felix schmid
2004-01-10 07:40:53 UTC
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! |