Bug 160570 - build failure with ICU 75
Summary: build failure with ICU 75
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on: 158108
Blocks: ICU
  Show dependency treegraph
 
Reported: 2024-04-06 19:25 UTC by Rene Engelhard
Modified: 2024-05-10 09:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Engelhard 2024-04-06 19:25:02 UTC
Description:
[tried on master but will also get a problem on 24.2 ]

Debian just got ICU 75.1 in experimental and after the ICU 74 suprise (which is still not fixed :/) I unfortunately need to say that this breaks again.

(after applying the patch for ICU 74.1 (see https://bugs.documentfoundation.org/show_bug.cgi?id=158108):

[build BRK] CustomTarget/i18npool/breakiterator/sent.brk
S=/home/rene/LibreOffice/git/master && I=$S/instdir && W=$S/workdir &&  /usr/bin/genbrk  -r $S/i18npool/source/breakiterator/data/sent.txt -o $W/CustomTarget/i18npool/breakiterator/sent.brk 
createRuleBasedBreakIterator: ICU Error "U_BRK_RULE_EMPTY_SET"  at line 109, column 1
make[2]: *** [/home/rene/LibreOffice/git/master/i18npool/CustomTarget_breakiterator.mk:92: /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/sent.brk] Error 11
rm /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/line.brk /home/rene/LibreOffice/git/master/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk
make[2]: Leaving directory '/home/rene/LibreOffice/git/master'
make[1]: *** [Makefile:278: build] Error 2
make[1]: Leaving directory '/home/rene/LibreOffice/git/master'

https://cgit.freedesktop.org/libreoffice/core/tree/i18npool/source/breakiterator/data/sent.txt#n109

is the failing rule.

What should we do with this one?


Steps to Reproduce:
1. install ICU 75.1
2. build LO with system-icu

Actual Results:
createRuleBasedBreakIterator: ICU Error "U_BRK_RULE_EMPTY_SET"  at line 109, column 1

Expected Results:
builds


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Rene Engelhard 2024-04-06 19:38:05 UTC
ICU 75.1 rc1 that is but I doubt there will be behaviour changes until its final so we need to do something about that anyways
Comment 2 Rene Engelhard 2024-04-06 19:47:39 UTC
In googling for the error I saw
https://listarchives.libreoffice.org/global/dev/2012/msg05518.html ff.
and the committed
https://cgit.freedesktop.org/libreoffice/core/commit/?id=43084e8b30c101a44510b7a8267d5c2b316a17bb

where something like this was an issue for icu 49. But I don't think the solution there applies here, does it?
Comment 3 Buovjaga 2024-04-07 06:28:36 UTC
Build issues should go to dev list, so can you at least post a reference there?
https://wiki.documentfoundation.org/QA/BugReport#Not_all_bugs_go_to_Bugzilla
Comment 4 Rene Engelhard 2024-04-07 10:28:15 UTC
done. reported it here since the ICU 74 one was also here
Comment 5 Rene Engelhard 2024-05-09 19:54:29 UTC
fixed with https://bugs.documentfoundation.org/show_bug.cgi?id=49885#c17. backport of this (and the preceeding https://bugs.documentfoundation.org/show_bug.cgi?id=49885#c13) makes it build in my 24.2.3