[pkg-php-pear] Bug#1082466: php-proxy-manager: FTBFS with php8.4_8.4.0~beta4-1: make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Sat Sep 21 03:18:03 BST 2024


Source: php-proxy-manager
Version: 2.11.1+1.0.18-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: php8.4

Hi,

During a test rebuild, php-proxy-manager 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>>'
> phpunit
> PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.4.0beta4
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> ...............................................................  63 / 943 (  6%)
> .......S....................................................... 126 / 943 ( 13%)
> ........................S...................................... 189 / 943 ( 20%)
> .S............................................................. 252 / 943 ( 26%)
> ...................................................S........... 315 / 943 ( 33%)
> ............................................................... 378 / 943 ( 40%)
> ............................................................... 441 / 943 ( 46%)
> ............................................................... 504 / 943 ( 53%)
> ................................S.F............................ 567 / 943 ( 60%)
> ............................................................... 630 / 943 ( 66%)
> ............................................................... 693 / 943 ( 73%)
> ............................................................... 756 / 943 ( 80%)
> ............................................................... 819 / 943 ( 86%)
> ............................................................... 882 / 943 ( 93%)
> .............................................................   943 / 943 (100%)
> 
> Time: 00:01.872, Memory: 34.00 MB
> 
> There was 1 failure:
> 
> 1) ProxyManagerTest\GeneratorStrategy\FileWriterGeneratorStrategyTest::testGenerateWillFailIfTmpFileCannotBeWrittenToDisk
> Failed asserting that exception of type "ProxyManager\Exception\FileNotWritableException" is thrown.
> 
> --
> 
> There were 5 skipped tests:
> 
> 1) ProxyManagerTest\Functional\AccessInterceptorScopeLocalizerFunctionalTest::testPropertyUnset with data set #0 (ProxyManagerTestAsset\BaseClass Object (...), ProxyManagerGeneratedProxy\__PM__\ProxyManagerTestAsset\BaseClass\Generatedbe1c75c257a53c5cc5b715448f87ef10 Object (...), 'publicProperty', 'publicPropertyDefault')
> It is currently not possible to synchronize properties un-setting
> 
> /<<PKGBUILDDIR>>/tests/ProxyManagerTest/Functional/AccessInterceptorScopeLocalizerFunctionalTest.php:255
> 
> 2) ProxyManagerTest\Functional\FatalPreventionFunctionalTest::testCodeGeneration
> Test for ProxyManagerTest\Functional\FatalPreventionFunctionalTest::testCodeGeneration skipped by data provider
> PHPUnit\Framework\SkippedTestError: <no message>
> 
> 3) ProxyManagerTest\Functional\LazyLoadingGhostFunctionalTest::testPropertyAbsence with data set #2 (ProxyManagerTestAsset\ClassWithPublicStringTypedProperty Object (...), ProxyManagerGeneratedProxy\__PM__\ProxyManagerTestAsset\ClassWithPublicStringTypedProperty\Generated6cc7a89b3621e203f90958865fe955f5 Object (...), 'typedProperty', 'Typed property initialized value')
> Non-nullable typed properties cannot be removed/unset
> 
> /<<PKGBUILDDIR>>/tests/ProxyManagerTest/Functional/LazyLoadingGhostFunctionalTest.php:228
> 
> 4) ProxyManagerTest\Functional\LazyLoadingValueHolderFunctionalTest::testPropertyAbsence with data set #2 (ProxyManagerTestAsset\ClassWithPublicStringTypedProperty Object (...), ProxyManagerGeneratedProxy\__PM__\ProxyManagerTestAsset\ClassWithPublicStringTypedProperty\Generated37444751375b6d1fe71555d41508b2e3 Object (...), 'typedProperty', 'Typed property initialized value')
> Non-nullable typed properties cannot be removed/unset
> 
> /<<PKGBUILDDIR>>/tests/ProxyManagerTest/Functional/LazyLoadingValueHolderFunctionalTest.php:197
> 
> 5) ProxyManagerTest\GeneratorStrategy\EvaluatingGeneratorStrategyTest::testGenerateWithDisabledEval
> Ini setting "suhosin.executor.disable_eval" is needed to run this test
> 
> /<<PKGBUILDDIR>>/tests/ProxyManagerTest/GeneratorStrategy/EvaluatingGeneratorStrategyTest.php:46
> 
> FAILURES!
> Tests: 943, Assertions: 3017, Failures: 1, Skipped: 5.
> make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-proxy-manager/php-proxy-manager_2.11.1+1.0.18-2+rebuild1726680940_amd64-2024-09-18T17:35:41Z.build



More information about the pkg-php-pear mailing list