[pkg-php-pear] Bug#1082485: phpdox: FTBFS with php8.4_8.4.0~beta4-1: [exec] PHP Fatal error: Cannot make static method DOMXPath::quote() non static in class TheSeer\fDOM\fDOMXPath in /usr/share/php/TheSeer/fDOMDocument/fDOMXPath.php on line 153

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


Source: phpdox
Version: 0.12.0-6
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, phpdox 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>>'
> ant test
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> phpunit:
>      [exec] PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
>      [exec] 
>      [exec] Runtime:       PHP 8.4.0beta4
>      [exec] Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>      [exec] Warning:       No code coverage driver available
>      [exec] Warning:       Your XML configuration validates against a deprecated schema.
>      [exec] Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
>      [exec] 
>      [exec] PHP Fatal error:  Cannot make static method DOMXPath::quote() non static in class TheSeer\fDOM\fDOMXPath in /usr/share/php/TheSeer/fDOMDocument/fDOMXPath.php on line 153
>      [exec] ..W
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:28: exec returned: 255
> 
> Total time: 0 seconds
> make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/phpdox/phpdox_0.12.0-6+rebuild1726681638_amd64-2024-09-18T17:47:19Z.build



More information about the pkg-php-pear mailing list