git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Issues building docs on an offline box again.

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Feb 24, 2009, 02:28 UTC
Message-ID
<20090224022856.GN4371@genesis.frugalware.org>
In-Reply-To
<c115fd3c0902231507k46da3294yf2726a92cb0fbc1a@mail.gmail.com>
On Mon, Feb 23, 2009 at 06:07:54PM -0500, Tim Visher <tim.visher@gmail.com> wrote:
Show 12 quoted lines
> xmlto -m callouts.xsl man git-add.xml
> I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
> compilation error: file /tmp/xmlto-xsl.f254nC line 4 element import
> xsl:import : unable to load
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make: *** [git-add.1] Error 1
> 
> Strange thing is that I thought I had gotten these to build offline
> before with the exact same configuration.  Any thoughts?
Probably you somehow broke your docbook toolchain.
> My current solution is to build them on the online box and then copy
> them over the sneaker net to the offline box.  But, this is kludgey,
> so not cool. :)

That's just a workaround. The solution is to have the correct mappings under /etc/xml, so that it maps the doctype to /usr/share/xml/docbook/manpages/docbook.xsl, or a similar path. After all, ideally your distro does this for you automatically. :)

Previous: Tim VisherNext: Tim Visher
Message 2 of 5 in “Issues building docs on an offline box again.”
  1. Tim VisherFeb 23, 2009
  2. Miklos VajnaFeb 24, 2009
  3. Tim VisherFeb 24, 2009
  4. Miklos VajnaFeb 24, 2009
  5. Ben WaltonFeb 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.