[pkg-php-pear] Bug#1039733: php-oscarotero-gettext: FTBFS with symfony 6: make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 19:42:21 BST 2023


Source: php-oscarotero-gettext
Version: 4.8.7-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: symfony

Hi,

We are about to start the symfony 6 transition in unstable. During a test
rebuild, php-oscarotero-gettext was found to fail to build with symfony 6.

To reproduce this locally, you need to install the symfony 6 packages from
experimental on an unstable system or build chroot.

Relevant part (hopefully):
> 
> There were 4 failures:
> 
> 1) Gettext\Tests\AssetsTest::testJsCode
> jscode/Yaml
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
>      'Value with double quotes': ''
>      'Other value with double quotes': ''
>      'function inside function': ''
> -    'I can''t get response.': ''
> +    "I can't get response.": ''
>      'Please, try with other interface type.': ''
> -    'I can''t get response. Please, try with other interface type.': ''
> +    "I can't get response. Please, try with other interface type.": ''
>  '
> 
> /<<PKGBUILDDIR>>/tests/AbstractTest.php:62
> /<<PKGBUILDDIR>>/tests/AssetsTest.php:181
> 
> 2) Gettext\Tests\AssetsTest::testPhpCode
> phpcode/Yaml
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
>      'text 2': ''
>      'text 3 (with parenthesis)': ''
>      'text 4 "with double quotes"': ''
> -    'text 5 ''with escaped single quotes''': ''
> +    "text 5 'with escaped single quotes'": ''
>      'text 6': ''
>      'text 7 (with parenthesis)': ''
>      'text 8 "with escaped double quotes"': ''
> -    'text 9 ''with single quotes''': ''
> +    "text 9 'with single quotes'": ''
>      'text 10 with plural': ''
>      "<div id=\"blog\" class=\"container\">\n    <div class=\"row\">\n        <div class=\"col-md-12\">\n            <div id=\"content\">\n                <div class=\"page_post\">\n                    <div class=\"container\">\n                        <div class=\"margin-top-40\"></div>\n                        <div class=\"col-sm-3 col-md-2 centered-xs an-number\">4</div>\n                    </div>\n                </div>\n                <div class=\"container\">\n                    <h1 class=\"text-center margin-top-10\">Sorry, but we couldn't find this page</h1>\n                    <div id=\"body-div\">\n                        <div id=\"main-div\">\n                            <div class=\"text-404\">\n                                <div>\n                                    <p>Maybe you have entered an incorrect URL of the page or page moved to another section or just page is temporarily unavailable.</p>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>": ''
>    context:
>      'text 1 with context': ''
>  '
> 
> /<<PKGBUILDDIR>>/tests/AbstractTest.php:62
> /<<PKGBUILDDIR>>/tests/AssetsTest.php:252
> 
> 3) Gettext\Tests\AssetsTest::testPhpCode2
> phpcode2/Yaml
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
>      plain: ''
>      'DATE \a\t TIME': ''
>      "FIELD\tFIELD": ''
> -    'text concatenated with ''comments''': ''
> +    "text concatenated with 'comments'": ''
>      'Stop at the variable': ''
>      'No comments': ''
>      'i18n Tagged comment': ''
> 
> /<<PKGBUILDDIR>>/tests/AbstractTest.php:62
> /<<PKGBUILDDIR>>/tests/AssetsTest.php:292
> 
> 4) Gettext\Tests\AssetsTest::testVueJs
> vuejs/Yaml
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
>      t-expr2: ''
>      't-"quotes"': ''
>      't-"quotes"-2': ''
> -    't-''quotes''': ''
> -    't-''quotes''-2': ''
> +    "t-'quotes'": ''
> +    "t-'quotes'-2": ''
>      t-spaces-expr: ''
>      t-spaces-expr2: ''
>      t-p1(parentheses): ''
> 
> /<<PKGBUILDDIR>>/tests/AbstractTest.php:62
> /<<PKGBUILDDIR>>/tests/AssetsTest.php:368
> 
> FAILURES!
> Tests: 99, Assertions: 922, Failures: 4.
> make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/symfony6/0/php-oscarotero-gettext/

A symfony reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/symfony6/index.html

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list