Package: php-pimple Version: 3.0.2-2 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer, php-pimple currently fails it's autopkgtests in Debian and Ubuntu. I believe this is because https://anonscm.debian.org/cgit/pkg-php/php-pimple.git/commit/debian/tests/control?id=469bbde52066f24557d792b69af810aec37c60e4 did not remove the php5-pimple test stanza fully. Running phpunit with the pimple autoload file will fail, as it will attempt to uses classes defined in the src/Pimple/Tests subdirectory, which have been excluded correctly from the system-wide autoload file. In Ubuntu, the attached patch was applied to achieve the following: * d/t/control: remove entire stanza for testing php5-pimple (LP: #1592890). Thanks for considering the patch. -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru php-pimple-3.0.2/debian/tests/control php-pimple-3.0.2/debian/tests/control --- php-pimple-3.0.2/debian/tests/control 2016-04-09 18:34:56.000000000 -0700 +++ php-pimple-3.0.2/debian/tests/control 2016-06-15 09:09:28.000000000 -0700 @@ -1,6 +1,3 @@ Test-Command: mkdir --parents vendor && phpab --output vendor/autoload.php --template debian/autoload.php.tpl --basedir vendor src/Pimple/Tests && phpunit Restrictions: rw-build-tree allow-stderr Depends: php-pimple, phpab, phpunit - -Test-Command: phpunit --bootstrap /usr/share/php/Pimple/autoload.php -Depends: phpunit