Bug 967157
| Summary: | Missing dependency for producing pdf using asciidoc | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul Graham <grahamps> | ||||
| Component: | dblatex | Assignee: | Michael J Gruber <mjg> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 18 | CC: | alex, bkoz, mjg, pertusus, sochotni, tmz, vonbrand | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | noarch | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | dblatex-0.3.4-6.fc19 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-06-07 02:57:36 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Asciidoc package has been split into several subpackages. One of them being asciidoc-latex for latex/pdf output support. This was to trim down dependencies for most common use cases. I assume installing asciidoc-latex will fix your issue. Closing as notabug, but wondering if improving description of -latex subpackage would help you find it? Thanks for the response. It looks like I should have mentioned that I did have the following additional packages installed when I did my testing: asciidoc-doc-8.6.8-1.fc18.noarch asciidoc-latex-8.6.8-1.fc18.noarch asciidoc-music-8.6.8-1.fc18.noarch Sorry for the oversight. Looking at the dependencies for "asciidoc-latex", it is the package that is dependent on "dblatex", which is why yum had installed "dblatex" for me in the first place. Unfortunately, having "asciidoc-latex" installed does not solve the problem. The installation still lacks "texlive-multirow", which is required to compile my fairly basic AsciiDoc file to PDF. It still seems like there is a missing dependency, whether it is in "asciidoc-latex" or "dblatex". Forgot to "reopen" as "ASSIGNED". Indeed I can reproduce this. However the problem seems to be: pdflatex failed /usr/share/texlive/texmf-dist/tex/latex/dblatex/docbook.sty: File `multirow.sty' not found. /usr/share/texlive/texmf-dist/tex/latex/dblatex/docbook.sty:136: Emergency stop. /usr/share/texlive/texmf-dist/tex/latex/dblatex/docbook.sty:136: leading text: \usepackage Unexpected error occured Error: pdflatex compilation failed docbook.sty is part of dblatex package which has texlive-multirow in BuildRequires, but missing in Requires. Unless I am missing something, this is actually a problem in dblatex package itself. Reassigning The new texlive dependencies are haunting us, and we're hunting them. Scratch builds cooking: http://koji.fedoraproject.org/koji/taskinfo?taskID=5437713 (rawhide) http://koji.fedoraproject.org/koji/taskinfo?taskID=5437719 (f18) dblatex-0.3.4-6.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dblatex-0.3.4-6.fc19 dblatex-0.3.4-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/dblatex-0.3.4-6.fc18 Package dblatex-0.3.4-6.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dblatex-0.3.4-6.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9567/dblatex-0.3.4-6.fc19 then log in and leave karma (feedback). dblatex-0.3.4-6.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. dblatex-0.3.4-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 752926 [details] Very simple AsciiDoc example file Description of problem: On a machine that didn't have "asciidoc", "dblatex", or "texlive" (and its many subpackages installed), I installed the "asciidoc" package (and its many dependencies) using "yum install asciidoc" on an up-to-date Fedora 18 x86_64 machine. After installing "asciidoc", compiling a simple AsciiDoc document to PDF failed due to an apparent missing package dependency. The dependency itself may be more of a missing dependency for "dblatex" than "asciidoc" itself since the dblatex program is expecting "multirow.sty" in the LaTeX installation and it was not installed. After some digging around, I discovered that "multirow.sty" is provided by the "texlive-multirow" package, which wasn't installed. Once the "texlive-multirow" package is installed, compiling AsciiDoc documents to PDF appears to work fine. Version-Release number of selected component (if applicable): asciidoc-8.6.8-1.fc18.noarch dblatex-0.3.4-4.fc18.noarch How reproducible: Fails every time. Steps to Reproduce: 1. On a Fedora 18 machine without "asciidoc", "dblatex", or "texlive*" packages, perform the installation of "asciidoc" using "yum install asciidoc". 2. Using the attached simple AsciiDoc file, run "a2x -v -f pdf test.adoc". Actual results: $ a2x -v -f pdf test.adoc a2x: args: ['-v', '-f', 'pdf', 'test.adoc'] a2x: resource files: [] a2x: resource directories: ['/etc/asciidoc/images', '/etc/asciidoc/stylesheets'] a2x: executing: "/usr/bin/asciidoc.py" --backend docbook -a "a2x-format=pdf" --verbose --out-file "/home/paul/Documents/test.xml" "/home/paul/Documents/test.adoc" asciidoc: reading: /etc/asciidoc/asciidoc.conf asciidoc: reading: /home/paul/Documents/test.adoc asciidoc: reading: /etc/asciidoc/docbook45.conf asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf asciidoc: reading: /etc/asciidoc/lang-en.conf asciidoc: writing: /home/paul/Documents/test.xml a2x: executing: "xmllint" --nonet --noout --valid "/home/paul/Documents/test.xml" a2x: executing: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" -V "/home/paul/Documents/test.xml" Build the book set list... xsltproc -o /tmp/tmpAeNU3y/doclist.txt --xinclude --xincludestyle doclist.xsl /home/paul/Documents/test.xml Build the listings... xsltproc -o /tmp/tmpAeNU3y/listings.xml --xinclude --xincludestyle --param current.dir '/home/paul/Documents' /usr/share/dblatex/xsl/common/mklistings.xsl /home/paul/Documents/test.xml xsltproc -o test.rtex --xinclude --xincludestyle --param current.dir '/home/paul/Documents' --param listings.xml '/tmp/tmpAeNU3y/listings.xml' /tmp/tmpAeNU3y/custom.xsl /home/paul/Documents/test.xml XSLT stylesheets DocBook - LaTeX 2e (0.3.4) =================================================== Image 'dblatex' not found Build test.pdf built-in module pdftex registered no support found for ifxetex no support found for fontspec no support found for xltxtra no support found for fontenc no support found for inputenc no support found for fancybox built-in module makeidx registered no support found for asciidoc-dblatex building additional files... checking if compiling is necessary... the output file doesn't exist pdflatex -interaction=batchmode test.tex pdflatex failed /usr/share/texlive/texmf-dist/tex/latex/dblatex/docbook.sty: File `multirow.sty' not found. /usr/share/texlive/texmf-dist/tex/latex/dblatex/docbook.sty:136: Emergency stop. /usr/share/texlive/texmf-dist/tex/latex/dblatex/docbook.sty:136: leading text: \usepackage Unexpected error occured Error: pdflatex compilation failed a2x: ERROR: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" -V "/home/paul/Documents/test.xml" returned non-zero exit status 1 Expected results: After installing the missing package dependency using "yum install texlive-multirow": $ a2x -v -f pdf test.adoc a2x: args: ['-v', '-f', 'pdf', 'test.adoc'] a2x: resource files: [] a2x: resource directories: ['/etc/asciidoc/images', '/etc/asciidoc/stylesheets'] a2x: executing: "/usr/bin/asciidoc.py" --backend docbook -a "a2x-format=pdf" --verbose --out-file "/home/paul/Documents/test.xml" "/home/paul/Documents/test.adoc" asciidoc: reading: /etc/asciidoc/asciidoc.conf asciidoc: reading: /home/paul/Documents/test.adoc asciidoc: reading: /etc/asciidoc/docbook45.conf asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf asciidoc: reading: /etc/asciidoc/lang-en.conf asciidoc: writing: /home/paul/Documents/test.xml a2x: executing: "xmllint" --nonet --noout --valid "/home/paul/Documents/test.xml" a2x: executing: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" -V "/home/paul/Documents/test.xml" Build the book set list... xsltproc -o /tmp/tmpbEUKJ4/doclist.txt --xinclude --xincludestyle doclist.xsl /home/paul/Documents/test.xml Build the listings... xsltproc -o /tmp/tmpbEUKJ4/listings.xml --xinclude --xincludestyle --param current.dir '/home/paul/Documents' /usr/share/dblatex/xsl/common/mklistings.xsl /home/paul/Documents/test.xml xsltproc -o test.rtex --xinclude --xincludestyle --param current.dir '/home/paul/Documents' --param listings.xml '/tmp/tmpbEUKJ4/listings.xml' /tmp/tmpbEUKJ4/custom.xsl /home/paul/Documents/test.xml XSLT stylesheets DocBook - LaTeX 2e (0.3.4) =================================================== Image 'dblatex' not found Build test.pdf built-in module pdftex registered no support found for ifxetex no support found for fontspec no support found for xltxtra no support found for fontenc no support found for inputenc no support found for fancybox built-in module makeidx registered no support found for asciidoc-dblatex building additional files... checking if compiling is necessary... the output file doesn't exist pdflatex -interaction=batchmode test.tex running post-compilation scripts... [index] the index file /tmp/tmpbEUKJ4/test.idx is empty test.aux MD5 checksum changed test.toc MD5 checksum changed the /tmp/tmpbEUKJ4/test.aux file has changed pdflatex -interaction=batchmode test.tex running post-compilation scripts... [index] the index file /tmp/tmpbEUKJ4/test.idx is empty no new compilation is needed running last-compilation scripts... 'test.pdf' successfully built a2x: deleting /home/paul/Documents/test.xml Additional info: