Known upstream issue: https://bugs.documentfoundation.org/show_bug.cgi?id=158108 createRuleBasedBreakIterator: ICU Error "U_BRK_UNRECOGNIZED_OPTION" at line 17, column 14 make[1]: *** [/var/tmp/portage/app-office/libreoffice-7.5.8.2/work/libreoffice-7.5.8.2/i18npool/CustomTarget_breakiterator.mk:88: /var/tmp/portage/app-office/libreoffice-7.5.8.2/work/libreoffice-7.5.8.2/workdir/CustomTarget/i18npool/breakiterator/line.brk] Error 12 Reproducible: Always Portage 3.0.55 (python 3.11.6-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r7, 6.6.1-gentoo-dist x86_64) ================================================================= System uname: Linux-6.6.1-gentoo-dist-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.38 KiB Mem: 98791456 total, 13084720 free KiB Swap: 20971516 total, 20971516 free Head commit of repository gentoo: d25b8e8f2244882ab90e175accde9a1e02244f20 Timestamp of repository guru: Sun, 19 Nov 2023 16:17:35 +0000 Head commit of repository guru: 6a8c6b3e86ba2edd89a840513f26c355c769dfd7 Timestamp of repository menelkir: Sun, 19 Nov 2023 16:17:35 +0000 Head commit of repository menelkir: c1b8f3e5c9d6a9877908364c3784b4edc6e314da Timestamp of repository pentoo: Sun, 19 Nov 2023 16:17:25 +0000 Head commit of repository pentoo: 0abcc809936b39e60a34994ae53679e3fa448fde Timestamp of repository steam-overlay: Sun, 19 Nov 2023 16:17:26 +0000 Head commit of repository steam-overlay: 31873e6c71cad73d7c1ee6483dc8a4c2b57bd28a sh bash 5.2_p21 ld GNU ld (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p21::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.6::gentoo, 3.12.0_p1::gentoo dev-lang/rust: 1.73.0::gentoo dev-util/cmake: 3.27.7::gentoo dev-util/meson: 1.2.3::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/openrc: 0.52.1::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r2::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo, 17.0.5::gentoo sys-devel/gcc: 13.2.1_p20231014::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 16.0.6::gentoo sys-devel/llvm: 16.0.6::gentoo, 17.0.5::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo/gentoo priority: -1000 volatile: True guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: True menelkir location: /var/db/repos/menelkir sync-type: git sync-uri: https://github.com/gentoo-mirror/menelkir.git masters: gentoo volatile: False pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE ValveSteamLicense" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=native -mtune=native -flto=auto -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -march=native -mtune=native -flto=auto -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--usepkg --autounmask=n --backtrack=300 --complete-graph --with-bdeps=y --keep-going" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O3 -march=native -mtune=native -flto=auto -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O3 -march=native -mtune=native -flto=auto -pipe" GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirror.leaseweb.com/gentoo/ https://mirror.rackspace.com/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j22" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X acl alsa amd64 bash-completion bluetooth bzip2 caps cli crypt cups dri elogind evdev fortran gdbm graphite iconv ipv6 libtirpc lm-sensors lto multilib ncurses nls nptl opengl openmp pam pci pcre pgo pulseaudio readline seccomp split-usr ssl test-rust threads udev unicode vaapi vdpau verify-sig vim-syntax vulkan x264 xattr xdg xrandr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" AMDGPU_TARGETS="gfx1100" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
*** Bug 917628 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d633f275b2486e6dbb4a6efaf7442ec8ae9fb0d commit 1d633f275b2486e6dbb4a6efaf7442ec8ae9fb0d Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2023-11-20 12:17:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-20 13:32:52 +0000 app-office/libreoffice: fix icu-74 incompatibility * This is only the bare minimum patch to allow icu-74 to compile. Upstream should do a proper sync of the data file(s) as the last sync was in 2009 with a few minor changes here and there causing it to diverge. Closes: https://bugs.gentoo.org/917618 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33915 Signed-off-by: Sam James <sam@gentoo.org> .../libreoffice-7.5.8.2-icu-74-compatibility.patch | 218 +++++++ .../libreoffice/libreoffice-7.5.8.2-r1.ebuild | 664 +++++++++++++++++++++ 2 files changed, 882 insertions(+)
*** Bug 917631 has been marked as a duplicate of this bug. ***
app-office/libreoffice-9999 is also affected. What about the older versions in tree? I think we should keep this open until we have a proper upstream solution. A workaround would be if has_version >=dev-libs/icu-74 installed then use the bundled icu. libreoffice-9999.ebuild: "${ADDONS_URI}/icu4c-73_2-data.zip" --without-system-icu
(In reply to jospezial from comment #4) > > A workaround would be if has_version >=dev-libs/icu-74 installed then use > the bundled icu. > libreoffice-9999.ebuild: > "${ADDONS_URI}/icu4c-73_2-data.zip" > --without-system-icu also needed then "${ADDONS_URI}/icu4c-73_2-src.tgz"
*** Bug 917753 has been marked as a duplicate of this bug. ***
*** Bug 918108 has been marked as a duplicate of this bug. ***
(In reply to jospezial from comment #4) > app-office/libreoffice-9999 is also affected. Patching 9999 tends to be a nuisance to keep up with, although we could maybe add it in temporarily. > What about the older versions in tree? Not really worried about those at all. Using ~arch ICU with stable other stuff is always going to break things, this happens all the time with various software.
Created attachment 875923 [details, diff] ICU_74.1.patch patch from https://gerrit.libreoffice.org/c/core/+/158749 for app-office/libreoffice-9999 Maybe somebody wants to backport it or wait until upstream acts. Please re-open this bug!
Thanks for that link, but there's nothing to do until it is actually landed upstream.
*** Bug 918927 has been marked as a duplicate of this bug. ***
*** Bug 918930 has been marked as a duplicate of this bug. ***
This is why we wait for upstreams to sort their stuff out: https://gerrit.libreoffice.org/c/core/+/158749/5#message-d51aa1630ddd6bd0b650b5290e47daae44b34510
https://github.com/LibreOffice/core/commit/ae182240328f20508c7a8936daf74a088627540b "Update to ICU 74.1"
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a91942cec4b0b37559e1b10011168787b18232 commit 99a91942cec4b0b37559e1b10011168787b18232 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-05-27 16:11:12 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-05-27 22:22:59 +0000 app-office/libreoffice: Use upstream ICU-74 patches, also fixing ICU-75 Bug: https://bugs.gentoo.org/917618 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-office/libreoffice/Manifest | 1 + app-office/libreoffice/libreoffice-24.2.3.2.ebuild | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-)