make release on RELENG_6 broken with russian handbook build error

Dmitriy Kirhlarov dimma at higis.ru
Tue Jan 16 15:12:11 UTC 2007


Hi, list

More them half year I'm using same script for generating my own
releases and all time it's works fine.

Today I tried to make release with
RELEASE="RELENG_6"
DATE="01/16/2007 00:00:00 UTC"

and get error:
-------------------------------------------
===> ru_RU.KOI8-R/books/handbook (all)
/bin/mkdir -p /usr/doc/ru_RU.KOI8-R/share/sgml
env SGML_CATALOG_FILES= XML_CATALOG_FILES="file:///usr/doc/ru_RU.KOI8-R/books/handbook/catalog-cwd.xml  file:///usr/doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/
doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog-common.xml  file:///usr/www/./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/local/bin/xsltproc --nonet  --param 'tr
anstable.xml' "'/usr/doc/ru_RU.KOI8-R/share/sgml/transtable.xml'"  --param 'transtable-target-element' "'country'"  --param 'transtable-word-group' "'country'"  --param 
'transtable-mode' "'sortkey'"  /usr/doc/ru_RU.KOI8-R/share/sgml/transtable-local.xsl /usr/doc/share/sgml/mirrors.xml  | env -i LANG="ru_RU.KOI8-R" /usr/bin/sort -f > /us
r/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp
env -i /usr/bin/grep "^<?xml" < /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp > /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort
echo "<sortkeys>" >> /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort
env -i /usr/bin/awk '/@sortkey@/ {sub(/@sortkey@/, ++line); print;}' < /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp >> /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.
xml.sort
echo '</sortkeys>' >> /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort
env SGML_CATALOG_FILES= XML_CATALOG_FILES="file:///usr/doc/ru_RU.KOI8-R/books/handbook/catalog-cwd.xml  file:///usr/doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/
doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog-common.xml  file:///usr/www/./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/local/bin/xsltproc --nonet -o /usr/doc/
ru_RU.KOI8-R/share/sgml/mirrors.xml  --param 'transtable.xml' "'/usr/doc/ru_RU.KOI8-R/share/sgml/transtable.xml'"  --param 'transtable-target-element' "'country'"  --par
am 'transtable-word-group' "'country'"  --param 'transtable-sortkey.xml' "'/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort'"  /usr/doc/ru_RU.KOI8-R/share/sgml/transtab
le-local.xsl /usr/doc/share/sgml/mirrors.xml
/bin/rm -f /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp
echo '<!ENTITY base "../../../..">' > /usr/doc/ru_RU.KOI8-R/books/handbook/autogen.ent
env SGML_CATALOG_FILES= XML_CATALOG_FILES="file:///usr/doc/ru_RU.KOI8-R/books/handbook/catalog-cwd.xml  file:///usr/doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/
doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog-common.xml  file:///usr/www/./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/local/bin/xsltproc --nonet  -o mirrors.
sgml.ftp.inc.tmp --param 'type' "'ftp'"  --param 'proto' "'ftp'"  --param 'target' "'handbook/mirrors/chapter.sgml'"  --param transtable.xml "'/usr/doc/ru_RU.KOI8-R/shar
e/sgml/transtable.xml'"  /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors-local.xsl /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml
runtime error: file /usr/doc/share/sgml/mirrors-master.xsl line 97 element choose
Variable 'mirrors-docbook-country-index-without-period' has not been declared.
*** Error code 10

Stop in /usr/doc/ru_RU.KOI8-R/books/handbook.
*** Error code 1

Stop in /usr/doc/ru_RU.KOI8-R/books.
*** Error code 1

Stop in /usr/doc/ru_RU.KOI8-R.
*** Error code 1

Stop in /usr/doc.
*** Error code 1

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /usr/src/release.
-------------------------------------------


Part of script:
-------------------------------------------
        cd release && make release BUILDNAME=${RELEASE} \
                CHROOTDIR=/usr/release \
                CVSROOT=/home/ncvs \
                EXTSRCDIR=/usr/src \
                KERNELS=OILSPACE1 \
                MAKE_ISOS=yes \
                NOPORTS=yes \
                RELEASETAG=${RELEASE} \
                WORLD_FLAGS="-j4" \
                KERNEL_FLAGS=""
-------------------------------------------

Something changes in make release procedure or real bug in russian handbook?

WBR
Dmitriy


More information about the freebsd-stable mailing list