[pkg-php-pear] Bug#1011899: php-twig: FTBFS: make[1]: *** [debian/rules:92: override_dh_auto_test] Error 1

Lucas Nussbaum lucas at debian.org
Thu May 26 20:19:06 BST 2022


Source: php-twig
Version: 3.3.9-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 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>>'
> SYMFONY_DEPRECATIONS_HELPER=weak phpunit
> PHPUnit 9.5.16 by Sebastian Bergmann and contributors.
> 
> Testing 
> .............................................................   61 / 1649 (  3%)
> .............................................................  122 / 1649 (  7%)
> .............................................................  183 / 1649 ( 11%)
> .............................................................  244 / 1649 ( 14%)
> .............................................................  305 / 1649 ( 18%)
> .............................................................  366 / 1649 ( 22%)
> S............................................................  427 / 1649 ( 25%)
> .............................................................  488 / 1649 ( 29%)
> .............................................................  549 / 1649 ( 33%)
> ......................................S......................  610 / 1649 ( 36%)
> .............................................................  671 / 1649 ( 40%)
> .............................................................  732 / 1649 ( 44%)
> ..........S..................................................  793 / 1649 ( 48%)
> .............................................................  854 / 1649 ( 51%)
> .............................................................  915 / 1649 ( 55%)
> .............................................................  976 / 1649 ( 59%)
> ............................................................. 1037 / 1649 ( 62%)
> ............................................................. 1098 / 1649 ( 66%)
> ............................................................. 1159 / 1649 ( 70%)
> ............................................................. 1220 / 1649 ( 73%)
> ............................................................. 1281 / 1649 ( 77%)
> ............................................................. 1342 / 1649 ( 81%)
> ............................................................. 1403 / 1649 ( 85%)
> ............................................................. 1464 / 1649 ( 88%)
> ............................................................. 1525 / 1649 ( 92%)
> ............................................................. 1586 / 1649 ( 96%)
> ............................................................. 1647 / 1649 ( 99%)
> ..                                                            1649 / 1649 (100%)
> 
> Time: 00:00.844, Memory: 38.00 MB
> 
> OK, but incomplete, skipped, or risky tests!
> Tests: 1649, Assertions: 4384, Skipped: 3.
> 
> Legacy deprecation notices (3)
> # testsuite for extra packages
> set -e; \
>  for package_info_file in $(find debian/packages_to_build/ -mindepth 1 -maxdepth 1 -type f); do \
>   . $package_info_file; \
>   if [ -f $src_path/phpunit.xml.dist ]; then \
>    LC_ALL=en_US SYMFONY_DEPRECATIONS_HELPER=weak phpunit \
>    --bootstrap vendor/autoload.php \
>    --configuration $src_path/phpunit.xml.dist \
>    $src_path; \
>   fi; \
>  done
> PHPUnit 9.5.16 by Sebastian Bergmann and contributors.
> 
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> ..S                                                                 3 / 3 (100%)
> 
> Time: 00:00.035, Memory: 8.00 MB
> 
> OK, but incomplete, skipped, or risky tests!
> Tests: 3, Assertions: 4, Skipped: 1.
> PHPUnit 9.5.16 by Sebastian Bergmann and contributors.
> 
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> .......S                                                            8 / 8 (100%)
> 
> Time: 00:00.020, Memory: 8.00 MB
> 
> OK, but incomplete, skipped, or risky tests!
> Tests: 8, Assertions: 14, Skipped: 1.
> PHPUnit 9.5.16 by Sebastian Bergmann and contributors.
> 
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> ....S                                                               5 / 5 (100%)
> 
> Time: 00:00.024, Memory: 10.00 MB
> 
> OK, but incomplete, skipped, or risky tests!
> Tests: 5, Assertions: 8, Skipped: 1.
> PHPUnit 9.5.16 by Sebastian Bergmann and contributors.
> 
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> ......FCompiled templates that failed on case 1:
> Template: index.twig
> <?php
> 
> use Twig\Environment;
> use Twig\Error\LoaderError;
> use Twig\Error\RuntimeError;
> use Twig\Extension\SandboxExtension;
> use Twig\Markup;
> use Twig\Sandbox\SecurityError;
> use Twig\Sandbox\SecurityNotAllowedTagError;
> use Twig\Sandbox\SecurityNotAllowedFilterError;
> use Twig\Sandbox\SecurityNotAllowedFunctionError;
> use Twig\Source;
> use Twig\Template;
> 
> /* index.twig */
> class __TwigTemplate_588e5332a9b95316e501222feebdf37f_a862aad70447762088e0d0fbce7b3a8d extends Template
> {
>     private $source;
>     private $macros = [];
> 
>     public function __construct(Environment $env)
>     {
>         parent::__construct($env);
> 
>         $this->source = $this->getSourceContext();
> 
>         $this->parent = false;
> 
>         $this->blocks = [
>         ];
>     }
> 
>     protected function doDisplay(array $context, array $blocks = [])
>     {
>         $macros = $this->macros;
>         // line 1
>         echo "
> ";
>         // line 2
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, "2019-08-07 23:39:12"), "html", null, true);
>         echo "
> ";
>         // line 3
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, "2019-08-07 23:39:12", "medium", "medium", "", null, "gregorian", "fr"), "html", null, true);
>         echo "
> ";
>         // line 4
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, "2019-08-07 23:39:12", "none", "short", "", null, "gregorian", "fr"), "html", null, true);
>         echo "
> ";
>         // line 5
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, "2019-08-07 23:39:12", "short", "none", "", null, "gregorian", "fr"), "html", null, true);
>         echo "
> ";
>         // line 6
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, "2019-08-07 23:39:12", "full", "full", "", null, "gregorian", "fr"), "html", null, true);
>         echo "
> ";
>         // line 7
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, "2019-08-07 23:39:12", "medium", "medium", "hh 'oclock' a, zzzz"), "html", null, true);
>         echo "
> 
> ";
>         // line 9
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->env, "2019-08-07 23:39:12"), "html", null, true);
>         echo "
> ";
>         // line 10
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->env, "2019-08-07 23:39:12", "medium", "", null, "gregorian", "fr"), "html", null, true);
>         echo "
> ";
>         // line 11
>         echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatTime($this->env, "2019-08-07 23:39:12"), "html", null, true);
>     }
> 
>     public function getTemplateName()
>     {
>         return "index.twig";
>     }
> 
>     public function isTraitable()
>     {
>         return false;
>     }
> 
>     public function getDebugInfo()
>     {
>         return array (  73 => 11,  69 => 10,  65 => 9,  60 => 7,  56 => 6,  52 => 5,  48 => 4,  44 => 3,  40 => 2,  37 => 1,);
>     }
> 
>     public function getSourceContext()
>     {
>         return new Source("", "index.twig", "");
>     }
> }
> ...S.                                                      12 / 12 (100%)
> 
> Time: 00:00.037, Memory: 10.00 MB
> 
> There was 1 failure:
> 
> 1) Twig\Extra\Intl\Tests\IntegrationTest::testIntegration with data set #6 ('format_date.test', '"format_date" filter', '', array('\n{{ '2019-08-07 23:39:12'|fo...ime }}'), false, array(array('--DATA--\nreturn [];\n--EXPEC...:12 PM', '\nreturn [];\n', '', '\nAug 7, 2019, 11:39:12 PM\n7...:12 PM')), '')
> "format_date" filter (in format_date.test)
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
>  'Aug 7, 2019, 11:39:12 PM\n
> -7 août 2019 à 23:39:12\n
> +7 août 2019, 23:39:12\n
>  23:39\n
>  07/08/2019\n
> -mercredi 7 août 2019 à 23:39:12 Temps universel coordonné\n
> +mercredi 7 août 2019 à 23:39:12 temps universel coordonné\n
>  11 oclock PM, Coordinated Universal Time\n
>  \n
>  Aug 7, 2019\n
>  7 août 2019\n
>  11:39:12 PM'
> 
> /<<PKGBUILDDIR>>/src/Test/IntegrationTestCase.php:251
> /<<PKGBUILDDIR>>/src/Test/IntegrationTestCase.php:82
> 
> FAILURES!
> Tests: 12, Assertions: 21, Failures: 1, Skipped: 1.
> make[1]: *** [debian/rules:92: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/php-twig_3.3.9-1_unstable.log

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