Subject: openoffice build fails after dependency upgrade
To: None <tech-pkg@netbsd.org>
From: Ja'far Railton <ibn.richard@gmail.com>
List: tech-pkg
Date: 09/30/2005 17:42:12
Hello

Having upgraded my packages to 2005Q5 branch, the rebuild of openoffice
failed with the following error message (libxslt was one of the packages
that was upgraded).


<snip>

=============
Building project officecfg
=============
/usr/pkgsrc/misc/openoffice/work/officecfg/org/openoffice/configuration
-------------
/usr/pkgsrc/misc/openoffice/work/officecfg/org/openoffice/helper
-------------
/usr/pkgsrc/misc/openoffice/work/officecfg/registry/schema
-------------
-------------+ creating locale dependent resource bundles
mkdir -p ../../unxbsdi2.pro/misc/registry/res/de/org/openoffice/
/usr/pkg/bin/xsltproc -o ../../unxbsdi2.pro/misc/registry/res/de/org/openoffice/Inet.properties \
	            --stringparam locale de \
	            ../../util/resource.xsl org/openoffice/Inet.xcs
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
dmake:  Error code 5, while making '../../unxbsdi2.pro/misc/registry/res/de/org/openoffice/Inet.properties'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/pkgsrc/misc/openoffice/work/officecfg/registry/schema
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/misc/openoffice/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice

_______________________________________________________________

The line 87 referred to above says:

<!-- match all elements that could possibly contain info elements --> 
<xsl:template match="info/desc[@xml:lang=$locale]|info/label[@xml:lang=$locale]"> 

I tried to run the build with those lines commented out but no good.
This is the same openoffice distfile that built OK before but with
libxslt-1.1.14 (now 1.1.15).

Thanks for any help.

- ja'far