Created attachment 875221 [details] build log upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1862601 upstream patch: https://hg.mozilla.org/try/rev/d5f3b0c4f08a426ce00a153c04e177eecb6820e2 the patch breaks firefox with USE=-system-icu or with <dev-libs/icu-74. I dunno if there's a way to conditionally apply a patch in an ebuild depending on USE flags or system library version.
It goes together with https://hg.mozilla.org/try/rev/d02fa923ef2f612bb70c76ee2d920bd8a3d2bc76 "Bump minimum required ICU version to 74.1" There's a whole bunch of ICU-related patches here.
(In reply to Nick Wallingford from comment #0) > the patch breaks firefox with USE=-system-icu or with <dev-libs/icu-74. I > dunno if there's a way to conditionally apply a patch in an ebuild depending > on USE flags or system library version. Can be done with has_version. That's (normally) something to avoid because it's like automagic, but is fine when binding operators are being used.
same for firefox-115esr: 9143016-17:09.21 In file included from Unified_cpp_intl_lwbrk0.cpp:2: 9143078-17:09.21 /var/tmp/portage/www-client/firefox-115.4.0/work/firefox-115.4.0/intl/lwbrk/LineBreaker.cpp: In function 'int8_t GetClass(uint32_t, mozilla::intl::LineBreakRule, bool)': 9143257:17:09.21 /var/tmp/portage/www-client/firefox-115.4.0/work/firefox-115.4.0/intl/lwbrk/LineBreaker.cpp:439:28: error: static assertion failed: Gecko vs ICU LineBreak class mismatch 9143436-17:09.21 439 | static_assert(U_LB_COUNT == mozilla::ArrayLength(sUnicodeLineBreakToClass), 9143531-17:09.21 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Same here. dev-qt/qtwebengine-6.6.0 and app-office/libreoffice-7.5.6.2 also fail. dev-libs/icu-73.2 does not cause this failure.
(In reply to peter@prh.myzen.co.uk from comment #4) > Same here. dev-qt/qtwebengine-6.6.0 and app-office/libreoffice-7.5.6.2 also > fail. Both are already fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9712b1358dc1b64933c3090d72153aae3270f25 commit d9712b1358dc1b64933c3090d72153aae3270f25 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-11-20 18:33:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-20 18:33:43 +0000 www-client/firefox: fix compat w/ icu-74 Closes: https://bugs.gentoo.org/917599 Signed-off-by: Sam James <sam@gentoo.org> .../firefox/files/firefox-115.4.0-icu-74.patch | 41 ++++++++++++++++++++++ www-client/firefox/firefox-115.4.0.ebuild | 5 +++ www-client/firefox/firefox-119.0.1.ebuild | 5 +++ 3 files changed, 51 insertions(+)