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

2024-02-29 Thread James Valleroy

Hi taffit,

On Tue, 5 Sep 2023 01:29:12 +0530 David =?iso-8859-1?Q?Pr=E9vot?= 
 wrote:

Hi James,

Le Wed, Jun 28, 2023 at 03:42:21PM -0300, Athos Ribeiro a écrit :
> Source: php-oscarotero-gettext
> Version: 4.8.7-1
[…]
> 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.

Looking at the composer.json file, the dependency seems to be of the 2
era… ("symfony/yaml": "~2",).

Version 5 of php-oscarotero-gettext published four years ago, doesn’t
depend (directly) on symfony/yaml anymore. Is it possible that the
reverse dependencies (shaarli?) can use the 5 branch?

Regards,

taffit



Sorry for the delay in addressing this. I'll disable the YAML tests, and 
remove the build/test dependency on php-symfony-yaml. Shaarli doesn't 
use the YAML extractor or generator, so it's not an important feature 
currently.


Regards,
James


OpenPGP_signature.asc
Description: OpenPGP digital signature


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

2023-09-04 Thread David Prévot
Hi James,

Le Wed, Jun 28, 2023 at 03:42:21PM -0300, Athos Ribeiro a écrit :
> Source: php-oscarotero-gettext
> Version: 4.8.7-1
[…]
> 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.

Looking at the composer.json file, the dependency seems to be of the 2
era… ("symfony/yaml": "~2",).

Version 5 of php-oscarotero-gettext published four years ago, doesn’t
depend (directly) on symfony/yaml anymore. Is it possible that the
reverse dependencies (shaarli?) can use the 5 branch?

Regards,

taffit


signature.asc
Description: PGP signature


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

2023-06-28 Thread Athos Ribeiro
Source: php-oscarotero-gettext
Version: 4.8.7-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@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.": ''
>  '
> 
> /<>/tests/AbstractTest.php:62
> /<>/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': ''
>  "\n\n
> \n\n
> \n\n
> \n 
>4\n   
>  \n\n class=\"container\">\n margin-top-10\">Sorry, but we couldn't find this page\n  
>   \n\n  
>   \n  
>   \nMaybe you have entered an 
> incorrect URL of the page or page moved to another section or just page is 
> temporarily unavailable.\n\n
> \n\n  
>   \n\n\n\n
> \n": ''
>context:
>  'text 1 with context': ''
>  '
> 
> /<>/tests/AbstractTest.php:62
> /<>/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': ''
> 
> /<>/tests/AbstractTest.php:62
> /<>/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): ''
> 
> /<>/tests/AbstractTest.php:62
> /<>/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