[pkg-php-pear] Bug#1028860: php-nesbot-carbon: FTBFS: make[1]: *** [debian/rules:21: override_dh_auto_test] Error 2
Lucas Nussbaum
lucas at debian.org
Sat Jan 14 13:00:38 GMT 2023
Source: php-nesbot-carbon
Version: 2.63.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 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.27 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.1
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> Warning: Your XML configuration validates against a deprecated schema.
> Suggestion: Migrate your XML configuration using "--migrate-configuration"!
>
> ............................................................. 61 / 5529 ( 1%)
> ............................................................. 122 / 5529 ( 2%)
> ............................................................. 183 / 5529 ( 3%)
> ............................................................. 244 / 5529 ( 4%)
> ........E.................................................... 305 / 5529 ( 5%)
> ............................................................. 366 / 5529 ( 6%)
> ............................................................. 427 / 5529 ( 7%)
> ............................................................. 488 / 5529 ( 8%)
> ............................................................. 549 / 5529 ( 9%)
> ............................................................. 610 / 5529 ( 11%)
> ............................................................. 671 / 5529 ( 12%)
> ............................................................. 732 / 5529 ( 13%)
> ............................................................. 793 / 5529 ( 14%)
> ............................................................. 854 / 5529 ( 15%)
> ............................................................. 915 / 5529 ( 16%)
> ............................................................. 976 / 5529 ( 17%)
> ............................................................. 1037 / 5529 ( 18%)
> ............................................................. 1098 / 5529 ( 19%)
> ............................................................. 1159 / 5529 ( 20%)
> ............................................................. 1220 / 5529 ( 22%)
> ............................................................. 1281 / 5529 ( 23%)
> ............................................................. 1342 / 5529 ( 24%)
> ...........................S................................. 1403 / 5529 ( 25%)
> ............................................................. 1464 / 5529 ( 26%)
> ............................................................. 1525 / 5529 ( 27%)
> ............................................................. 1586 / 5529 ( 28%)
> ............................................................. 1647 / 5529 ( 29%)
> ............................................................. 1708 / 5529 ( 30%)
> ............................................................. 1769 / 5529 ( 31%)
> ............................................................. 1830 / 5529 ( 33%)
> ............................................................. 1891 / 5529 ( 34%)
> ............................................................. 1952 / 5529 ( 35%)
> ............................................................. 2013 / 5529 ( 36%)
> ...........................................................SS 2074 / 5529 ( 37%)
> ............................................................. 2135 / 5529 ( 38%)
> ............................................................. 2196 / 5529 ( 39%)
> ............................................................. 2257 / 5529 ( 40%)
> ............................................................. 2318 / 5529 ( 41%)
> ............................................................. 2379 / 5529 ( 43%)
> ............................................................. 2440 / 5529 ( 44%)
> ............................................................. 2501 / 5529 ( 45%)
> ............................................................. 2562 / 5529 ( 46%)
> ......................................E...................... 2623 / 5529 ( 47%)
> ............................................................. 2684 / 5529 ( 48%)
> ............................................................. 2745 / 5529 ( 49%)
> ............................................................. 2806 / 5529 ( 50%)
> ............................................................. 2867 / 5529 ( 51%)
> ............................................................. 2928 / 5529 ( 52%)
> .................................S........................... 2989 / 5529 ( 54%)
> ............................................................. 3050 / 5529 ( 55%)
> ............................................................. 3111 / 5529 ( 56%)
> ............................................................. 3172 / 5529 ( 57%)
> ............................................................. 3233 / 5529 ( 58%)
> ............................................................. 3294 / 5529 ( 59%)
> ............................................................. 3355 / 5529 ( 60%)
> ............................................................. 3416 / 5529 ( 61%)
> ............................................................. 3477 / 5529 ( 62%)
> ............................................................. 3538 / 5529 ( 63%)
> ............................................................. 3599 / 5529 ( 65%)
> .............................................SS.............. 3660 / 5529 ( 66%)
> ............................................................. 3721 / 5529 ( 67%)
> ............................................................. 3782 / 5529 ( 68%)
> ............................................................. 3843 / 5529 ( 69%)
> ............................................................. 3904 / 5529 ( 70%)
> ............................................................. 3965 / 5529 ( 71%)
> ............................................................. 4026 / 5529 ( 72%)
> ............................................................. 4087 / 5529 ( 73%)
> ............................................................. 4148 / 5529 ( 75%)
> ............................................................. 4209 / 5529 ( 76%)
> ............................................................. 4270 / 5529 ( 77%)
> ............................................................. 4331 / 5529 ( 78%)
> ............................................................. 4392 / 5529 ( 79%)
> ............................................................. 4453 / 5529 ( 80%)
> ............................................................. 4514 / 5529 ( 81%)
> ............................................................. 4575 / 5529 ( 82%)
> ............................................................. 4636 / 5529 ( 83%)
> ............................................................. 4697 / 5529 ( 84%)
> ............................................................. 4758 / 5529 ( 86%)
> ............................................................. 4819 / 5529 ( 87%)
> ............................................................. 4880 / 5529 ( 88%)
> ............................................................. 4941 / 5529 ( 89%)
> ............................................................. 5002 / 5529 ( 90%)
> ............................................................. 5063 / 5529 ( 91%)
> ............................................................. 5124 / 5529 ( 92%)
> ............................................................. 5185 / 5529 ( 93%)
> ............................................................. 5246 / 5529 ( 94%)
> ............................................................. 5307 / 5529 ( 95%)
> ............................................................. 5368 / 5529 ( 97%)
> ............................................................. 5429 / 5529 ( 98%)
> ............................................................. 5490 / 5529 ( 99%)
> ....................................... 5529 / 5529 (100%)
>
> Time: 00:26.949, Memory: 154.00 MB
>
> There were 2 errors:
>
> 1) Tests\Carbon\CreateFromTimeTest::testCreateFromTimeWithTimeZoneOnNow
> Carbon\Exceptions\InvalidFormatException: Unknown or bad timezone (Etc/GMT+12)
>
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:89
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:252
> /<<PKGBUILDDIR>>/tests/Carbon/CreateFromTimeTest.php:119
>
> Caused by
> Carbon\Exceptions\InvalidTimeZoneException: Unknown or bad timezone (Etc/GMT+12)
>
> /<<PKGBUILDDIR>>/src/Carbon/CarbonTimeZone.php:109
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Date.php:625
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:87
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:252
> /<<PKGBUILDDIR>>/tests/Carbon/CreateFromTimeTest.php:119
>
> 2) Tests\CarbonImmutable\CreateFromTimeTest::testCreateFromTime
> Carbon\Exceptions\InvalidFormatException: Unknown or bad timezone (Etc/GMT+12)
>
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:89
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:252
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/CreateFromTimeTest.php:91
>
> Caused by
> Carbon\Exceptions\InvalidTimeZoneException: Unknown or bad timezone (Etc/GMT+12)
>
> /<<PKGBUILDDIR>>/src/Carbon/CarbonTimeZone.php:109
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Date.php:625
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:87
> /<<PKGBUILDDIR>>/src/Carbon/Traits/Creator.php:252
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/CreateFromTimeTest.php:91
>
> --
>
> There were 6 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::testDateSerializationReflectionCompatibility
> It fails on DateTime so Carbon can't support it, error was:
> The DateTime object has not been correctly initialized by its constructor
>
> /<<PKGBUILDDIR>>/tests/Carbon/SerializationTest.php:110
>
> 3) Tests\Carbon\SerializationTest::testMsgPackExtension
> This test needs msgpack extension to be enabled.
>
> /<<PKGBUILDDIR>>/tests/Carbon/SerializationTest.php:159
>
> 4) Tests\CarbonImmutable\GenericMacroTest::testGenericMacroBinding
> Use of $this in macros is deprecated and may not work in PHP 8.
>
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/GenericMacroTest.php:26
>
> 5) Tests\CarbonImmutable\SerializationTest::testDateSerializationReflectionCompatibility
> It fails on DateTime so Carbon can't support it, error was:
> The DateTimeImmutable object has not been correctly initialized by its constructor
>
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/SerializationTest.php:107
>
> 6) Tests\CarbonImmutable\SerializationTest::testMsgPackExtension
> This test needs msgpack extension to be enabled.
>
> /<<PKGBUILDDIR>>/tests/CarbonImmutable/SerializationTest.php:156
>
> ERRORS!
> Tests: 5529, Assertions: 191072, Errors: 2, Skipped: 6.
> make[1]: *** [debian/rules:21: override_dh_auto_test] Error 2
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/php-nesbot-carbon_2.63.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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