[pkg-php-pear] Bug#747937: autopkgtest missing php-symfony-classloader dependency
Martin Pitt
martin.pitt at ubuntu.com
Tue May 13 07:51:56 UTC 2014
Package: php-analog
Version: 1.0.4-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch utopic
User: autopkgtest-devel at lists.alioth.debian.org
Usertags: autopkgtest
Hello,
php-analog's autopkgtest currently fails [1]:
| adt-run [2014-05-12 23:25:54]: & apt0t-phpunit: [-----------------------
| patching file tests/bootstrap.php
| PHP Warning: require_once(Symfony/Component/ClassLoader/ClassLoader.php): failed to open stream: No such file or directory in /tmp/adt-run.xg0cRp/apt0-build/php-analog-1.0.4/tests/bootstrap.php on line 3
| PHP Fatal error: require_once(): Failed opening required 'Symfony/Component/ClassLoader/ClassLoader.php' (include_path='.:/usr/share/php:/usr/share/pear') in /tmp/adt-run.xg0cRp/apt0-build/php-analog-1.0.4/tests/bootstrap.php on line 3
| patching file tests/bootstrap.php
| adt-run [2014-05-12 23:25:55]: & apt0t-phpunit: -----------------------]
| adt-run: & apt0t-phpunit: - - - - - - - - - - results - - - - - - - - - -
| apt0t-phpunit FAIL non-zero exit status 255
| adt-run: & apt0t-phpunit: - - - - - - - - - - stderr - - - - - - - - - -
| PHP Warning: require_once(Symfony/Component/ClassLoader/ClassLoader.php): failed to open stream: No such file or directory in /tmp/adt-run.xg0cRp/apt0-build/php-analog-1.0.4/tests/bootstrap.php on line 3
| PHP Fatal error: require_once(): Failed opening required 'Symfony/Component/ClassLoader/ClassLoader.php' (include_path='.:/usr/share/php:/usr/share/pear') in /tmp/adt-run.xg0cRp/apt0-build/php-analog-1.0.4/tests/bootstrap.php on line 3
This is because
0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch uses that
class loader for the test, so it needs to pull in that package for the
test.
Attached patch fixes this, the test succeeds now.
Thanks for considering,
Martin
[1] http://ci.debian.net/data/unstable-amd64/packages/p/php-analog/2014-05-12.log
-------------- next part --------------
diff -Nru php-analog-1.0.4/debian/changelog php-analog-1.0.4/debian/changelog
--- php-analog-1.0.4/debian/changelog 2014-02-22 19:09:22.000000000 +0100
+++ php-analog-1.0.4/debian/changelog 2014-05-13 09:47:17.000000000 +0200
@@ -1,3 +1,9 @@
+php-analog (1.0.4-1ubuntu1) utopic; urgency=medium
+
+ * Add missing php-symfony-classloader test dependency.
+
+ -- Martin Pitt <martin.pitt at ubuntu.com> Tue, 13 May 2014 09:47:03 +0200
+
php-analog (1.0.4-1) unstable; urgency=low
* Initial release (Closes: #737631)
diff -Nru php-analog-1.0.4/debian/tests/control php-analog-1.0.4/debian/tests/control
--- php-analog-1.0.4/debian/tests/control 2014-03-26 18:48:56.000000000 +0100
+++ php-analog-1.0.4/debian/tests/control 2014-05-13 09:46:50.000000000 +0200
@@ -1,2 +1,2 @@
Tests: phpunit
-Depends: @, phpunit
+Depends: @, phpunit, php-symfony-classloader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140513/c0ab836c/attachment.sig>
More information about the pkg-php-pear
mailing list