Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332203 - app-text/xmlto-0.0.22 cannot generate either Postscript or PDF files from DocBook xml files
Summary: app-text/xmlto-0.0.22 cannot generate either Postscript or PDF files from Doc...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 332209 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-11 09:27 UTC by Alex Buell
Modified: 2010-08-17 11:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2010-08-11 09:27:18 UTC
If I ask xmlto 0.0.22 to generate either Postscript or PDF files from my Docbook XML files, it will silently fail without any errors on console. Only if I examine the generated tmp.log in the temporary xmlto-* in the /tmp directory do I see that there is a problem, it needs a missing soul.sty file. 

This missing soul.sty file comes from the dev-texlive/texlive-latexextra package which should have been installed when I installed xmlto. I think the ebuild needs updating to ensure that this package is installed if it is not already installed. 

After I installed the missing package, xmlto starts failing with errors. The same DocBook xml files that I use do not have any problems when I generate HTML versions so something else must be wrong but I am not sure.

I have also e-mailed upstream about this and now awaiting an answer at the moment, there might be something else that xmlto needs. 

Also, there is a newer version available upstream (0.0.23). 

Reproducible: Always

Steps to Reproduce:
1. xmlto postscript Framebuffer-HOWTO.xml (yes I wrote that!)
2. xmlto silently fails

After installing missing package (dev-texlive/texlive-latexextra)

1. xmlto postscript Framebuffer-HOWTO.xml
2. xmlto now fails with errors (maybe missing additional packages causing this)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-11 09:46:36 UTC
(In reply to comment #0)
> If I ask xmlto 0.0.22 to generate either Postscript or PDF files from my
> Docbook XML files, it will silently fail without any errors on console. Only if
> I examine the generated tmp.log in the temporary xmlto-* in the /tmp directory
> do I see that there is a problem, it needs a missing soul.sty file. 
> 
> This missing soul.sty file comes from the dev-texlive/texlive-latexextra
> package which should have been installed when I installed xmlto. I think the
> ebuild needs updating to ensure that this package is installed if it is not
> already installed. 
> 
> After I installed the missing package, xmlto starts failing with errors. The
> same DocBook xml files that I use do not have any problems when I generate HTML
> versions so something else must be wrong but I am not sure.
> 
> I have also e-mailed upstream about this and now awaiting an answer at the
> moment, there might be something else that xmlto needs. 
> 
> Also, there is a newer version available upstream (0.0.23). 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. xmlto postscript Framebuffer-HOWTO.xml (yes I wrote that!)
> 2. xmlto silently fails
> 
> After installing missing package (dev-texlive/texlive-latexextra)
> 
> 1. xmlto postscript Framebuffer-HOWTO.xml
> 2. xmlto now fails with errors (maybe missing additional packages causing this)
> 

0.23 is already in portage, futhermore the ebuild dependencies match exactly the shipped xmlto.spec (fedora is the upstream of this software). Also xmlto doesn't have any references to 'soul' or 'sty' in it's sources.

So... i'm pretty sure the missing dependency is somewhere else, need more info.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-08-11 10:45:20 UTC
*** Bug 332209 has been marked as a duplicate of this bug. ***
Comment 3 Alex Buell 2010-08-11 11:42:37 UTC
I had to install app-text/texlive-2008 to get at those style files, but xmlto appears not to need app-text/texlive-2008. I think that's the missing dependency.
Comment 4 Alex Buell 2010-08-15 17:03:22 UTC
I still *cannot* generate PDF or Postscript files even with those additional pacakages. 

If you download http://www.munted.org.uk/programming/Framebuffer-HOWTO.xml and try to process it into either a PDF or a Postscript I think you'll find it either silently fails or reports errors.
Comment 5 Alex Buell 2010-08-15 17:04:48 UTC
(In reply to comment #4)
> I still *cannot* generate PDF or Postscript files even with those additional
> pacakages. 
> 
> If you download http://www.munted.org.uk/programming/Framebuffer-HOWTO.xml and
> try to process it into either a PDF or a Postscript I think you'll find it
> either silently fails or reports errors.

Above URL is wrong, it should be 

http;//www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.xml.tar.gz

Comment 6 SpanKY gentoo-dev 2010-08-17 03:40:30 UTC
try using the --skip-validation option
Comment 7 Alex Buell 2010-08-17 07:31:37 UTC
Still results in an error being generated. I think this really needs sorting. There is a newer update available upstream, perhaps give that a try? 
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-08-17 10:26:45 UTC
(In reply to comment #7)
> Still results in an error being generated. I think this really needs sorting.
> There is a newer update available upstream, perhaps give that a try? 
> 

As said, 0.0.23 is already in portage.

Still need info on howto reproduce as the xmlto dependencies are correct (exact mirror of dependencies from upstream (which is fedora))

Comment 9 Alex Buell 2010-08-17 10:58:58 UTC
I just installed xmlto 0.0.23 and it still made no difference. I had an email conversation with upstream about this problem, and he thinks that it does work better with dblatex as a replacement for passivetex. I cannot find an ebuild for dblatex to test out unfortunately. 

Passivetex is deprecated anyway. 
Comment 10 Alex Buell 2010-08-17 11:01:38 UTC
To reproduce this problem, you'll need to download http://www.munted.org.uk/programming/Framebuffer-HOWTO.xml.tar.gz from my website and run with:

xmlto pdf Framebuffer-HOWTO.xml
xmlto ps Framebuffer-HOWTO.xml

It should either silently fail or generate errors even though upstream says the xml document does get processed correctly. 
Comment 11 Alex Buell 2010-08-17 11:02:56 UTC
Argh, my apologies, error in URL that I gave you. It should be:

http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.xml.tar.gz