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, 11:41 UTC
Message-ID
<4CEBA872.2020001@drmicha.warpmail.net>
In-Reply-To
<m2vd3ojna1.fsf@gmail.com>
Francis Moreau venit, vidit, dixit 23.11.2010 12:24:
Show 52 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
> 
>> Francis Moreau venit, vidit, dixit 23.11.2010 10:32:
>>>
>>>   $ make prefix=/usr/local NO_CURL=1 ASCIIDOC8=y DOCBOOK2X_TEXI=db2x_docbook2texi ASCIIDOC_NO_ROFF=y XMLTO_EXTRA="--skip-validation" V=1 doc
>>>   make -C Documentation all
>>>   make[1]: Entering directory `/home/fmoreau/git/Documentation'
>>>   make -C ../  GIT-VERSION-FILE
>>>   make[2]: Entering directory `/home/fmoreau/git'
>>>   make[2]: `GIT-VERSION-FILE' is up to date.
>>>   make[2]: Leaving directory `/home/fmoreau/git'
>>>   rm -f git-fetch.1 && \
>>>   xmlto -m manpage-normal.xsl --skip-validation man git-fetch.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.A7kzn5 line 4 element import
>>>   xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>>>   make[1]: *** [git-fetch.1] Error 1
>>>   make[1]: Leaving directory `/home/fmoreau/git/Documentation'
>>>   make: *** [doc] Error 2
>>
>> This is weird for several reasons.
>>
>> Can you wget or curl these files?
> 
> Yes I can.
> 
>>
>> Besides, I can build the doc even without network access, even though my
>> /tmp/xmlto... has the same import statement.
>>
>> Can you check with which options your xmlto calls your xsltproc? Mine
>> has "--nonet".
> 
> I can see the following ones:
> 
>   --nonet
>   --xinclude
> 
>> Do you have libxslt-1.1.26-3.fc14.x86_64, and is your xsltproc the one
>> from that package?
> 
>   $ rpm -qa | grep libxslt
>   libxslt-devel-1.1.26-3.fc14.x86_64
>   libxslt-1.1.26-3.fc14.x86_64
> 
>   $ which xsltproc
>   /usr/bin/xsltproc
> 
>   $ rpm -qf /usr/bin/xsltproc
>   libxslt-1.1.26-3.fc14.x86_64
> 
I'm pretty stomped then. The only remaining suggestions:
- remove xml-commons-resolver and try again
- try as a different user
Otherwise, an strace of xsltproc might give some hints...
Michael
Previous: Francis MoreauNext: Francis Moreau
Message 12 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.