[pkg-php-pear] Bug#1052778: php-nesbot-carbon: FTBFS: make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
Lucas Nussbaum
lucas at debian.org
Tue Sep 26 14:21:56 BST 2023
Source: php-nesbot-carbon
Version: 2.69.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie
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 - 2023 by Arne Blankerts and Contributors
>
> Scanning directory tests
>
> Autoload file tests/autoload.php generated.
>
> phpunit --bootstrap tests/autoload.php --include-path src
> PHPUnit 9.6.13 by Sebastian Bergmann and contributors.
>
> Warning: Your XML configuration validates against a deprecated schema.
> Suggestion: Migrate your XML configuration using "--migrate-configuration"!
>
> ............................................................. 61 / 5634 ( 1%)
> ............................................................. 122 / 5634 ( 2%)
> ............................................................. 183 / 5634 ( 3%)
> ............................................................. 244 / 5634 ( 4%)
> ............................................................. 305 / 5634 ( 5%)
> ............................................................. 366 / 5634 ( 6%)
> ............................................................. 427 / 5634 ( 7%)
> ............................................................. 488 / 5634 ( 8%)
> ............................................................. 549 / 5634 ( 9%)
> ............................................................. 610 / 5634 ( 10%)
> ............................................................. 671 / 5634 ( 11%)
> ............................................................. 732 / 5634 ( 12%)
> ............................................................. 793 / 5634 ( 14%)
> ............................................................. 854 / 5634 ( 15%)
> ............................................................. 915 / 5634 ( 16%)
> ............................................................. 976 / 5634 ( 17%)
> ............................................................. 1037 / 5634 ( 18%)
> ............................................................. 1098 / 5634 ( 19%)
> ............................................................. 1159 / 5634 ( 20%)
> ............................................................. 1220 / 5634 ( 21%)
> ............................................................. 1281 / 5634 ( 22%)
> ............................................................. 1342 / 5634 ( 23%)
> .................................S........................... 1403 / 5634 ( 24%)
> ............................................................. 1464 / 5634 ( 25%)
> ............................................................. 1525 / 5634 ( 27%)
> ............................................................. 1586 / 5634 ( 28%)
> ............................................................. 1647 / 5634 ( 29%)
> ............................................................. 1708 / 5634 ( 30%)
> ............................................................. 1769 / 5634 ( 31%)
> ............................................................. 1830 / 5634 ( 32%)
> ............................................................. 1891 / 5634 ( 33%)
> ............................................................. 1952 / 5634 ( 34%)
> ............................................................. 2013 / 5634 ( 35%)
> ............................................................. 2074 / 5634 ( 36%)
> ............SS............................................... 2135 / 5634 ( 37%)
> ............................................................. 2196 / 5634 ( 38%)
> ............................................................. 2257 / 5634 ( 40%)
> ............................................................. 2318 / 5634 ( 41%)
> ......................................E...................... 2379 / 5634 ( 42%)
> ............................................................. 2440 / 5634 ( 43%)
> ............................................................. 2501 / 5634 ( 44%)
> ............................................................. 2562 / 5634 ( 45%)
> ............................................................. 2623 / 5634 ( 46%)
> ............................................................. 2684 / 5634 ( 47%)
> ............................................................. 2745 / 5634 ( 48%)
> ............................................................. 2806 / 5634 ( 49%)
> ............................................................. 2867 / 5634 ( 50%)
> ............................................................. 2928 / 5634 ( 51%)
> ............................................................. 2989 / 5634 ( 53%)
> ..........................S.................................. 3050 / 5634 ( 54%)
> ............................................................. 3111 / 5634 ( 55%)
> ............................................................. 3172 / 5634 ( 56%)
> ............................................................. 3233 / 5634 ( 57%)
> ............................................................. 3294 / 5634 ( 58%)
> ............................................................. 3355 / 5634 ( 59%)
> ............................................................. 3416 / 5634 ( 60%)
> ............................................................. 3477 / 5634 ( 61%)
> ............................................................. 3538 / 5634 ( 62%)
> ............................................................. 3599 / 5634 ( 63%)
> ............................................................. 3660 / 5634 ( 64%)
> ..........................................SS..E.............. 3721 / 5634 ( 66%)
> ............................................................. 3782 / 5634 ( 67%)
> ............................................................. 3843 / 5634 ( 68%)
> ............................................................. 3904 / 5634 ( 69%)
> ..........................E.................................. 3965 / 5634 ( 70%)
> ............................................................. 4026 / 5634 ( 71%)
> ............................................................. 4087 / 5634 ( 72%)
> ............................................................. 4148 / 5634 ( 73%)
> ............................................................. 4209 / 5634 ( 74%)
> ............................................................. 4270 / 5634 ( 75%)
> ............................................................. 4331 / 5634 ( 76%)
> ............................................................. 4392 / 5634 ( 77%)
> ............................................................. 4453 / 5634 ( 79%)
> ............................................................. 4514 / 5634 ( 80%)
> ............................................................. 4575 / 5634 ( 81%)
> ............................................................. 4636 / 5634 ( 82%)
> ...........................E................................. 4697 / 5634 ( 83%)
> ............................................................. 4758 / 5634 ( 84%)
> ............................................................. 4819 / 5634 ( 85%)
> ............................................................. 4880 / 5634 ( 86%)
> ............................................................. 4941 / 5634 ( 87%)
> ............................................................. 5002 / 5634 ( 88%)
> ............................................................. 5063 / 5634 ( 89%)
> ............................................................. 5124 / 5634 ( 90%)
> ............................................................. 5185 / 5634 ( 92%)
> ............................................................. 5246 / 5634 ( 93%)
> ............................................................. 5307 / 5634 ( 94%)
> ............................................................. 5368 / 5634 ( 95%)
> ............................................................. 5429 / 5634 ( 96%)
> ............................................................. 5490 / 5634 ( 97%)
> ............................................................. 5551 / 5634 ( 98%)
> ............................................................. 5612 / 5634 ( 99%)
> ...................... 5634 / 5634 (100%)
>
> Time: 00:29.032, Memory: 156.00 MB
>
> There were 4 errors:
>
> 1) Tests\Carbon\TestingAidsTest::testCreateFromPartialFormat
> Carbon\Exceptions\InvalidFormatException: The timezone could not be found in the database
>
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:690
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:713
> /<<PKGBUILDDIR>>/tests/Carbon/TestingAidsTest.php:248
>
> 2) Tests\CarbonImmutable\SerializationTest::testWakeupRawMethod
> Error: Invalid serialization data for DateTimeImmutable object
>
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Serialization.php:194
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/SerializationTest.php:220
>
> 3) Tests\CarbonImmutable\TestingAidsTest::testCreateFromPartialFormat
> Carbon\Exceptions\InvalidFormatException: The timezone could not be found in the database
>
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:690
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:713
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/TestingAidsTest.php:222
>
> 4) Tests\CarbonTimeZone\ConversionsTest::testToOffsetNameFromDifferentCreationMethods
> Exception: DateTimeZone::__construct(): Unknown or bad timezone (Asia/Calcutta)
>
> /<<PKGBUILDDIR>>/src/Carbon/CarbonTimeZone.php:24
> /<<PKGBUILDDIR>>/tests/CarbonTimeZone/ConversionsTest.php:113
>
> ERRORS!
> Tests: 5634, Assertions: 191276, Errors: 4, Skipped: 6.
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/php-nesbot-carbon_2.69.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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 mark 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