samba-technical@lists.samba.org
[Top] [All Lists]

Why does manpage generation take so long?

Subject: Why does manpage generation take so long?
From: Andrew Bartlett
Date: Tue, 01 Jun 2010 13:10:51 +1000
Now that we generate and install the manpages in the waf build, it seems
to take a very long time.

Any idea why it must make outbound HTTP connections?
(gdb) bt
#0  0x00002b5ae0291388 in *__GI___poll (fds=0x7fffb787b090, nfds=1,
timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:83
#1  0x00002b5adfc85f3e in xmlNanoHTTPConnectAttempt (addr=<value
optimized out>) at nanohttp.c:961
#2  0x00002b5adfc866e0 in xmlNanoHTTPConnectHost (host=<value optimized
out>, port=<value optimized out>) at nanohttp.c:1097
#3  0x00002b5adfc87306 in xmlNanoHTTPMethodRedir__internal_alias
(URL=<value optimized out>, method=<value optimized out>, input=<value
optimized out>, contentType=<value optimized out>, redir=<value
optimized out>, 
    headers=<value optimized out>, ilen=0) at nanohttp.c:1381
#4  0x00002b5adfc87833 in xmlNanoHTTPMethod__internal_alias
(URL=0x7fffb787b090 "\003", method=0x1 <Address 0x1 out of bounds>,
input=0xea60 <Address 0xea60 out of bounds>,
contentType=0xffffffffffffffff, headers=<value optimized out>, 
    ilen=<value optimized out>) at nanohttp.c:1590
#5  0x00002b5adfc4a9d5 in __xmlParserInputBufferCreateFilename
(URI=0x3387270
"http://docbook.sourceforge.net/release/xsl/current/html/division.xsl";,
enc=<value optimized out>) at xmlIO.c:2499
#6  0x00002b5adfc1fd9d in xmlNewInputFromFile__internal_alias
(ctxt=0x3387320, filename=0x3387270
"http://docbook.sourceforge.net/release/xsl/current/html/division.xsl";)
at parserInternals.c:1549
#7  0x00002b5adfc4b937 in xmlDefaultExternalEntityLoader (URL=0x33889e0
"http://docbook.sourceforge.net/release/xsl/current/html/division.xsl";,
ID=0x0, ctxt=0x3387320) at xmlIO.c:3881
#8  0x0000000000401dac in ?? ()
#9  0x00002b5adfc4aeff in xmlLoadExternalEntity__internal_alias
(URL=<value optimized out>, ID=0x0, ctxt=0x3387320) at xmlIO.c:3937
#10 0x00002b5adf7be47d in ?? () from /usr/lib/libxslt.so.1
#11 0x00002b5adf7be763 in xsltLoadStyleDocument ()
from /usr/lib/libxslt.so.1

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

<Prev in Thread] Current Thread [Next in Thread>