[pkg-php-pear] Bug#966412: php-timer: FTBFS on i386: 16 test failures

Andreas Beckmann anbe at debian.org
Tue Jul 28 09:12:15 BST 2020


Source: php-timer
Version: 5.0.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

php-timer/experimental FTBFS on i386 (but succeeds on amd64) while
php-timer/sid builds fine on both architectures.

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/php-timer-5.0.1'
phpunit --bootstrap src/autoload.php
PHPUnit 9.2.6 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.4.5
Configuration: /build/php-timer-5.0.1/phpunit.xml

...FFFFFFFFFFFFFFF.................F......                        42 / 42 (100%)

Time: 00:00.004, Memory: 4.00 MB

There were 16 failures:

1) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #18 ('59:59.900', -695067296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'59:59.900'
+'-12:3624.932'

/build/php-timer-5.0.1/tests/DurationTest.php:50

2) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #32 ('01:00:59.010', -635957296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:59.010'
+'-11:3624.042'

/build/php-timer-5.0.1/tests/DurationTest.php:50

3) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #31 ('01:00:59.001', -635966296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:59.001'
+'-11:3624.033'

/build/php-timer-5.0.1/tests/DurationTest.php:50

4) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #30 ('01:00:59.999', -634967396)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:59.999'
+'-11:3625.032'

/build/php-timer-5.0.1/tests/DurationTest.php:50

5) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #29 ('01:00:01.999', -692967396)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:01.999'
+'-12:3627.032'

/build/php-timer-5.0.1/tests/DurationTest.php:50

6) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #28 ('01:00:01.999', -692968296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:01.999'
+'-12:3627.031'

/build/php-timer-5.0.1/tests/DurationTest.php:50

7) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #27 ('01:00:01.990', -692977296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:01.990'
+'-12:3627.022'

/build/php-timer-5.0.1/tests/DurationTest.php:50

8) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #26 ('01:00:01.900', -693067296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:01.900'
+'-12:3626.932'

/build/php-timer-5.0.1/tests/DurationTest.php:50

9) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #25 ('01:00:01', -693967296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:01'
+'-12:3626.032'

/build/php-timer-5.0.1/tests/DurationTest.php:50

10) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #24 ('01:00:00', -694967296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:00:00'
+'-12:3625.032'

/build/php-timer-5.0.1/tests/DurationTest.php:50

11) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #23 ('59:59.010', -695957296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'59:59.010'
+'-12:3624.042'

/build/php-timer-5.0.1/tests/DurationTest.php:50

12) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #22 ('59:59.001', -695966296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'59:59.001'
+'-12:3624.033'

/build/php-timer-5.0.1/tests/DurationTest.php:50

13) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #21 ('59:59.999', -694967396)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'59:59.999'
+'-12:3625.032'

/build/php-timer-5.0.1/tests/DurationTest.php:50

14) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #20 ('59:59.999', -694968296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'59:59.999'
+'-12:3625.031'

/build/php-timer-5.0.1/tests/DurationTest.php:50

15) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #19 ('59:59.990', -694977296)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'59:59.990'
+'-12:3625.022'

/build/php-timer-5.0.1/tests/DurationTest.php:50

16) SebastianBergmann\Timer\DurationTest::testCanBeFormattedAsString with data set #33 ('01:59:59.999', -1389934692)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'01:59:59.999'
+'-24:3650.065'

/build/php-timer-5.0.1/tests/DurationTest.php:50

FAILURES!
Tests: 42, Assertions: 48, Failures: 16.
make[1]: *** [debian/rules:13: override_dh_auto_test] Error 1

Andreas



More information about the pkg-php-pear mailing list