Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316417 - [sunrise] docbook2odf and docbook2odf-xsl-stylesheets do not fit in xsl location
Summary: [sunrise] docbook2odf and docbook2odf-xsl-stylesheets do not fit in xsl location
Status: RESOLVED DUPLICATE of bug 136051
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: [sunrise-overlay]
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 19:58 UTC by Eduardo Suarez-Santana
Modified: 2010-10-22 13:47 UTC (History)
0 users

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 Eduardo Suarez-Santana 2010-04-20 19:58:27 UTC
Running docbook2odf, it searches xsl files in
/usr/share/docbook2odf, while those files are in /usr/share/docbook2odf-xsl-stylesheets in the package docbook2odf-xsl-stylesheets 

Reproducible: Always

Steps to Reproduce:
1. Create an docbook file. You can do it with asciidoc. Create a text file like this:
$ cat > text.txt << EOF
hello
=====

This is a sample file
EOF

Then run
$ asciidoc text.txt

It will create a text.xml.

2. Run docbook2odf

$ docbook2odf text.xml 
warning: failed to load external entity "/usr/share/docbook2odf/xsl/docbook.xsl"
cannot parse /usr/share/docbook2odf/xsl/docbook.xsl
warning: failed to load external entity "/usr/share/docbook2odf/xsl/odf.xsl"
cannot parse /usr/share/docbook2odf/xsl/odf.xsl
warning: failed to load external entity "/usr/share/docbook2odf/xsl/odf.xsl"
cannot parse /usr/share/docbook2odf/xsl/odf.xsl
warning: failed to load external entity "/usr/share/docbook2odf/xsl/odf.xsl"
cannot parse /usr/share/docbook2odf/xsl/odf.xsl
warning: failed to load external entity "/usr/share/docbook2odf/xsl/odf.xsl"
cannot parse /usr/share/docbook2odf/xsl/odf.xsl

Actual Results:  
It does not generate any file.

Expected Results:  
No warnings and an odt file generated.

# ln -s /usr/share/docbook2odf-xsl-stylesheets /usr/share/docbook2odf

solves the problem.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-23 10:02:18 UTC
Which ebuild is providing docbook2odf?
Comment 2 Eduardo Suarez-Santana 2010-04-23 10:34:37 UTC
From sunrise:
app-text/docbook2odf
app-text/docbook2odf-xsl-stylesheets
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-22 13:47:19 UTC
Please continue in the pending bug.

*** This bug has been marked as a duplicate of bug 136051 ***