[pkg-php-pear] Bug#750287: php-db: FTBFS: Tests failures

David Suárez david.sephirot at gmail.com
Mon Jun 2 19:05:55 UTC 2014


Source: php-db
Version: 1.7.14-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140601 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/«PKGBUILDDIR»'
> dh_link -O--buildsystem=phppear
> chmod +x ./debian/tests_run
> ./debian/tests_run
> Testing with db_error.phpt
> PHPUnit 3.7.28 by Sebastian Bergmann.
> 
> F
> 
> Time: 126 ms, Memory: 2.50Mb
> 
> There was 1 failure:
> 
> 1) db_error.phpt
> --- Expected
> +++ Actual
> @@ @@
>  testing different error codes...
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  [db_error: message="db error: unknown error" code=-1 mode=return level=notice prefix="" info=""]
>  [db_error: message="db error: test error" code=-1 mode=return level=notice prefix="" info=""]
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  [db_error: message="db error: no error" code=1 mode=return level=notice prefix="" info=""]
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  [db_error: message="db error: unknown error" code=-1 mode=return level=notice prefix="" info=""]
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  [db_error: message="db error: syntax error" code=-2 mode=return level=notice prefix="" info=""]
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  [db_error: message="db error: division by zero" code=-13 mode=return level=notice prefix="" info=""]
>  testing different error modes...
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  DB Error: unknown error[db_error: message="db error: unknown error" code=-1 mode=print level=notice prefix="" info=""]
>  
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
> +
>  User Notice: DB Error: syntax error in PEAR.php on line XXX
>  testing different error serverities...
>  
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
> +
>  User Notice: DB Error: syntax error in PEAR.php on line XXX
>  
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
> +
>  User Warning: DB Error: syntax error in PEAR.php on line XXX
> +
> +Notice: Undefined offset: 8192 in /«PKGBUILDDIR»/DB-1.7.14/tests/db_error.php on line 29
> +
> +: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in DB.php on line XXX
>  
>  User Error: DB Error: syntax error in PEAR.php on line XXX
> 
> 
> FAILURES!
> Tests: 1, Assertions: 1, Failures: 1.
> make[1]: *** [override_dh_link] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/06/01/php-db_1.7.14-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-php-pear mailing list