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

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

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Nov 23, 2010, 09:20 UTC
Message-ID
<4CEB8774.7050504@drmicha.warpmail.net>
In-Reply-To
<m27hg4l8a3.fsf@gmail.com>
Francis Moreau venit, vidit, dixit 23.11.2010 10:05:
Show 86 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
> 
>> Francis Moreau venit, vidit, dixit 23.11.2010 08:50:
>>> Drew Northup <drew.northup@maine.edu> writes:
>>>
>>> [...]
>>
>>>
>>>> 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"/>
>>>
>>> It doesn't seem so:
>>>
>>>   $ cat /usr/share/sgml/docbook/xmlcatalog
>>>   <?xml version="1.0"?>
>>>   <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
>>>   <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>
>>>
>>> This file belongs to xml-common-0.6.3-33.fc14.noarch which sounds pretty
>>> uptodate for a Fedora distribution.
>>>
>>> Here's a list of some packages installed on my system that might be
>>> relevant:
>>>
>>>   asciidoc-8.4.5-5.fc14.noarch
>>>   docbook-utils-0.6.14-26.fc14.noarch
>>>   docbook-style-xsl-1.75.2-6.fc14.noarch
>>>   docbook-style-dsssl-1.79-11.fc14.noarch
>>>   docbook-dtds-1.0-53.fc14.noarch
>>>   xml-commons-resolver-1.2-4.fc14.noarch
>>>   xmlto-0.0.23-3.fc13.x86_64
>>>   xmltex-20020625-16.fc13.noarch
>>>   libxml2-devel-2.7.7-2.fc14.x86_64
>>>   libxml2-python-2.7.7-2.fc14.x86_64
>>>   libxml++-2.30.1-1.fc14.x86_64
>>>   libxml2-2.7.7-2.fc14.i686
>>>   libxml++-2.30.1-1.fc14.i686
>>>   xml-common-0.6.3-33.fc14.noarch
>>>   xml-commons-apis-1.4.01-1.fc13.noarch
>>>
>>
>> I have no problems building the doc on F14 with
>>
> 
> Yes I think it's related to my config otherwise a lot of users would
> have already complained.
> 
>>
>> ASCIIDOC8=y
>> ASCIIDOC_NO_ROFF=y
>> DOCBOOK2X_TEXI=db2x_docbook2texi
> 
> I tried with these options but still fails
> 
>>
>> in my config.mak (besides other stuff), with these versions:
>>
>> asciidoc-8.4.5-5.fc14.noarch
>> docbook2X-0.8.8-7.fc14.x86_64
>> docbook-dtds-1.0-53.fc14.noarch
>> docbook-style-dsssl-1.79-11.fc14.noarch
>> docbook-style-xsl-1.75.2-6.fc14.noarch
>> docbook-utils-0.6.14-26.fc14.noarch
>> libxml2-2.7.7-2.fc14.x86_64
>> libxml++-2.32.0-1.fc14.x86_64
>> libxml2-python-2.7.7-2.fc14.x86_64
>> python-lxml-2.2.8-1.fc14.x86_64
>> xml-common-0.6.3-33.fc14.noarch
>> xmlto-0.0.23-3.fc13.x86_64
>>
>> (libxml is irrelevant)
>>
>> Are you sure you have no other xmlto (type -a xmlto)
> 
>   $ type -a xmlto
>   xmlto is /usr/bin/xmlto
> 
>   $ rpm -qf /usr/bin/xmlto
>   xmlto-0.0.23-3.fc13.x86_64
> 
>> and no tinkering with the default style sheet config?
> 
> Well I've never played with that since I've no idea of what it's.
That's what they all say ;)
How successful is:
make XMLTO_EXTRA="--skip-validation" doc

This should avoid hitting the network for the dtd under all circumstances. (Are you online when make'ing?) Normally, the catalogue should take care of that but this seems to be failing for you.

Just to make sure: You're not building as root, are you?

You can also use the quick-install-doc target, of course, but we want install-doc to work as well on a mainstream distro.

Michael
Previous: Francis MoreauNext: Francis Moreau
Message 8 of 26 in “Can't build doc anymore (v1.7.3.2)”
  1. Francis MoreauNov 22, 2010
  2. Drew NorthupNov 22, 2010
  3. Francis MoreauNov 22, 2010
  4. Drew NorthupNov 22, 2010
  5. Francis MoreauNov 23, 2010
  6. Michael J GruberNov 23, 2010
  7. Francis MoreauNov 23, 2010
  8. Michael J GruberNov 23, 2010
  9. Francis MoreauNov 23, 2010
  10. Michael J GruberNov 23, 2010
  11. Francis MoreauNov 23, 2010
  12. Michael J GruberNov 23, 2010
  13. Francis MoreauNov 23, 2010
  14. Michael J GruberNov 23, 2010
  15. Francis MoreauNov 23, 2010
  16. Drew NorthupNov 23, 2010
  17. Michael J GruberNov 23, 2010
  18. Francis MoreauNov 23, 2010
  19. Drew NorthupNov 23, 2010
  20. Francis MoreauNov 23, 2010
  21. Junio C HamanoNov 24, 2010
  22. git@drmicha.warpmail.netNov 25, 2010
  23. Francis MoreauNov 25, 2010
  24. Francis MoreauNov 23, 2010
  25. Pascal ObryNov 22, 2010
  26. Francis MoreauNov 22, 2010

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.