[pkg-php-pear] Bug#889532: php-db FTBFS with PHP 7.2

Adrian Bunk bunk at debian.org
Sun Feb 4 08:58:29 UTC 2018


Source: php-db
Version: 1.9.2-2
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/php-db.html

...
There was 1 failure:

1) tests/db_parsedsn.phpt
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 'testing DB::parseDSN...\n
 \n
 DSN: mysql\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: odbc(mssql)\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: odbc(db2)://user:password@/database\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: odbc(access):///database\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: odbc://admin@/datasourceName\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql://localhost\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql://remote.host.com/db\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: oci8://system:manager@\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: oci8://user:pass at tns-name\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: odbc(solid)://foo:bar at tcp+localhost+1313\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: pgsql://user@unix+localhost/pear\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: ibase://user%40domain:password@host\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: ibase://user@domain:pass@word@/database\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: ifx://user@domain:pass@word@host.com//usr/db/general.db\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: ifx://remote.host.com/c:\windows\my.db\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: oci8://SHOOTOUT:******@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.101.161)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TIS)))\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: odbc(solid)://foo:bar at localhost:1313\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: pgsql://user@unix()/pear\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql://user@unix(/path/to/socket)/pear\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: pgsql://user@tcp()/pear\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: pgsql://user@tcp(somehost)/pear\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: pgsql://user:pass@word@tcp(somehost:7777)/pear\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: ibase://user:pass@localhost//var/lib/dbase.dbf?role=foo\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: dbase://@/?role=foo&dialect=bar\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: sqlite:////unix/path/to/database?option=value&anotheroption=anothervalue\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: sqlite:///c:/win/path/to/database?option=value\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql://username@hostspec\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql://hostspec/database\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql://hostspec\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
 DSN: mysql:///database\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775\n
@@ @@
-)'
+)\n
+\n
+Warning: count(): Parameter must be an array or an object that implements Countable in /build/1st/php-db-1.9.2/DB-1.9.2/DB.php on line 775'

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
debian/rules:7: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the pkg-php-pear mailing list