Le mer. 25 sept. 2019 à 21:03, Bryce Harrington
<bryce.harring...@canonical.com> a écrit :
>
> Package: php-horde-mime
> Version: 2.11.0-2
> Severity: normal
>
> Dear Maintainer,

Thanks for your report.

> php-horde-mime fails its DEP-8 test with the error shown below, on
> ci.debian.net, and similar failure was seen in Ubuntu.
>
>     PHP Fatal error:  Uncaught Error: Class 'Horde_Test_Case' not found in 
> /tmp/autopkgtest.WKueSZ/build.G63/src/Horde_Mime-2.11.0/test/Horde/Mime/Filter/EncodingTest.php:26
>     Stack trace:
>     #0 /usr/share/php/PHPUnit/Util/FileLoader.php(57): include_once()
>     #1 /usr/share/php/PHPUnit/Util/FileLoader.php(45): 
> PHPUnit\Util\FileLoader::load('/tmp/autopkgtes...')
>     #2 /usr/share/php/PHPUnit/Framework/TestSuite.php(540): 
> PHPUnit\Util\FileLoader::checkAndLoad('/tmp/autopkgtes...')
>     #3 /usr/share/php/PHPUnit/Framework/TestSuite.php(618): 
> PHPUnit\Framework\TestSuite->addTestFile('/tmp/autopkgtes...')
>     #4 /usr/share/php/PHPUnit/Runner/BaseTestRunner.php(70): 
> PHPUnit\Framework\TestSuite->addTestFiles(Array)
>     #5 /usr/share/php/PHPUnit/TextUI/Command.php(183): 
> PHPUnit\Runner\BaseTestRunner->getTest('.', '', Array)
>     #6 /usr/share/php/PHPUnit/TextUI/Command.php(162): 
> PHPUnit\TextUI\Command->run(Array, true)
>     #7 /usr/bin/phpunit(42): PHPUnit\TextUI\Command::main()
>     #8 {main}
>       thrown in 
> /tmp/autopkgtest.WKueSZ/build.G63/src/Horde_Mime-2.11.0/test/Horde/Mime/Filter/EncodingTest.php
>  on line 26
>
> Debian log:
>     
> https://ci.debian.net/data/autopkgtest/unstable/amd64/p/php-horde-mime/3015914/log.gz
> Ubuntu log:
>     
> https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-eoan/eoan/amd64/p/php-horde-mime/20190913_195327_67b6b@/log.gz
>
> I've added a patch in Ubuntu that works around the issue by adding an
> include for AllTests.php.  (Is it possible AllTests.php is supposed to
> be automatically included, yet isn't for some reason?)

This looks like a workaround indeed.

Currently almost all horde packages fails in CI, there is a huge work
here and I need help. I don't want to merge those workaround patches
until we have a summary of the different kind of problems. Also, we
need to work with upstream.

Can Ubuntu help here?

See also : https://salsa.debian.org/groups/horde-team/-/merge_requests

Regards

Mathieu Parent

Reply via email to