Subject: Problems building the NetBSD guide
To: None <netbsd-docs@netbsd.org>
From: Florence HENRY <florence.henry@obspm.fr>
List: netbsd-docs
Date: 09/17/2006 16:21:02
Hello,

I'm trying to compile the NetBSD guide and I have the following  
errors when I just type "make" in the htdocs/guide/en directory :

[Checking tools for typesetting...OK]
sed -e '/^[\/ ]\*/d' su.c >pam_app.c
sed -e '/^[\/ ]\*/d' converse.c >pam_conv.c
sed -e '/^[\/ ]\*/d' pam_unix.c >pam_module.c
echo '<?xml version="1.0" encoding="iso-8859-1" ?>' > default-chunk.xml
echo '<!DOCTYPE book SYSTEM "/usr/pkg/share/xml/docbook/4.2/ 
docbookx.dtd" [' >> default-chunk.xml
echo '<!ENTITY % sgml.includes "IGNORE">' >> default-chunk.xml
echo '<!ENTITY % xml.includes "IGNORE">' >> default-chunk.xml
echo ']>' >> default-chunk.xml
env SP_CHARSET_FIXED=YES  SP_ENCODING=iso-8859-1   
SGML_CATALOG_FILES= /usr/pkg/bin/osx -c /home/flo/NetBSD_Guide/htdocs/ 
guide/en/share/catalog -c /home/flo/NetBSD_Guide/htdocs/guide/ 
en/../../share/xml/catalog -c /usr/pkg/share/sgml/catalog -c /usr/pkg/ 
share/sgml/docbook/dsssl/modular/catalog -c /usr/pkg/share/sgml/ 
docbook/4.2/catalog -f .sxerr -i xml.includes -xsdata-as-pis -xlower - 
xempty -b iso-8859-1  /usr/pkg/share/sgml/docbook/dsssl/modular/dtds/ 
decls/xml.dcl netbsd.xml | tail -n +2 >> default-chunk.xml
env SGML_CATALOG_FILES= XML_CATALOG_FILES="file:///home/flo/ 
NetBSD_Guide/htdocs/guide/en/../../en/share/xml/catalog.xml  file:/// 
home/flo/NetBSD_Guide/htdocs/guide/en/../../share/xml/catalog.xml   
file:///home/flo/NetBSD_Guide/htdocs/guide/en/../../share/xml/catalog- 
common.xml file:///usr/pkg/etc/xml/catalog" /usr/pkg/bin/xsltproc -- 
xinclude --nonet --catalogs   --param manifest "'HTML.manifest'" -- 
param toc.section.depth "'2'" --param toc.max.depth "'8'" --param  
generate.section.toc.level "'0'" --param section.autolabel "'1'" -- 
param section.label.includes.component.label "'1'" --param  
netbsd.url.image.bsddaemon "'../../images/BSD-daemon.jpg'" --param  
netbsd.url.disclaimer "''" --param html.stylesheet "'/NetBSD.css'" -- 
param use.id.as.filename "'1'" --param citerefentry.link "'1'" -- 
param root.filename "'index'" --param html.ext "'.html'" --param  
chunk.first.sections "'0'" --param chunk.section.depth "'0'" --param  
generate.manifest "'1'"  /home/flo/NetBSD_Guide/htdocs/guide/en/share/ 
default-html-chunk.xsl default-chunk.xml
default-chunk.xml:5354: parser error : Unescaped '<' not allowed in  
attributes values
url="http://os.newsforge.com/os/04/05/10/1437236.shtml?tid=8<? 
sdataEntity amp "[
                                                             ^
default-chunk.xml:5354: parser error : attributes construct error
url="http://os.newsforge.com/os/04/05/10/1437236.shtml?tid=8<? 
sdataEntity amp "[
                                                             ^
default-chunk.xml:5354: parser error : Couldn't find end of Start Tag  
ulink line 5353
url="http://os.newsforge.com/os/04/05/10/1437236.shtml?tid=8<? 
sdataEntity amp "[
                                                             ^
default-chunk.xml:5355: parser error : Opening and ending tag  
mismatch: title line 5352 and ulink
 >Implementing Linux emulation on NetBSD</ulink>
                                                ^
default-chunk.xml:5356: parser error : Opening and ending tag  
mismatch: biblioentry line 5351 and title
	</title><author
	        ^
default-chunk.xml:5360: parser error : Opening and ending tag  
mismatch: bibliography line 5349 and biblioentry
 >May 2004</date></biblioentry><biblioentry
                               ^
default-chunk.xml:5459: parser error : Opening and ending tag  
mismatch: sect1 line 5343 and bibliography
 >Apr 2003</date></biblioentry></bibliography></sect1></chapter><chapter
                                              ^
default-chunk.xml:5459: parser error : Opening and ending tag  
mismatch: chapter line 5048 and sect1
 >Apr 2003</date></biblioentry></bibliography></sect1></chapter><chapter
                                                      ^
default-chunk.xml:5459: parser error : Opening and ending tag  
mismatch: part line 3830 and chapter
 >Apr 2003</date></biblioentry></bibliography></sect1></chapter><chapter
                                                                ^
default-chunk.xml:8906: parser error : Unescaped '<' not allowed in  
attributes values
url="http://www.adaptec.com/worldwide/product/markeditorial.html? 
sess=no<?sdataE
                                                                         
  ^
default-chunk.xml:8906: parser error : attributes construct error
url="http://www.adaptec.com/worldwide/product/markeditorial.html? 
sess=no<?sdataE
                                                                         
  ^
default-chunk.xml:8906: parser error : Couldn't find end of Start Tag  
ulink line 8905
url="http://www.adaptec.com/worldwide/product/markeditorial.html? 
sess=no<?sdataE
                                                                         
  ^
default-chunk.xml:8907: parser error : Opening and ending tag  
mismatch: para line 8890 and ulink
 >	  excellent reference</ulink>, and the <citerefentry
	                             ^
default-chunk.xml:8911: parser error : Opening and ending tag  
mismatch: sect2 line 8887 and para
	contains a short overview too.</para></sect2><sect2
	                                     ^
default-chunk.xml:8911: parser error : Opening and ending tag  
mismatch: sect1 line 8884 and sect2
	contains a short overview too.</para></sect2><sect2
	                                             ^
default-chunk.xml:9019: parser error : Opening and ending tag  
mismatch: chapter line 8881 and sect1
e patient when waiting for a response.</para></step></procedure></ 
sect2></sect1>
                                                                         
         ^
default-chunk.xml:10799: parser error : Opening and ending tag  
mismatch: book line 6 and chapter
       instructions!</para></sect1></chapter><chapter
                                             ^
default-chunk.xml:10799: parser error : Extra content at the end of  
the document
       instructions!</para></sect1></chapter><chapter
                                             ^
unable to parse default-chunk.xml
*** Error code 6

Stop.
make: stopped in /home/flo/NetBSD_Guide/htdocs/guide/en

Does anybody know why it's going wrong ?
Thanks,

--
Florence HENRY
florence.henry@obspm.fr