Source: php-twig Version: 3.8.0-4 Severity: normal Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: php8.4
Hi, During a test rebuild, php-twig was found to fail to build with php8.4 8.4.0~beta4-1 available in experimental. There are intentions to transition to php8.4 for trixie, please see #1074180. To reproduce this locally, you need to install php8.4 and php-defaults from experimental on an unstable system or build chroot. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > SYMFONY_DEPRECATIONS_HELPER=weak phpunit > PHPUnit 9.6.20 by Sebastian Bergmann and contributors. > > Testing > ...FF........................................................ 61 / 1672 ( > 3%) > ............................................................. 122 / 1672 ( > 7%) > ............................................................. 183 / 1672 ( > 10%) > ............................................................. 244 / 1672 ( > 14%) > ......................R...................................... 305 / 1672 ( > 18%) > ....S........................................................ 366 / 1672 ( > 21%) > ............................................................. 427 / 1672 ( > 25%) > ............................................................. 488 / 1672 ( > 29%) > ...........................................................S. 549 / 1672 ( > 32%) > ..................................................E.......... 610 / 1672 ( > 36%) > ............................................................. 671 / 1672 ( > 40%) > ............................................................. 732 / 1672 ( > 43%) > ...........................S................................. 793 / 1672 ( > 47%) > ............................................................. 854 / 1672 ( > 51%) > ............................................................. 915 / 1672 ( > 54%) > ............................................................. 976 / 1672 ( > 58%) > ............................................................. 1037 / 1672 ( > 62%) > ............................................................. 1098 / 1672 ( > 65%) > ............................................................. 1159 / 1672 ( > 69%) > ............................................................. 1220 / 1672 ( > 72%) > ............................................................. 1281 / 1672 ( > 76%) > ............................................................. 1342 / 1672 ( > 80%) > ............................................................. 1403 / 1672 ( > 83%) > ............................................................. 1464 / 1672 ( > 87%) > ............................................................. 1525 / 1672 ( > 91%) > ............................................................. 1586 / 1672 ( > 94%) > ............................................................. 1647 / 1672 ( > 98%) > ......................... 1672 / 1672 > (100%) > > Time: 00:00.802, Memory: 36.00 MB > > There was 1 error: > > 1) Twig\Tests\IntegrationTest::testIntegration with data set #312 > ('extensions/anonymous_functions.test', 'use an anonymous function as > ...nction', '', array('\n{{ anon_foo('bar') }}\n{{ '...foo }}'), false, > array(array('--DATA--\nreturn array()\n--E...n*bar*', '\nreturn array()\n', > '', '\n*bar*\n*bar*')), '') > ParseError: syntax error, unexpected token ":" > > /<<PKGBUILDDIR>>/Twig/Environment.php:312 > /<<PKGBUILDDIR>>/Twig/Test/IntegrationTestCase.php:204 > /<<PKGBUILDDIR>>/Twig/Test/IntegrationTestCase.php:82 > > -- > > There were 2 failures: > > 1) Twig\Tests\Cache\FilesystemTest::testWriteFailMkdir > Failed asserting that exception of type "RuntimeException" is thrown. > > 2) Twig\Tests\Cache\FilesystemTest::testWriteFailDirWritable > Failed asserting that exception of type "RuntimeException" is thrown. > > -- > > There was 1 risky test: > > 1) > Twig\Tests\Extension\SandboxTest::testMultipleClassMatchesViaInheritanceInAllowedMethods > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/Extension/SandboxTest.php:416 > > ERRORS! > Tests: 1672, Assertions: 4412, Errors: 1, Failures: 2, Skipped: 3, Risky: 1. > > Legacy deprecation notices (3) > > Other deprecation notices (50) > make[1]: *** [debian/rules:73: override_dh_auto_test] Error 2 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-twig/php-twig_3.8.0-4+rebuild1726681358_amd64-2024-09-18T17:42:39Z.build