From owner-freebsd-openoffice@FreeBSD.ORG Mon Oct 10 18:06:39 2005 Return-Path: X-Original-To: freebsd-openoffice@freebsd.org Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBF2516A41F for ; Mon, 10 Oct 2005 18:06:39 +0000 (GMT) (envelope-from gregorynou@altern.org) Received: from esemetz.metz.supelec.fr (esemetz.metz.supelec.fr [193.48.224.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB2ED43D48 for ; Mon, 10 Oct 2005 18:06:36 +0000 (GMT) (envelope-from gregorynou@altern.org) Received: from smtp.metz.supelec.fr (smtp.metz.supelec.fr [193.48.224.205]) by esemetz.metz.supelec.fr (8.11.6/8.9.3) with ESMTP id j9AI6ZI03580 for ; Mon, 10 Oct 2005 20:06:35 +0200 Received: from [193.48.225.2] (nou.rez-metz.supelec.fr [193.48.225.2]) by smtp.metz.supelec.fr (8.11.6/8.11.6) with ESMTP id j9AI0vK04460; Mon, 10 Oct 2005 20:00:57 +0200 Message-ID: <434AADC1.8020705@altern.org> Date: Mon, 10 Oct 2005 20:06:57 +0200 From: Gregory Nou User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-openoffice@freebsd.org References: <434A254B.2050708@altern.org> In-Reply-To: <434A254B.2050708@altern.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Gregory Nou Subject: Re: in reply to : [BUG] localized OOo causes compilation error X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 18:06:40 -0000 Hi, I investigate the problem today, and found a beginning of solution on http://permalink.gmane.org/gmane.os.netbsd.devel.packages/21318 Apparently, it comes from a bug in OOo which was ignored by libxml, until a recent time. This is due to the fact that you cannot use variables in match strings. They even suggest a dirty patch, but it works,... (to make it short : delete $ at line 87 : "$locale" becomes "locale") To avoid bad surprises, I changed the fallback-locale at line 73. Gregory Nou wrote: > Exactly same problem here : > > -------------+ creating locale dependent resource bundles > mkdir -p ../../unxfbsd.pro/misc/registry/res/de/org/openoffice/ > /usr/local/bin/xsltproc -o > ../../unxfbsd.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 > '../../unxfbsd.pro/misc/registry/res/de/org/openoffice/Inet.properties' > ---* TG_SLO.MK *--- > > ERROR: Error 65280 occurred while making > /usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/officecfg/registry/schema > > dmake: Error code 1, while making 'build_all' > ---* TG_SLO.MK *--- > *** Error code 255 > > Stop in /usr/ports/editors/openoffice.org-1.1. > zsh: exit 1 make LOCALIZED_LANG=fr -DWITHOUT_JAVA > > freebsd 7.0 from yesterday, cvsup from yesterday (in fact, everything > from yesterday...) > Still, I'm experiencing this problem for at least on month. (was already > on 7.0) > (in case of reply, please add me in cc) > -- Grégory