Bug 155254 - Rebuilding of httpd ends with I/O error of xmlto
Rebuilding of httpd ends with I/O error of xmlto
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: httpd (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-18 12:41 EDT by Robert Scheck
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-19 08:29:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2005-04-18 12:41:29 EDT
Description of problem:
[...]
+ xmlto -x /usr/src/redhat/SOURCES/html.xsl html-nochunks migration.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"
compilation error: file /usr/src/redhat/SOURCES/html.xsl line 12 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
cp: cannot stat `/tmp/xmlto.C23386/migration.proc': No such file or directory

The machine has direct Internet access, w3m/wget <file> also works.

Version-Release number of selected component (if applicable):
httpd-2.0.54-3
xmlto-0.0.18-6

How reproducible; Steps to Reproduce:
Everytime, trying to rebuild it.

Actual results:
Error message.

Expected results:
Rebuilding.
Comment 1 Joe Orton 2005-04-19 04:14:08 EDT
Hmmm, I thought we used tricks to use the local copies of docbook-xsl, though
perhaps since httpd uses a custom stylesheet which does:

<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>

these don't work.  Tim, any way I can make this work without going to the network?
Comment 2 Tim Waugh 2005-04-19 08:29:59 EDT
That should work fine, since we resolve addresses that start
"http://docbook.sourceforge.net/release/xsl/current" to directories based at
/usr/share/sgml/docbook/xsl-stylesheets-{version} -- see /etc/xml/catalog for
the gory details.

In fact, a build of httpd-2.0.54-4 on rawhide/i386 works fine for me.  Sounds
like the reporter doesn't have docbook-style-xsl installed correctly.

Note You need to log in before you can comment on or make changes to this bug.