handbook install error

Joshua Tinnin krinklyfig at speakeasy.net
Fri Jan 26 19:10:38 UTC 2007


On Fri, Jan 26, 2007 at 06:33:32PM +0800, LI Xin wrote:
> applecom at inbox.ru wrote:
> > I get an error during current handbook installation (FreeBSD 6.2-STABLE,
> > docproj-nojadetex-1.17):
> > 
> > '===> en_US.ISO8859-1/books/handbook (install)
> > /bin/mkdir -p /usr/doc/en_US.ISO8859-1/share/sgml
> > env SGML_CATALOG_FILES=
> > XML_CATALOG_FILES="file:///usr/doc/en_US.ISO8859-1/books
> > /handbook/catalog-cwd.xml 
> > file:///usr/doc/en_US.ISO8859-1/share/sgml/catalog.xm
> > l  file:///usr/doc/en_US.ISO8859-1/share/sgml/catalog.xml 
> > file:///usr/doc/share
> > /sgml/catalog.xml  file:///usr/doc/share/sgml/catalog-common.xml 
> > file:///usr/ww
> > w/./share/sgml/catalog.xml  file:///usr/www/share/sgml/catalog.xml 
> > file:///usr/
> > www/share/sgml/catalog-common.xml  file:///usr/local/share/xml/catalog"
> > /usr/loc
> > al/bin/xsltproc --nonet  --param 'transtable.xml'
> > "'/usr/doc/share/sgml/transtab
> > le.xml'"  --param 'transtable-target-element' "'country'"  --param
> > 'transtable-w
> > ord-group' "'country'"  --param 'transtable-mode' "'sortkey'" 
> > /usr/doc/share/sg
> > ml/transtable-local.xsl /usr/doc/share/sgml/mirrors.xml  | env -i
> > LANG="en_US.IS
> > O8859-1" /usr/bin/sort -f >
> > /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.sort
> > .tmp
> > env -i /usr/bin/grep "^<?xml" <
> > /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.
> > sort.tmp > /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.sort
> > echo "<sortkeys>" >> /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.sort
> > env -i /usr/bin/awk '/@sortkey@/ {sub(/@sortkey@/, ++line); print;}' <
> > /usr/doc/
> > en_US.ISO8859-1/share/sgml/mirrors.xml.sort.tmp >>
> > /usr/doc/en_US.ISO8859-1/shar
> > e/sgml/mirrors.xml.sort
> > echo '</sortkeys>' >> /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.sort
> > env SGML_CATALOG_FILES=
> > XML_CATALOG_FILES="file:///usr/doc/en_US.ISO8859-1/books
> > /handbook/catalog-cwd.xml 
> > file:///usr/doc/en_US.ISO8859-1/share/sgml/catalog.xm
> > l  file:///usr/doc/en_US.ISO8859-1/share/sgml/catalog.xml 
> > file:///usr/doc/share
> > /sgml/catalog.xml  file:///usr/doc/share/sgml/catalog-common.xml 
> > file:///usr/ww
> > w/./share/sgml/catalog.xml  file:///usr/www/share/sgml/catalog.xml 
> > file:///usr/
> > www/share/sgml/catalog-common.xml  file:///usr/local/share/xml/catalog"
> > /usr/loc
> > al/bin/xsltproc --nonet -o
> > /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml  --pa
> > ram 'transtable.xml' "'/usr/doc/share/sgml/transtable.xml'"  --param
> > 'transtable
> > -target-element' "'country'"  --param 'transtable-word-group'
> > "'country'"  --par
> > am 'transtable-sortkey.xml'
> > "'/usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.so
> > rt'"  /usr/doc/share/sgml/transtable-local.xsl
> > /usr/doc/share/sgml/mirrors.xml
> > /bin/rm -f /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml.sort
> > /usr/doc/en_US.I
> > SO8859-1/share/sgml/mirrors.xml.sort.tmp
> > echo '<!ENTITY base "../../../..">' >
> > /usr/doc/en_US.ISO8859-1/books/handbook/au
> > togen.ent
> > env SGML_CATALOG_FILES=
> > XML_CATALOG_FILES="file:///usr/doc/en_US.ISO8859-1/books
> > /handbook/catalog-cwd.xml 
> > file:///usr/doc/en_US.ISO8859-1/share/sgml/catalog.xm
> > l  file:///usr/doc/en_US.ISO8859-1/share/sgml/catalog.xml 
> > file:///usr/doc/share
> > /sgml/catalog.xml  file:///usr/doc/share/sgml/catalog-common.xml 
> > file:///usr/ww
> > w/./share/sgml/catalog.xml  file:///usr/www/share/sgml/catalog.xml 
> > file:///usr/
> > www/share/sgml/catalog-common.xml  file:///usr/local/share/xml/catalog"
> > /usr/loc
> > al/bin/xsltproc --nonet  -o mirrors.sgml.ftp.inc.tmp --param 'type'
> > "'ftp'"  --p
> > aram 'proto' "'ftp'"  --param 'target'
> > "'handbook/mirrors/chapter.sgml'"  --para
> > m transtable.xml "'/usr/doc/share/sgml/transtable.xml'" 
> > /usr/doc/share/sgml/mir
> > rors-local.xsl /usr/doc/en_US.ISO8859-1/share/sgml/mirrors.xml
> > runtime error: file /usr/doc/share/sgml/mirrors-master.xsl line 97
> > element choos
> > e
> > Variable 'mirrors-docbook-country-index-without-period' has not been
> > declared.
> > *** Error code 10
> > 
> > Stop in /usr/doc/en_US.ISO8859-1/books/handbook.
> > *** Error code 1
> > 
> > Stop in /usr/doc/en_US.ISO8859-1/books.
> > *** Error code 1
> > 
> > Stop in /usr/doc/en_US.ISO8859-1.
> > *** Error code 1
> > 
> > Stop in /usr/doc.'
> > 
> > I had this error a few times after cvsup'ing. It's most likely my system
> > problem but I don't know what.
> 
> ++
> 
> I have the problem too, but after rolling back the docproj toolchain to
> RELENG_6_2_0_RELEASE it seems that the problems goes away

How do you do that?

> , so I guess
> some newer version of build toolchain has caused this.  Did not
> investigated this though.

Hmmmm ...

- jt



More information about the freebsd-doc mailing list