[pkg-php-pear] Bug#1055002: shaarli: FTBFS: dh_auto_test: error: make -j8 test returned exit code 2

Lucas Nussbaum lucas at debian.org
Sun Oct 29 06:03:05 GMT 2023


Source: shaarli
Version: 0.12.1+dfsg-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231028 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>>'
> -------
> PHPUNIT
> -------
> 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"!
> 
> ..S......................SS....................................  63 / 939 (  6%)
> ............................................................... 126 / 939 ( 13%)
> ............................................................... 189 / 939 ( 20%)
> ............................................................... 252 / 939 ( 26%)
> ............................................................... 315 / 939 ( 33%)
> ............................................................... 378 / 939 ( 40%)
> .............SSS............................................... 441 / 939 ( 46%)
> .................................EEEEE..E.E.........E.......... 504 / 939 ( 53%)
> ...............................................S............... 567 / 939 ( 60%)
> ......................................EEEE......S.S.SSSS......S 630 / 939 ( 67%)
> ............................................................... 693 / 939 ( 73%)
> ............................................................... 756 / 939 ( 80%)
> .............S................................................. 819 / 939 ( 87%)
> ............................................................... 882 / 939 ( 93%)
> .................................................S.......       939 / 939 (100%)
> 
> Time: 00:01.455, Memory: 34.00 MB
> 
> There were 12 errors:
> 
> 1) Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidIndexControllerInvokeDefault
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:35
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:99
> /usr/bin/phpunit:82
> 
> 2) Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidIndexControllerInvokeNoFutureOrPast
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:35
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:222
> /usr/bin/phpunit:82
> 
> 3) Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidIndexControllerInvokeHeightAdjustment
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:35
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:280
> /usr/bin/phpunit:82
> 
> 4) Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidIndexControllerInvokeNoBookmark
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:35
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:325
> /usr/bin/phpunit:82
> 
> 5) Shaarli\Front\Controller\Visitor\DailyControllerTest::testValidRssControllerInvokeDefault
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:134
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:373
> /usr/bin/phpunit:82
> 
> 6) Shaarli\Front\Controller\Visitor\DailyControllerTest::testSimpleIndexWeekly
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:177
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:35
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:516
> /usr/bin/phpunit:82
> 
> 7) Shaarli\Front\Controller\Visitor\DailyControllerTest::testSimpleRssWeekly
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:177
> /<<PKGBUILDDIR>>/application/front/controller/visitor/DailyController.php:134
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/DailyControllerTest.php:626
> /usr/bin/phpunit:82
> 
> 8) Shaarli\Front\Controller\Visitor\InstallControllerTest::testInstallIndexWithValidSession
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/front/controller/visitor/InstallController.php:60
> /<<PKGBUILDDIR>>/tests/front/controller/visitor/InstallControllerTest.php:66
> /usr/bin/phpunit:82
> 
> 9) Shaarli\Helper\DailyPageHelperTest::testGeDescriptionsByType with data set #0 ('day', DateTimeImmutable Object (...), 'Today - October 28, 2023')
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:119
> /usr/bin/phpunit:82
> 
> 10) Shaarli\Helper\DailyPageHelperTest::testGeDescriptionsByType with data set #1 ('day', DateTimeImmutable Object (...), 'Yesterday - October 27, 2023')
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:119
> /usr/bin/phpunit:82
> 
> 11) Shaarli\Helper\DailyPageHelperTest::testGeDescriptionsByType with data set #2 ('day', DateTimeImmutable Object (...), 'October 9, 2020')
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:185
> /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:119
> /usr/bin/phpunit:82
> 
> 12) Shaarli\Helper\DailyPageHelperTest::testGeDescriptionsByType with data set #3 ('week', DateTimeImmutable Object (...), 'Week 41 (October 5, 2020)')
> IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
> 
> /<<PKGBUILDDIR>>/application/Utils.php:323
> /<<PKGBUILDDIR>>/application/helper/DailyPageHelper.php:177
> /<<PKGBUILDDIR>>/tests/helper/DailyPageHelperTest.php:119
> /usr/bin/phpunit:82
> 
> ERRORS!
> Tests: 939, Assertions: 3751, Errors: 12, Skipped: 16.
> make[1]: *** [Makefile:66: test] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> 	rm -fr -- /tmp/dh-xdg-rundir-0vTVBTuf
> dh_auto_test: error: make -j8 test returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2023/10/28/shaarli_0.12.1+dfsg-8_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231028;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231028&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