Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920713 - dev-libs/icu-74.1 - VTimeZone::write produces non-compliant VTIMEZONE (breaks e.g. mail-client/thunderbird)
Summary: dev-libs/icu-74.1 - VTimeZone::write produces non-compliant VTIMEZONE (breaks...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL: https://unicode-org.atlassian.net/bro...
Whiteboard:
Keywords: PATCH
: 920821 920886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-26 08:54 UTC by Erich Seifert
Modified: 2024-11-02 06:46 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ICU-22132.patch (ICU-22132.patch,1.06 KB, patch)
2023-12-26 08:57 UTC, Erich Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Seifert 2023-12-26 08:54:41 UTC
Issue ICU-22132 in the dev-libs/icu-74.1 "VTimeZone::write produces non-compliant VTIMEZONE" affects multiple applications. In my case Thunderbird would not initialize correctly and there was no sidebar, no search bar and the calendar was missing. There is no official fix yet, but the patch provided in the discussion fixed the issue for me.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/icu-74.1 =mail-client/thunderbird-115.6.0
2. Start Thunderbird

Actual Results:  
Thunderbird starts, but misses several components.

Expected Results:  
Thunderbird should start with all components available.

There is also a related issue in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1843007
Comment 1 Erich Seifert 2023-12-26 08:57:41 UTC
Created attachment 880313 [details, diff]
ICU-22132.patch
Comment 2 tka 2023-12-26 16:45:05 UTC
Same issue here, no calendar or task view in thunderbird when using USE=system-icu, which was just recently unmasked again. Console shows repetitions of:

JavaScript error: resource:///modules/calendar/calStorageHelpers.jsm, line 83: uncaught exception: ParserError: invalid line (no token ";" or ":") "Europe/Berlin[2023c]"
console.warn: Calendar: Message: [Exception... "ParserError: invalid line (no token ";" or ":") "Europe/Berlin[2023c]"'ParserError: invalid line (no token ";" or ":") "Europe/Berlin[2023c]"' when calling method: [calITimezoneService::getTimezone]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "JS frame :: resource:///modules/calendar/calStorageHelpers.jsm :: getTimezone :: line 83"  data: no]


With USE=-system-icu, thunderbird is showing the calendar and tasks as expected:

#  USE=-system-icu emerge -pqv =dev-libs/icu-74.1:0/74.1::gentoo =mail-client/thunderbird-115.6.0::gentoo
[ebuild   R   ] dev-libs/icu-74.1  USE="test verify-sig -debug -doc -examples -static-libs" 
[ebuild   R   ] mail-client/thunderbird-115.6.0  USE="X clang dbus eme-free hardened openh264 system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland -debug -hwaccel -jack -libproxy -lto (-pgo) -pulseaudio (-selinux) -sndio -system-icu -system-png (-system-python-libs) -wifi" L10N="-af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW"
Comment 3 Joonas Niilola gentoo-dev 2023-12-26 17:42:08 UTC
Sigh, it was supposed to be fixed in 74.1. Basically this PR needs to be reverted then:
https://github.com/gentoo/gentoo/pull/34419
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-27 19:03:06 UTC
*** Bug 920821 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2023-12-27 19:12:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9016bfc14dd8c0cd71033e2d9766c0b645f40fe

commit b9016bfc14dd8c0cd71033e2d9766c0b645f40fe
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-12-27 19:07:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-12-27 19:11:59 +0000

    Revert "profiles/base: remove global profile thunderbird[system-icu..."
    
    This reverts commit 74ff9e82b937ea76b0a149d35c811b4dbd9e0bbb.
    
    The fix did not land in 74.1 after all, but is now marked for icu-75.
    Globally masking thunderbird[system-icu] again.
    
    Bug: https://bugs.gentoo.org/920821
    Closes: https://bugs.gentoo.org/920713
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-28 15:42:11 UTC
*** Bug 920886 has been marked as a duplicate of this bug. ***
Comment 7 jospezial 2024-10-07 13:15:09 UTC
Not fixed in dev-libs/icu-75.1
fixed version set to future in https://unicode-org.atlassian.net/browse/ICU-22132
There is no PR at https://github.com/unicode-org/icu/pulls for ICU-22132
There were some changes in https://github.com/unicode-org/icu/commits/main/icu4c/source/i18n/vtzone.cpp but I don't know if that fixes the issue.

Please update the comment in profiles/base/package.use.stable.mask

btw, there is https://github.com/unicode-org/icu/releases/tag/release-76-rc if you wanna test.

Why don't we add the patch to dev-libs/icu until it is merged upstream?