[pkg-php-pear] Bug#1070565: php-league-mime-type-detection: FTBFS with phpunit 11: Unknown option "-v"

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


Source: php-league-mime-type-detection
Version: 1.10.0+ds-1
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-mime-type-detection 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
> phpab -o vendor/autoload.php -t debian/autoload.php.test.tpl \
> 	-i '*Test.php' src
> phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
> 
> Scanning directory src
> 
> Autoload file vendor/autoload.php generated.
> 
> phpunit -v --include-path src
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Unknown option "-v"
> make[1]: *** [debian/rules:18: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-league-mime-type-detection/php-league-mime-type-detection_1.10.0+ds-1+rebuild1714780916_amd64-2024-05-04T00:01:57Z.build



More information about the pkg-php-pear mailing list