autopkgtest failures after libffi soname change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
composer (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington |
Bug Description
php8.0 sees 5 test case failures in composer starting with 8.0.8-1build1, following the introduction of libffi 3.4.2-1 on Sept 10th.
There were 5 failures:
1) Composer\
lastProxy check
Failed asserting that false is true.
/tmp/autopkgtes
2) Composer\
message check
Failed asserting that false is true.
/tmp/autopkgtes
3) Composer\
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'https:/
+'https:/
/tmp/autopkgtes
4) Composer\
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'http://
+'http://
/tmp/autopkgtes
5) Composer\
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'https:/
+'https:/
/tmp/autopkgtes
description: | updated |
affects: | php8.0 (Ubuntu) → composer (Ubuntu) |
Changed in composer (Ubuntu): | |
assignee: | nobody → Bryce Harrington (bryce) |
status: | New → Triaged |
importance: | Undecided → High |
The issue is actually caused by a functional change in pcre2 10.37 (the perl regular expression package) which was introduced in Impish Aug 25th. The libffi-motivated rebuild was just the first time composer got a rebuild after that change.
Upstream has a workaround for this, which resolves the test issue:
https:/ /github. com/composer/ composer/ pull/9941/ commits/ d77ff0f729e8ee3 9360e8c5a605fb2 005c3cbeca
There are a couple other changes that refine this code further but given how late we are in the cycle I'll keep it to this one patch so we can get php8.0 unblocked. (There are newer versions of composer in Debian experimental that could be sync'd if we want to carry more up to date code in impish.)