On Sat, 19 Mar 2022 at 09:28:49 +0200, Adrian Bunk wrote: > On Fri, Mar 18, 2022 at 06:05:38PM +0000, Simon McVittie wrote: > > Obviously all these copies of essentially the same codebase are quite > > unfortunate, but mozjs and ICU seem to be sufficiently tightly-coupled > > that perhaps using its vendored version of ICU, at least temporarily, > > would be wiser than using the system copy? > > IMHO unblocking GNOME by temporarily making mozjs91 use its vendored > version until the ICU transition would be a reasonable approach.
I've followed Adrian's suggestion and uploaded a version of mozjs91 to experimental that uses the vendored copy of ICU, decoupling it from this transition. jbicha is planning to upload that to unstable shortly. This also has the advantage that more of the mozjs91 test-suite passes. Several tests unfortunately make assertions about ICU behaviours that can validly change from release to release, like the precise formatting of datetime strings in various languages - I don't think Mozilla upstream really support swapping it out for a system copy. On Mon, 21 Mar 2022 at 06:50:34 +0100, László Böszörményi wrote: > Can you elucidate why Ubuntu would be forced to do the ICU 71.1 > transition for their current to be released LTS version? They would not, but it'll mean we can't be as confident about changes made in Debian being equally valid for Ubuntu or vice versa. > As noted, mozjs78 and 0ad FTBFS in my pbuilder setups. That's interesting, 0ad built fine for me against 70.1 on a porterbox (i386 on barriere) - and its vendored copy of mozjs78 is built with i18n disabled (--without-intl-api), which should in principle disable the ICU dependency. I'm not sure what's going on there. mozjs78 is expected to FTBFS in most ICU transitions, because as with mozjs91, its test-suite makes a lot of assertions about things that are really ICU behaviours rather than mozjs behaviours, and change from version to version. As Adrian suggested, I've done an upload to experimental that switches it to use the vendored ICU. This can be uploaded to unstable whenever needed. After we move gjs from mozjs78 to mozjs91 (which jbicha is preparing now), mozjs78 will only be in Debian for the benefit of cjs and policykit-1/experimental, both of which I hope will move away from mozjs78 before bookworm. smcv