[pkg-php-pear] Bug#1074208: php-vlucas-phpdotenv: FTBFS with pkg-php-tools_1.45+nmu1: TypeError: Dotenv\Repository\AdapterRepository::set(): Argument #1 ($name) must be of type string, int given, called in /<<PKGBUILDDIR>>/tests/Dotenv/Repository/RepositoryTest.php on line 114

Athos Ribeiro athoscribeiro at gmail.com
Mon Jun 24 14:20:52 BST 2024


Source: php-vlucas-phpdotenv
Version: 5.4.1-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: pkg-php-tools-1.45

Hi,

During a test rebuild, php-vlucas-phpdotenv was found to fail to build with
pkg-php-tools 1.45 available in experimental.

To reproduce this locally, you need to install pkg-php-tools from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit -v --bootstrap src/autoload.php
> PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> ...............................................................  63 / 248 ( 25%)
> ....................................................E.......... 126 / 248 ( 50%)
> ............................................................... 189 / 248 ( 76%)
> ...........................................................     248 / 248 (100%)
> 
> Time: 00:00.056, Memory: 8.00 MB
> 
> There was 1 error:
> 
> 1) Dotenv\Tests\Repository\RepositoryTest::testImmutableLoaderCannotClearExistingEnvironmentVars
> TypeError: Dotenv\Repository\AdapterRepository::set(): Argument #1 ($name) must be of type string, int given, called in /<<PKGBUILDDIR>>/tests/Dotenv/Repository/RepositoryTest.php on line 114
> 
> /<<PKGBUILDDIR>>/src/Repository/AdapterRepository.php:72
> /<<PKGBUILDDIR>>/tests/Dotenv/Repository/RepositoryTest.php:114
> 
> ERRORS!
> Tests: 248, Assertions: 490, Errors: 1.
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/pkg-php-tools_virt-provides/0/php-vlucas-phpdotenv/php-vlucas-phpdotenv_5.4.1-2+rebuild1719091184_amd64-2024-06-22T21:19:45Z.build



More information about the pkg-php-pear mailing list