[Libreoffice] Build break when generating RDBs
Eike Rathke
ooo at erack.de
Thu Sep 1 06:09:18 PDT 2011
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:
solenv/gbuild/Helper.mk:define gb_Helper_abbreviate_dirs
solenv/gbuild/platform/solaris.mk:gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
solenv/gbuild/platform/winmingw.mk:define gb_Helper_abbreviate_dirs_native
solenv/gbuild/platform/ios.mk:gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
solenv/gbuild/platform/windows.mk:define gb_Helper_abbreviate_dirs_native
solenv/gbuild/platform/macosx.mk:gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
solenv/gbuild/platform/unxgcc.mk:gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
Eike
--
PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110901/3b5dfa59/attachment.pgp>
More information about the LibreOffice
mailing list