[pkg-php-pear] Bug#1114261: php-oscarotero-gettext: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:22:22 BST 2025
Package: src:php-oscarotero-gettext
Version: 4.8.7-3
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
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 could not 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-oscarotero-gettext, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with phpcomposer
dh_clean
debian/rules binary
dh binary --with phpcomposer
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Workaround to ensure the local class takes precedence during tests.
ln --symbolic src Gettext
# Build classloader for tests.
mkdir --parents vendor
phpab \
--output vendor/autoload.php \
--template debian/autoload.test.php.tpl \
src tests/AbstractTestCase.php
phpab %development% - Copyright (C) 2009 - 2025 by Arne Blankerts and Contributors
Scanning directory src
Scanning file tests/AbstractTestCase.php
Autoload file vendor/autoload.php generated.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpunit --do-not-cache-result
PHPUnit 11.5.19 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.11
Configuration: /<<PKGBUILDDIR>>/phpunit.xml
DDDDDDDDDFD.F..D................................................. 65 / 99 ( 65%)
.................................D 99 / 99 (100%)
Time: 00:00.036, Memory: 10.00 MB
There were 2 failures:
1) Gettext\Tests\AssetsTest::testVueJs
Failed asserting that actual size 26 matches expected size 34.
/<<PKGBUILDDIR>>/tests/AssetsTest.php:318
2) Gettext\Tests\AssetsTest::testVueJs2MultipleDomainScanning
vuejs2/domainNone
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-#: ./tests/assets/vuejs2/input.vue:10
-msgid "no domain 3"
+#: ./tests/assets/vuejs2/input.vue:1
+msgid "no domain 1"
msgstr ""
#: ./tests/assets/vuejs2/input.vue:2
-msgid "no domain 1"
-msgstr ""
-
-#: ./tests/assets/vuejs2/input.vue:3
msgid "no domain 2"
msgstr ""
'
/<<PKGBUILDDIR>>/tests/AbstractTestCase.php:62
/<<PKGBUILDDIR>>/tests/AssetsTest.php:427
FAILURES!
Tests: 99, Assertions: 944, Failures: 2, Deprecations: 2.
make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-php-pear
mailing list