[pkg-php-pear] Bug#1117419: php-gettext: FTBFS: Tests: 11, Assertions: 18, Errors: 5, Deprecations: 7.

Santiago Vila sanvila at debian.org
Sun Oct 5 18:35:15 BST 2025


Package: src:php-gettext
Version: 1.0.12-6
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:php-gettext, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f php-gettext-1.0.12.tar.gz php-gettext-1.0.12.tar.gz.asc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j2 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpunit tests
PHPUnit 12.4.0 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.11

DDDDDDEEEEE                                                       11 / 11 (100%)PHP Warning:  file_put_contents(/usr/bin/.phpunit.result.cache): Failed to open stream: Permission denied in /usr/share/php/PHPUnit/Runner/ResultCache/DefaultResultCache.php on line 153


Time: 00:00.010, Memory: 8.00 MB

There were 5 errors:

1) ParsingTest::test_npgettext
ArgumentCountError: Too few arguments to function ParsingTest::test_npgettext(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected

/<<PKGBUILDDIR>>/tests/ParsingTest.php:73

2) PluralsTest::test_evaluations
ArgumentCountError: Too few arguments to function PluralsTest::test_evaluations(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected

/<<PKGBUILDDIR>>/tests/PluralsTest.php:257

3) PluralsTest::test_expressions
ArgumentCountError: Too few arguments to function PluralsTest::test_expressions(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected

/<<PKGBUILDDIR>>/tests/PluralsTest.php:288

4) PluralsTest::test_syntax
ArgumentCountError: Too few arguments to function PluralsTest::test_syntax(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected

/<<PKGBUILDDIR>>/tests/PluralsTest.php:316

5) PluralsTest::test_header
ArgumentCountError: Too few arguments to function PluralsTest::test_header(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 3 expected

/<<PKGBUILDDIR>>/tests/PluralsTest.php:347

ERRORS!
Tests: 11, Assertions: 18, Errors: 5, Deprecations: 7.
make[1]: *** [Makefile:26: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the pkg-php-pear mailing list