Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193966 - app-text/asciidoc: any ebuild calling a2x will fail if there is no external networking and docbook-xml-dtd-4.2 is not present
Summary: app-text/asciidoc: any ebuild calling a2x will fail if there is no external n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on: 240355
Blocks:
  Show dependency tree
 
Reported: 2007-09-27 09:50 UTC by Robin Johnson
Modified: 2008-10-18 14:12 UTC (History)
2 users (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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-09-27 09:50:01 UTC
The a2x program depends on having docbook-xml-dtd-4.2 present.
If it is not present, the program tries to connect to the internet, which fails in networkless situations.

Example, running a2x manually after I hit it in a package:
$ /usr/bin/a2x -d manpage -f manpage -v man/mylvmbackup.1.txt
a2x: eval: asciidoc --doctype=manpage  -d manpage -b docbook "man/mylvmbackup.1.txt"
a2x: eval: cd "man"
a2x: eval: xsltproc  --stringparam callout.graphics 0         --stringparam navig.graphics 0         --stringparam admon.textlabel 1         --stringparam admon.graphics 0 --nonet         "/etc/asciidoc/docbook-xsl/manpage.xsl" "/home/robbat2/mylvmbackup-svn/man/mylvmbackup.1.xml"
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/home/robbat2/mylvmbackup-svn/man/mylvmbackup.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
D DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
                                                                               ^
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-27 09:52:57 UTC
*** Bug 191535 has been marked as a duplicate of this bug. ***
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-10-18 14:12:50 UTC
Well, I've added asciidoc-8.2.7 with additional dependency:
app-text/docbook-xsl-stylesheets
With that a2x still issues warnings about failed to load external entity but works and generates pages. So a2x can work without docbook-xml-dtd as I see. I think bug is fixed.