[pkg-php-pear] Bug#1015075: php-nesbot-carbon: FTBFS: make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1

Lucas Nussbaum lucas at debian.org
Sat Jul 16 14:54:53 BST 2022


Source: php-nesbot-carbon
Version: 2.58.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpabtpl \
> 	--require nesbot/carbon \
> 	--require doctrine/dbal \
> 	> debian/autoload.php.test.tpl
> Proceeding without a composer.json file.phpab \
> 	-o tests/autoload.php \
> 	-t debian/autoload.php.test.tpl \
> 	--blacklist 'carbon\\cli' \
> 	--blacklist 'symfony\\component\\translation\\translatorinterface' \
> 	tests
> phpab %development% - Copyright (C) 2009 - 2022 by Arne Blankerts and Contributors
> 
> Scanning directory tests
> 
> Autoload file tests/autoload.php generated.
> 
> phpunit -v --bootstrap tests/autoload.php --include-path src
> PHPUnit 9.5.21 #StandWithUkraine
> 
> Runtime:       PHP 8.1.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> .............................................................   61 / 5511 (  1%)
> .............................................................  122 / 5511 (  2%)
> .............................................................  183 / 5511 (  3%)
> .............................................................  244 / 5511 (  4%)
> .............................................................  305 / 5511 (  5%)
> .............................................................  366 / 5511 (  6%)
> .............................................................  427 / 5511 (  7%)
> .............................................................  488 / 5511 (  8%)
> .............................................................  549 / 5511 (  9%)
> .............................................................  610 / 5511 ( 11%)
> .............................................................  671 / 5511 ( 12%)
> .............................................................  732 / 5511 ( 13%)
> .............................................................  793 / 5511 ( 14%)
> .............................................................  854 / 5511 ( 15%)
> .............................................................  915 / 5511 ( 16%)
> .............................................................  976 / 5511 ( 17%)
> ............................................................. 1037 / 5511 ( 18%)
> ............................................................. 1098 / 5511 ( 19%)
> ............................................................. 1159 / 5511 ( 21%)
> ............................................................. 1220 / 5511 ( 22%)
> ............................................................. 1281 / 5511 ( 23%)
> ....F........................................................ 1342 / 5511 ( 24%)
> ..........................S.................................. 1403 / 5511 ( 25%)
> ............................................................. 1464 / 5511 ( 26%)
> ............................................................. 1525 / 5511 ( 27%)
> ............................................................. 1586 / 5511 ( 28%)
> ............................................................. 1647 / 5511 ( 29%)
> ............................................................. 1708 / 5511 ( 30%)
> ............................................................. 1769 / 5511 ( 32%)
> ............................................................. 1830 / 5511 ( 33%)
> ............................................................. 1891 / 5511 ( 34%)
> ............................................................. 1952 / 5511 ( 35%)
> ............................................................. 2013 / 5511 ( 36%)
> .........................................................S... 2074 / 5511 ( 37%)
> ............................................................. 2135 / 5511 ( 38%)
> ............................................................. 2196 / 5511 ( 39%)
> ............................................................. 2257 / 5511 ( 40%)
> ............................................................. 2318 / 5511 ( 42%)
> ............................................................. 2379 / 5511 ( 43%)
> ............................................................. 2440 / 5511 ( 44%)
> ............................................................. 2501 / 5511 ( 45%)
> ............................................................. 2562 / 5511 ( 46%)
> ............................................................. 2623 / 5511 ( 47%)
> ............................................................. 2684 / 5511 ( 48%)
> ............................................................. 2745 / 5511 ( 49%)
> ............................................................. 2806 / 5511 ( 50%)
> ............................................................. 2867 / 5511 ( 52%)
> ................................F............................ 2928 / 5511 ( 53%)
> ...........................S................................. 2989 / 5511 ( 54%)
> ............................................................. 3050 / 5511 ( 55%)
> ............................................................. 3111 / 5511 ( 56%)
> ............................................................. 3172 / 5511 ( 57%)
> ............................................................. 3233 / 5511 ( 58%)
> ............................................................. 3294 / 5511 ( 59%)
> ............................................................. 3355 / 5511 ( 60%)
> ............................................................. 3416 / 5511 ( 61%)
> ............................................................. 3477 / 5511 ( 63%)
> ............................................................. 3538 / 5511 ( 64%)
> ............................................................. 3599 / 5511 ( 65%)
> ........................................S.................... 3660 / 5511 ( 66%)
> ............................................................. 3721 / 5511 ( 67%)
> ............................................................. 3782 / 5511 ( 68%)
> ............................................................. 3843 / 5511 ( 69%)
> ............................................................. 3904 / 5511 ( 70%)
> ............................................................. 3965 / 5511 ( 71%)
> ............................................................. 4026 / 5511 ( 73%)
> ............................................................. 4087 / 5511 ( 74%)
> ............................................................. 4148 / 5511 ( 75%)
> ............................................................. 4209 / 5511 ( 76%)
> ............................................................. 4270 / 5511 ( 77%)
> ............................................................. 4331 / 5511 ( 78%)
> ............................................................. 4392 / 5511 ( 79%)
> ............................................................. 4453 / 5511 ( 80%)
> ............................................................. 4514 / 5511 ( 81%)
> ............................................................. 4575 / 5511 ( 83%)
> ............................................................. 4636 / 5511 ( 84%)
> ............................................................. 4697 / 5511 ( 85%)
> ............................................................. 4758 / 5511 ( 86%)
> ............................................................. 4819 / 5511 ( 87%)
> ............................................................. 4880 / 5511 ( 88%)
> ............................................................. 4941 / 5511 ( 89%)
> ............................................................. 5002 / 5511 ( 90%)
> ............................................................. 5063 / 5511 ( 91%)
> ............................................................. 5124 / 5511 ( 92%)
> ............................................................. 5185 / 5511 ( 94%)
> ............................................................. 5246 / 5511 ( 95%)
> ............................................................. 5307 / 5511 ( 96%)
> ............................................................. 5368 / 5511 ( 97%)
> ............................................................. 5429 / 5511 ( 98%)
> ............................................................. 5490 / 5511 ( 99%)
> .....................                                         5511 / 5511 (100%)
> 
> Time: 00:29.090, Memory: 166.00 MB
> 
> There were 2 failures:
> 
> 1) Tests\Carbon\DiffTest::testDiffForHumansWithIncorrectDateTimeStringWhichIsNotACarbonInstance
> Failed asserting that exception of type "Carbon\Exceptions\InvalidFormatException" is thrown.
> 
> 2) Tests\CarbonImmutable\DiffTest::testDiffForHumansWithIncorrectDateTimeStringWhichIsNotACarbonInstance
> Failed asserting that exception of type "Carbon\Exceptions\InvalidFormatException" is thrown.
> 
> --
> 
> There were 4 skipped tests:
> 
> 1) Tests\Carbon\GenericMacroTest::testGenericMacroBinding
> Use of $this in macros is deprecated and may not work in PHP 8.
> 
> /<<PKGBUILDDIR>>/tests/Carbon/GenericMacroTest.php:26
> 
> 2) Tests\Carbon\SerializationTest::testMsgPackExtension
> This test needs msgpack extension to be enabled.
> 
> /<<PKGBUILDDIR>>/tests/Carbon/SerializationTest.php:146
> 
> 3) Tests\CarbonImmutable\GenericMacroTest::testGenericMacroBinding
> Use of $this in macros is deprecated and may not work in PHP 8.
> 
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/GenericMacroTest.php:26
> 
> 4) Tests\CarbonImmutable\SerializationTest::testMsgPackExtension
> This test needs msgpack extension to be enabled.
> 
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/SerializationTest.php:143
> 
> FAILURES!
> Tests: 5511, Assertions: 190856, Failures: 2, Skipped: 4.
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/php-nesbot-carbon_2.58.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-php-pear mailing list