[pkg-php-pear] Bug#1073425: php-oscarotero-gettext: FTBFS: make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1
Lucas Nussbaum
lucas at debian.org
Sun Jun 16 14:23:01 BST 2024
Source: php-oscarotero-gettext
Version: 4.8.7-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 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 --do-not-cache-result
> PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
>
> Warning - The configuration file did not pass validation!
> The following problems have been detected:
>
> Line 2:
> - Element 'phpunit', attribute 'cacheDirectory': The attribute 'cacheDirectory' is not allowed.
>
> Line 9:
> - Element 'source': This element is not expected.
>
> Test results may not be as expected.
>
>
> PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .FPHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> ..F..PHP Deprecated: SimpleXMLElement::__construct(): Passing null to parameter #2 ($options) of type int is deprecated in /<<PKGBUILDDIR>>/src/Extractors/Xliff.php on line 26
> .................................................. 65 / 99 ( 65%)
> .................................PHP Deprecated: substr(): Passing null to parameter #2 ($offset) of type int is deprecated in /<<PKGBUILDDIR>>/src/Utils/StringReader.php on line 31
> . 99 / 99 (100%)
>
> Time: 00:00.061, Memory: 8.00 MB
>
> There were 2 failures:
>
> 1) Gettext\Tests\AssetsTest::testVueJs
> Failed asserting that actual size 26 matches expected size 34.
>
> /<<PKGBUILDDIR>>/tests/AssetsTest.php:318
>
> 2) Gettext\Tests\AssetsTest::testVueJs2MultipleDomainScanning
> vuejs2/domainNone
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> "Project-Id-Version: \n"
> "Report-Msgid-Bugs-To: \n"
>
> -#: ./tests/assets/vuejs2/input.vue:10
> -msgid "no domain 3"
> +#: ./tests/assets/vuejs2/input.vue:1
> +msgid "no domain 1"
> msgstr ""
>
> #: ./tests/assets/vuejs2/input.vue:2
> -msgid "no domain 1"
> -msgstr ""
> -
> -#: ./tests/assets/vuejs2/input.vue:3
> msgid "no domain 2"
> msgstr ""
> '
>
> /<<PKGBUILDDIR>>/tests/AbstractTestCase.php:62
> /<<PKGBUILDDIR>>/tests/AssetsTest.php:427
>
> FAILURES!
> Tests: 99, Assertions: 942, Failures: 2.
> make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/php-oscarotero-gettext_4.8.7-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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