** Bug watch added: Debian Bug tracker #607372
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607372

** Also affects: php-gettext (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607372
   Importance: Unknown
       Status: Unknown

** Package changed: php-gettext (Debian) => phpunit (Debian)

** Package changed: php-gettext (Ubuntu Oneiric) => phpunit (Ubuntu
Oneiric)

** Summary changed:

- php-gettext version 1.0.10-1 failed to build on i386
+ Tries to use nonexisting files, making tests fail.

** Description changed:

+ From Debian Bug:
+ "
+ The first non-comment line of /usr/bin/phpunit is:
+ ,----
+ | require_once 'PHP/CodeCoverage/Filter.php';
+ `----
+   However, the package doesn't ship any file by that name, and I don't
+ think any of its dependencies do, either.  So basically, phpunit is
+ unusable since the latest upgrade.  Version 3.4.14-1 worked fine.
+ "
+ 
+ "
+ That's because phpunit 3.5 uses PHP_CodeCoverage (not packaged yet) 
+ to collect and process code coverage information.
+ "
+ 
+ 
+ ######### example failure
+ 
  php-gettext version 1.0.10-1 failed to build on i386
  Link to failed build: 
https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2407043
  
  Direct link to the build log: https://launchpad.net/ubuntu/+archive
  /test-rebuild-20110329/+buildjob/2407043/+files/buildlog_ubuntu-
  natty-i386.php-gettext_1.0.10-1_FAILEDTOBUILD.txt.gz
  
  This log snippet might be of interest, since it triggered the matcher 
'Purging chroot-autobuild'.
  Excerpt 855 lines into the build log:
  
  Now at patch tests_clean_chroot.patch
  touch debian/stamp-patched
  dh build
-    dh_testdir
-    dh_auto_configure
-    dh_auto_build
+    dh_testdir
+    dh_auto_configure
+    dh_auto_build
  make[1]: Entering directory `/build/buildd/php-gettext-1.0.10'
  phpunit --verbose tests
  PHP Warning:  require_once(PHP/CodeCoverage/Filter.php): failed to open 
stream: No such file or directory in /usr/bin/phpunit on line 38
  PHP Fatal error:  require_once(): Failed opening required 
'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear') 
in /usr/bin/phpunit on line 38
  make[1]: *** [check] Error 255
  make[1]: Leaving directory `/build/buildd/php-gettext-1.0.10'
  dh_auto_build: make -j1 returned exit code 2
  make: *** [build-indep] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  ******************************************************************************
  Build finished at 20110408-1812
  FAILED [dpkg-buildpackage died]
  Purging chroot-autobuild/build/buildd/php-gettext-1.0.10

** Tags removed: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/755973

Title:
  Tries to use nonexisting files, making tests fail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpunit/+bug/755973/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to