Re: Can't build doc anymore (v1.7.3.2)

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Can't build doc anymore (v1.7.3.2)

From: Francis Moreau <hidden>
Date: 2016-06-15 22:50:05

Drew Northup [off-list ref] writes:
On Mon, 2010-11-22 at 20:45 +0100, Francis Moreau wrote:
quoted
Hello,

I'm trying to build the git's documentation, but after pulling v1.7.3.2,
quoted
it fails:

  $ make prefix=/usr/local doc
  make -C Documentation all
  make[1]: Entering directory `/home/fmoreau/git/Documentation'
  make[2]: Entering directory `/home/fmoreau/git'
  make[2]: `GIT-VERSION-FILE' is up to date.
  make[2]: Leaving directory `/home/fmoreau/git'
      XMLTO git-fetch.1
  xmlto: /home/fmoreau/git/Documentation/git-fetch.xml does not validate (status 3)
  xmlto: Fix document syntax or use --skip-validation option
  I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
  /home/fmoreau/git/Documentation/git-fetch.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
  D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                                 ^
  I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
  warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
  validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
  Document /home/fmoreau/git/Documentation/git-fetch.xml does not validate
  make[1]: *** [git-fetch.1] Error 13
  make[1]: Leaving directory `/home/fmoreau/git/Documentation'

Could anybody tell me what's now wrong ?
Without more information, not specifically. However, the fix may be
fairly simple.
What do you need exactly ?

Sorry but I know nothing about these documentation generation tools.
Some distributions are apparently so ancient that they don't include the
version 4.5 and newer Docbook XML XSL & DTD files. RHEL 5 and older make
this list.
Well I'm running Fedora 14, which I wouldn't call 'ancient'.

-- 
Francis

Re: Can't build doc anymore (v1.7.3.2)

From: Drew Northup <hidden>
Date: 2016-06-15 22:50:05

On Mon, 2010-11-22 at 21:44 +0100, Francis Moreau wrote:
Drew Northup [off-list ref] writes:
quoted
On Mon, 2010-11-22 at 20:45 +0100, Francis Moreau wrote:
quoted
Hello,

I'm trying to build the git's documentation, but after pulling v1.7.3.2,
quoted
it fails:

  $ make prefix=/usr/local doc
  make -C Documentation all
  make[1]: Entering directory `/home/fmoreau/git/Documentation'
  make[2]: Entering directory `/home/fmoreau/git'
  make[2]: `GIT-VERSION-FILE' is up to date.
  make[2]: Leaving directory `/home/fmoreau/git'
      XMLTO git-fetch.1
  xmlto: /home/fmoreau/git/Documentation/git-fetch.xml does not validate (status 3)
  xmlto: Fix document syntax or use --skip-validation option
  I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
  /home/fmoreau/git/Documentation/git-fetch.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
  D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                                 ^
  I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
  warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
  validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
  Document /home/fmoreau/git/Documentation/git-fetch.xml does not validate
  make[1]: *** [git-fetch.1] Error 13
  make[1]: Leaving directory `/home/fmoreau/git/Documentation'

Could anybody tell me what's now wrong ?
Without more information, not specifically. However, the fix may be
fairly simple.
What do you need exactly ?

Sorry but I know nothing about these documentation generation tools.
quoted
Some distributions are apparently so ancient that they don't include the
version 4.5 and newer Docbook XML XSL & DTD files. RHEL 5 and older make
this list.
Well I'm running Fedora 14, which I wouldn't call 'ancient'.
Supposedly docbook-dtds-1.0-53.fc14 contains the files needed. I would
check to make sure that your /usr/share/sgml/docbook/xmlcatalog file is
correct. If it is it will contain a line an awful lot like the
following:
<public publicId="-//OASIS//DTD DocBook XML V4.5//EN" uri="xml-dtd-4.5/docbookx.dtd"/>


-- 
-Drew Northup N1XIM
   AKA RvnPhnx on OPN
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help