#1007203 php-symfony-polyfill: Package FTBFS with libicu70

Package:
src:php-symfony-polyfill
Source:
php-symfony-polyfill
Submitter:
Athos Ribeiro
Date:
2022-06-03 12:42:06 UTC
Severity:
serious
Tags:
#1007203#5
Date:
2022-03-13 14:38:03 UTC
From:
To:
Dear Maintainer,

As per [1], the QQQQQ and qqqqq quarter patterns are supposed to convert
quarter into numbers (1, 2, 3, or 4). Until vertion 70.1, ICU carried a
bug [2] which would make those patterns to convert into the wrong string,
mimicking the behavior of the QQQQ pattern. The issue has been fixed
upstream [3] and released in ICU 70.1.

Currently, php-symfony-polyfill will FTBFS if built with a version of
php-intl linked against libicu70 because the upstream test suite relies
on libicu's buggy behavior.

I submitted [4] to fix the issue upstream and filed a salsa MR to apply
the proposed patch in Debian [5].

[1] https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
[2] https://unicode-org.atlassian.net/browse/ICU-21647
[3] https://github.com/unicode-org/icu/commit/dcfdaca46c1e3cc08764ad1d85f321ad0c27ae16
[4] https://github.com/symfony/polyfill/pull/399
[5] https://salsa.debian.org/php-team/pear/php-symfony-polyfill/-/merge_requests/1