[pkg-php-pear] Bug#1101844: php-nesbot-carbon: FTBFS: tests fail on 31th March
Santiago Vila
sanvila at debian.org
Tue Apr 1 17:34:49 BST 2025
Package: src:php-nesbot-carbon
Version: 2.72.6-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
Note 1: If this was a random package I would use "important" here, but
according to the description the purpose of this package is to handle
dates and times, so I consider this not suitable for release.
Note 2: To reproduce, please try this:
faketime "2025-03-31 12:00:00" dpkg-buildpackage -uc -us -b
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
cp -r lazy/Carbon/* src/Carbon/
phpabtpl --basedir src composer.json > debian/autoload.php.tpl
phpab \
--output src/Carbon/autoload.php \
--template debian/autoload.php.tpl \
--blacklist 'carbon\\lazytranslator' \
--blacklist 'carbon\\messageformatter\\lazymessageformatter' \
--blacklist 'carbon\\phpstan\\abstractreflectionmacro' \
--blacklist 'carbon\\phpstan\\lazymacro' \
src/Carbon
phpab %development% - Copyright (C) 2009 - 2025 by Arne Blankerts and Contributors
Scanning directory src/Carbon
Autoload file src/Carbon/autoload.php generated.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpabtpl \
--require-file ../src/Carbon/autoload.php \
--require doctrine/dbal \
> debian/autoload.php.test.tpl
Proceeding without a composer.json file.phpab \
--output tests/autoload.php \
--template debian/autoload.php.test.tpl \
--exclude 'tests/PHPUnit/AssertObjectHasPropertyPolyfillTrait.php' \
--blacklist 'carbon\\cli' \
--blacklist 'symfony\\component\\translation\\translatorinterface' \
tests
phpab %development% - Copyright (C) 2009 - 2025 by Arne Blankerts and Contributors
Scanning directory tests
Autoload file tests/autoload.php generated.
phpunit --bootstrap tests/autoload.php --include-path src
PHPUnit 11.5.15 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.5
Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
............................................................. 61 / 5646 ( 1%)
............................................................. 122 / 5646 ( 2%)
............................................................. 183 / 5646 ( 3%)
............................................................. 244 / 5646 ( 4%)
.....D.....................D................................. 305 / 5646 ( 5%)
............................................................. 366 / 5646 ( 6%)
............................................................. 427 / 5646 ( 7%)
............................................................. 488 / 5646 ( 8%)
............................................................. 549 / 5646 ( 9%)
............................................................. 610 / 5646 ( 10%)
............................................................. 671 / 5646 ( 11%)
............................................................. 732 / 5646 ( 12%)
............................................................. 793 / 5646 ( 14%)
............................................................. 854 / 5646 ( 15%)
............................................................. 915 / 5646 ( 16%)
............................................................. 976 / 5646 ( 17%)
............................................................. 1037 / 5646 ( 18%)
............................................................. 1098 / 5646 ( 19%)
............................................................. 1159 / 5646 ( 20%)
............................................................. 1220 / 5646 ( 21%)
............................................................. 1281 / 5646 ( 22%)
....................DDDD........D.D..D..DDDDD................ 1342 / 5646 ( 23%)
.................................S........................... 1403 / 5646 ( 24%)
............................................................. 1464 / 5646 ( 25%)
............................................................. 1525 / 5646 ( 27%)
............................................................. 1586 / 5646 ( 28%)
..............................................F.............. 1647 / 5646 ( 29%)
............................................................. 1708 / 5646 ( 30%)
............................................................. 1769 / 5646 ( 31%)
............................................................. 1830 / 5646 ( 32%)
............................................................. 1891 / 5646 ( 33%)
............................................................. 1952 / 5646 ( 34%)
...................................................S......... 2013 / 5646 ( 35%)
............................................................. 2074 / 5646 ( 36%)
.............SS.............................................. 2135 / 5646 ( 37%)
............................................................. 2196 / 5646 ( 38%)
............................................................. 2257 / 5646 ( 39%)
...............D......D...................................... 2318 / 5646 ( 41%)
.....................................N....................... 2379 / 5646 ( 42%)
............................................................. 2440 / 5646 ( 43%)
............................................................. 2501 / 5646 ( 44%)
............................................................. 2562 / 5646 ( 45%)
............................................................. 2623 / 5646 ( 46%)
............................................................. 2684 / 5646 ( 47%)
............................................................. 2745 / 5646 ( 48%)
............................................................. 2806 / 5646 ( 49%)
............................................................. 2867 / 5646 ( 50%)
............................................................. 2928 / 5646 ( 51%)
............................................................. 2989 / 5646 ( 52%)
...........................S................................. 3050 / 5646 ( 54%)
............................................................. 3111 / 5646 ( 55%)
............................................................. 3172 / 5646 ( 56%)
............................................................. 3233 / 5646 ( 57%)
................................F............................ 3294 / 5646 ( 58%)
............................................................. 3355 / 5646 ( 59%)
............................................................. 3416 / 5646 ( 60%)
............................................................. 3477 / 5646 ( 61%)
............................................................. 3538 / 5646 ( 62%)
............................................................. 3599 / 5646 ( 63%)
....................................S........................ 3660 / 5646 ( 64%)
............................................SS............... 3721 / 5646 ( 65%)
............................................................. 3782 / 5646 ( 66%)
............................................................. 3843 / 5646 ( 68%)
............................................................. 3904 / 5646 ( 69%)
............................................................. 3965 / 5646 ( 70%)
............................................................. 4026 / 5646 ( 71%)
............................................................. 4087 / 5646 ( 72%)
............................................................. 4148 / 5646 ( 73%)
............................................................. 4209 / 5646 ( 74%)
............................................................. 4270 / 5646 ( 75%)
............................................................. 4331 / 5646 ( 76%)
............................................................. 4392 / 5646 ( 77%)
............................................................. 4453 / 5646 ( 78%)
............................................................. 4514 / 5646 ( 79%)
......................................................D...... 4575 / 5646 ( 81%)
............................................................. 4636 / 5646 ( 82%)
............................................................. 4697 / 5646 ( 83%)
............................................................. 4758 / 5646 ( 84%)
............................................................. 4819 / 5646 ( 85%)
............................................................. 4880 / 5646 ( 86%)
............................................................. 4941 / 5646 ( 87%)
............................................................. 5002 / 5646 ( 88%)
............................................................. 5063 / 5646 ( 89%)
............................................................. 5124 / 5646 ( 90%)
............................................................. 5185 / 5646 ( 91%)
............................................................. 5246 / 5646 ( 92%)
............................................................. 5307 / 5646 ( 93%)
............................................................. 5368 / 5646 ( 95%)
............................................................. 5429 / 5646 ( 96%)
............................................................. 5490 / 5646 ( 97%)
.................................................SSSS........ 5551 / 5646 ( 98%)
............................................................. 5612 / 5646 ( 99%)
.................................. 5646 / 5646 (100%)
Time: 00:18.572, Memory: 178.00 MB
There were 2 failures:
1) Tests\Carbon\IsTest::testIs
Failed asserting that false is true.
/<<PKGBUILDDIR>>/tests/Carbon/IsTest.php:1036
2) Tests\CarbonImmutable\IsTest::testIs
Failed asserting that false is true.
/<<PKGBUILDDIR>>/tests/CarbonImmutable/IsTest.php:986
FAILURES!
Tests: 5646, Assertions: 191318, Failures: 2, Deprecations: 18, PHPUnit Deprecations: 1666, Notices: 1, Skipped: 12.
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202504/
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-nesbot-carbon, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-php-pear
mailing list