[pkg-php-pear] Bug#1070562: php-league-flysystem: FTBFS with phpunit 11: Unknown option "-v"

Athos Ribeiro athoscribeiro at gmail.com
Mon May 6 15:18:16 BST 2024


Source: php-league-flysystem
Version: 1.1.10-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
php-league-flysystem was found to fail to build with this new phpunit version.

To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p vendor
> phpabtpl \
> 	--require phpspec/prophecy \
> 	--require-file ../src/autoload.php \
> 	> debian/autoload.php.test.tpl
> Proceeding without a composer.json file.phpab \
> 	-o vendor/autoload.php \
> 	-t debian/autoload.php.test.tpl \
> 	tests stub
> phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
> 
> Scanning directory tests
> Scanning directory stub
> 
> Autoload file vendor/autoload.php generated.
> 
> phpunit -v --include-path src --exclude-group integration
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Unknown option "-v"
> make[1]: *** [debian/rules:13: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-league-flysystem/php-league-flysystem_1.1.10-2+rebuild1714780870_amd64-2024-05-04T00:01:11Z.build



More information about the pkg-php-pear mailing list