[Reproducible-builds] Bug#813568: php-guzzle: FTBFS: DefaultCacheStorageTest::testCachesRequests strpos() expects parameter 1 to be string, array given
Chris Lamb
lamby at debian.org
Wed Feb 3 08:04:13 UTC 2016
Source: php-guzzle
Version: 3.9.3+dfsg-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
php-guzzle fails to build from source in unstable/amd64:
[..]
Autoload file vendor/autoload.php generated.
make[1]: Leaving directory '/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg'
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg'
http_proxy= phpunit
PHPUnit 5.1.3 by Sebastian Bergmann and contributors.
............................................................. 61 / 1531 ( 3%)
............................................................. 122 / 1531 ( 7%)
............................................................. 183 / 1531 ( 11%)
............................................................. 244 / 1531 ( 15%)
............................................................. 305 / 1531 ( 19%)
............................................................. 366 / 1531 ( 23%)
............................................................. 427 / 1531 ( 27%)
............................................................. 488 / 1531 ( 31%)
............................................................. 549 / 1531 ( 35%)
............................................................. 610 / 1531 ( 39%)
............................................................. 671 / 1531 ( 43%)
............................................................. 732 / 1531 ( 47%)
.........................SSSSSSSSSSSS...SSSSSSSSSSSSSSSSSSSSS 793 / 1531 ( 51%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS........ 854 / 1531 ( 55%)
............................................................. 915 / 1531 ( 59%)
............................................................. 976 / 1531 ( 63%)
............................E..E...FEE....................... 1037 / 1531 ( 67%)
............................................................. 1098 / 1531 ( 71%)
............................................................. 1159 / 1531 ( 75%)
............................................................. 1220 / 1531 ( 79%)
............................................................. 1281 / 1531 ( 83%)
...................................................S......... 1342 / 1531 ( 87%)
............................................................. 1403 / 1531 ( 91%)
........................F.......F............................ 1464 / 1531 ( 95%)
............................................................. 1525 / 1531 ( 99%)
...... 1531 / 1531 (100%)
Time: 9.1 seconds, Memory: 46.50Mb
There were 4 errors:
1) Guzzle\Tests\Plugin\Cache\DefaultCacheStorageTest::testCachesRequests
strpos() expects parameter 1 to be string, array given
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php:53
2) Guzzle\Tests\Plugin\Cache\DefaultCacheStorageTest::testCachesMultipleRequestsWithVary
strpos() expects parameter 1 to be string, array given
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php:96
3) Guzzle\Tests\Plugin\Cache\DefaultCacheStorageTest::testUsesStaleTimeDirectiveForTtd with data set #0 (Guzzle\Http\Message\Request Object (...), Guzzle\Http\Message\Response Object (...))
strpos() expects parameter 1 to be string, array given
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php:177
4) Guzzle\Tests\Plugin\Cache\DefaultCacheStorageTest::testUsesStaleTimeDirectiveForTtd with data set #1 (Guzzle\Http\Message\Request Object (...), Guzzle\Http\Message\Response Object (...))
strpos() expects parameter 1 to be string, array given
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php:177
--
There were 3 failures:
1) Guzzle\Tests\Plugin\Cache\DefaultCacheStorageTest::testEnsuresResponseIsStillPresent
Failed asserting that Guzzle\Http\Message\Response Object &000000007235161d000000001a489634 (
'body' => Guzzle\Http\EntityBody Object &0000000072351614000000001a489634 (
'contentEncoding' => false
'rewindFunction' => null
'stream' => resource(3521) of type (stream)
'size' => null
'cache' => Array &0 (
'wrapper_type' => 'PHP'
'stream_type' => 'TEMP'
'mode' => 'w+b'
'unread_bytes' => 0
'seekable' => true
'uri' => 'php://temp'
'is_local' => true
'is_readable' => true
'is_writable' => true
)
'customData' => Array &0
)
'reasonPhrase' => 'OK'
'statusCode' => 200
'info' => Array &1 ()
'effectiveUrl' => null
'headers' => Guzzle\Http\Message\Header\HeaderCollection Object &0000000072351600000000001a489634 (
'headers' => Array &2 (
'content-type' => Guzzle\Http\Message\Header Object &0000000072351653000000001a489634 (
'values' => Array &3 (
0 => 'application/json'
)
'header' => 'content-type'
'glue' => ','
)
'x-foo' => Guzzle\Http\Message\Header Object &0000000072351610000000001a489634 (
'values' => Array &4 (
0 => 'Bar'
)
'header' => 'x-foo'
'glue' => ','
)
'vary' => Guzzle\Http\Message\Header Object &0000000072351627000000001a489634 (
'values' => Array &5 (
0 => 'Accept'
)
'header' => 'vary'
'glue' => ','
)
)
)
'headerFactory' => Guzzle\Http\Message\Header\HeaderFactory Object &0000000072351601000000001a489634 (
'mapping' => Array &6 (
'cache-control' => 'Guzzle\Http\Message\Header\CacheControl'
'link' => 'Guzzle\Http\Message\Header\Link'
)
)
'params' => Guzzle\Common\Collection Object &000000007235160f000000001a489634 (
'data' => Array &7 ()
)
'protocol' => 'HTTP'
'protocolVersion' => '1.1'
) is null.
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php:151
2) Guzzle\Tests\Service\Description\SchemaFormatterTest::testFilters with data set #7 (1350137746, 'time', '16:15:46')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'16:15:46'
+'14:15:46'
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php:43
3) Guzzle\Tests\Service\Description\SchemaFormatterTest::testFilters with data set #15 ('October 13, 2012 10:15:46 -06:00', 'date-time', '2012-10-13T16:15:46Z')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2012-10-13T16:15:46Z'
+'2012-10-13T18:15:46Z'
/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php:43
FAILURES!
Tests: 1531, Assertions: 4228, Errors: 4, Failures: 3, Skipped: 87.
debian/rules:22: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160203084908.RlfJUCZUHm/php-guzzle-3.9.3+dfsg'
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-guzzle.3.9.3+dfsg-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 9489 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160203/27a563f7/attachment.obj>
More information about the Reproducible-builds
mailing list