php-symfony-polyfill FTBFS on noble

Bug #2049901 reported by Ravi Kant Sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-symfony-polyfill (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:
$ pull-lp-source php-symfony-polyfill
$ sbuild --no-clean --no-run-lintian -d noble .

Logs snippet:

465) Symfony\Polyfill\Tests\Php83\Php83Test::testJsonValidateInvalidOptionsProvided with data set #2 (512, 2, 'json_validate(): Argument #3 ...GNORE)')
Internal function not found: json_validate

/<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:165

FAILURES!
Tests: 40229, Assertions: 47663, Failures: 414, Warnings: 3, Skipped: 465.
make[1]: *** [debian/rules:53: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

description: updated
Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

This is probably an issue with building against php8.3. I see the debian version is building against php8.2 right now.

Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

There was an upstream commit[0] which looked promising. I tried applying that and the test still fails the same. The results are in my PPA[1].

[0] - https://github.com/symfony/polyfill/commit/1100c075b44595802401a0c9d6505bc1e8fd299a
[1] - https://launchpad.net/~mitchdz/+archive/ubuntu/php-symfony-polyfill-1100c07

Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

This package looks like it'll take quite a bit more digging to get to build properly.

Since this is a leaf package and in universe I'll stop working on this due to FF looming.

I submitted a bug report to debian to give them a heads up that they may hit this when updating php to 8.3 as well[0].

[0] - https://<email address hidden>/msg1967204.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.