[Libreoffice] Build break when generating RDBs

Peter Foley pefoley2 at verizon.net
Thu Sep 1 08:33:33 PDT 2011


On Thu, 1 Sep 2011, Eike Rathke wrote:

> Hi Peter,
> 
> On Tuesday, 2011-08-30 14:36:01 -0400, Peter Foley wrote:
> 
> > [ build ALL ] top level modules: i18npool
> > [ build ALL ] loaded modules: i18npool
> > [ build RDB ] i18npool_test_breakiterator
> > awk: cmd. line:1: $R/^<\?xml version.*$R/ { next; } { gsub($R/vnd.sun.star.expand:\$OOO_BASE_DIR\$R/program$R/, "vnd.sun.star.expand:$OOO_BASE_DIR",$0); gsub($R/vnd.sun.star.expand:\$BRAND_BASE_DIR\$R/program$R/, "vnd.sun.star.expand:$BRAND_BASE_DIR",$0); print; }
> > awk: cmd. line:1:    ^ syntax error
> > awk: cmd. line:1: $R/^<\?xml version.*$R/ { next; } { gsub($R/vnd.sun.star.expand:\$OOO_BASE_DIR\$R/program$R/, "vnd.sun.star.expand:$OOO_BASE_DIR",$0); gsub($R/vnd.sun.star.expand:\$BRAND_BASE_DIR\$R/program$R/, "vnd.sun.star.expand:$BRAND_BASE_DIR",$0); print; }
> > awk: cmd. line:1:      ^ backslash not last character on line
> > make: *** [/libreoffice/workdir/unxlngx6.pro/RdbTarget/i18npool_test_breakiterator.rdb] Error 1
> > 
> > I'm getting the above build error which seems to be caused by $R being 
> > added to the awk regex expression by gb_Helper_abbreviate_dirs.
> 
> Apparently you're the only one getting this error, so I wonder what may
> be different on your system? I doubt this is a general
> "gb_Helper_abbreviate_dirs always inserts $R before /" problem. Which
> platform are you on? I presume winmingw, because that (and windows)
> defines gb_Helper_abbreviate_dirs_native to something different than the
> general gb_Helper_abbreviate_dirs:

I'm actually building libreoffice in a gentoo linux x64 chroot.
I don't know if the chroot is causing this problem or not.
awk is 4.0.0
make is 3.82
Let me know if you need any more info.

Thanks,

Peter


More information about the LibreOffice mailing list