Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-text/xmlto-0.0.15 issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
TheJabberwokk
Apprentice
Apprentice


Joined: 13 Aug 2002
Posts: 196
Location: Gloucester

PostPosted: Fri Oct 24, 2003 6:54 pm    Post subject: app-text/xmlto-0.0.15 issue Reply with quote

When emerging -u world I got this
Quote:
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'
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 )
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.KUD45I 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.jXaItL 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.cSWHvw 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.WK1HKF 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/xmlif.1] Error 1
make[1]: *** Waiting for unfinished jobs....
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 32, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Sat Oct 25, 2003 8:54 am    Post subject: Solution : Reply with quote

As mentioned on bugs.gentoo.org, you need to re-emerge
docbook-xsl-stylesheets. I can't really explain why but it worked.

Code:
emerge -v docbook-xsl-stylesheets xmlto
Back to top
View user's profile Send private message
ashtong
n00b
n00b


Joined: 23 Jan 2003
Posts: 44

PostPosted: Mon Nov 10, 2003 10:34 pm    Post subject: Reply with quote

I've found that I've still been getting problems with xmlto.

I found the only way to fix it was to patch xmlto's ebuild so that it gets installed without trying to validate it's XML against the DTDs. See bug 33151.

Admittedly, my error was slightly (though only very slightly) different to the one posted above.
Back to top
View user's profile Send private message
icwiz
n00b
n00b


Joined: 26 Feb 2006
Posts: 1

PostPosted: Sun Feb 26, 2006 9:40 pm    Post subject: Reply with quote

The reason emerging xml-stylesheets works is because xmlto looks for the files on the drive frist. You can see this if you strace the base command.

If you are still seeing issues with fixing this...

strace --vvfF -o OUTPUT xmlto man /usr/src/redhat/SOURCES/certwatch.xml

less the OUTPUT file and look for the docbook.xsl

you will see where its looking for it. Go get the tarball for xml stylesheets and dump it so that it matches the dir structure.

This will fix it.

--ICWiz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum