https://bugs.documentfoundation.org/show_bug.cgi?id=158108

            Bug ID: 158108
           Summary: Build failure with ICU 74
           Product: LibreOffice
           Version: 7.6.2.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

Build fails with ICU 74 (Alpine Linux edge, with musl libc):


[build BRK] CustomTarget/i18npool/breakiterator/edit_word.brk
S=/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1 &&
I=$S/instdir && W=$S/workdir &&  /usr/bin/genbrk  -r
$W/CustomTarget/i18npool/breakiterator/edit_word.txt -o
$W/CustomTarget/i18npool/breakiterator/edit_word.brk > /dev/null
[build CCD] CustomTarget/i18npool/breakiterator/edit_word_brk.c
S=/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1 &&
I=$S/instdir && W=$S/workdir &&  /usr/sbin/genccode -n OpenOffice -d
$W/CustomTarget/i18npool/breakiterator/
$W/CustomTarget/i18npool/breakiterator/edit_word.brk > /dev/null
sed -e "s#\[:LineBreak =  Close_Punctuation:\]#\[& \[:LineBreak =
Close_Parenthesis:\]\]#" \
         \
         \
        -e "/Prepend/d" \
       
/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1/i18npool/source/breakiterator/data/line.txt
>
/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1/workdir/CustomTarget/i18npool/breakiterator/line.txt
[build BRK] CustomTarget/i18npool/breakiterator/line.brk
S=/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1 &&
I=$S/instdir && W=$S/workdir &&  /usr/bin/genbrk  -r
$W/CustomTarget/i18npool/breakiterator/line.txt -o
$W/CustomTarget/i18npool/breakiterator/line.brk > /dev/null
createRuleBasedBreakIterator: ICU Error "U_BRK_UNRECOGNIZED_OPTION"  at line
17, column 14
make[1]: ***
[/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1/i18npool/CustomTarget_breakiterator.mk:90:
/home/ncopa/aports/community/libreoffice/src/libreoffice-7.6.3.1/workdir/CustomTarget/i18npool/breakiterator/line.brk]
Error 12


Line 17 in line.txt contains:

!!LBCMNoChain;

https://github.com/LibreOffice/core/blob/ff3fb42b48c70ba5788507a6177bf0a9f3b50fdb/i18npool/source/breakiterator/data/line.txt#L17

This appears to have been removed in ICU in this commit:
https://github.com/unicode-org/icu/commit/84e47620692be90950d090f2f4722494b020ad96

And genbrk fails...

I am not sure what the proper fix here is.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to