[pkg-php-pear] Bug#976815: php-monolog: FTBFS: ReflectionException: Class Egulias\EmailValidator\EmailValidator does not exist

Andreas Beckmann anbe at debian.org
Tue Dec 8 08:59:10 GMT 2020


Source: php-monolog
Version: 2.1.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

php-monolog/experimental recently started to FTBFS due to a change in some
build dependency.

This is a diff of the build-depends getting installed from a previous
successful build, there are 4 newly installed php packages (***), at
least one of them looks related to the error (!!!):

-Setting up automake (1:1.16.2-4) ...
+Setting up automake (1:1.16.3-1) ...
-Setting up bsdextrautils (2.36-3+b1) ...
+Setting up bsdextrautils (2.36.1-2) ...
-Setting up dwz (0.13-5) ...
+Setting up dwz (0.13+20201015-2) ...
-Setting up file (1:5.38-5) ...
+Setting up file (1:5.39-3) ...
-Setting up libelf1:amd64 (0.181-1) ...
+Setting up libelf1:amd64 (0.182-1) ...
-Setting up libglib2.0-0:amd64 (2.66.1-2) ...
+Setting up libglib2.0-0:amd64 (2.66.3-2) ...
-Setting up libjs-jquery (3.5.1+dfsg-4) ...
+Setting up libjs-jquery (3.5.1+dfsg+~3.5.4-3) ...
-Setting up libjs-popper.js (1.16.1+ds-1) ...
+Setting up libjs-popper.js (1.16.1+ds-2) ...
-Setting up libldap-2.4-2:amd64 (2.4.54+dfsg-1) ...
+Setting up libldap-2.4-2:amd64 (2.4.56+dfsg-1) ...
-Setting up libmagic1:amd64 (1:5.38-5) ...
+Setting up libmagic1:amd64 (1:5.39-3) ...
-Setting up libmagic-mgc (1:5.38-5) ...
+Setting up libmagic-mgc (1:5.39-3) ...
-Setting up libnghttp2-14:amd64 (1.41.0-3) ...
+Setting up libnghttp2-14:amd64 (1.42.0-1) ...
-Setting up libxml2:amd64 (2.9.10+dfsg-6.1) ...
+Setting up libxml2:amd64 (2.9.10+dfsg-6.3) ...
+Setting up mailcap (3.67) ...
+Setting up media-types (1.0.1) ...
-Setting up mime-support (3.64) ...
+Setting up mime-support (3.66) ...
+Setting up node-jquery (3.5.1+dfsg+~3.5.4-3) ...
-Setting up node-jquery (3.5.1+dfsg-4) ...
+Setting up php7.4-intl (7.4.11-1) ...			***
-Setting up phpunit (8.5.8-1) ...
+Setting up phpunit (8.5.13-1) ...
-Setting up php-codecoverage (7.0.10+dfsg-1) ...
+Setting up php-codecoverage (7.0.14+dfsg-2) ...
-Setting up php-deepcopy (1.10.1-1) ...
+Setting up php-deepcopy (1.10.2-1) ...
-Setting up php-doctrine-instantiator (1.3.1-1) ...
+Setting up php-doctrine-instantiator (1.4.0-1) ...
+Setting up php-doctrine-lexer (1.2.1-1) ...		***
+Setting up php-email-validator (2.1.24-1) ...		*** !!!
+Setting up php-intl (2:7.4+76) ...			***
-Setting up php-phar-io-manifest (1.0.3-2) ...
+Setting up php-phar-io-manifest (2.0.1-2) ...
-Setting up php-phar-io-version (2.0.1-1) ...
+Setting up php-phar-io-version (3.0.3-1) ...
-Setting up php-swiftmailer (5.4.2-1.1) ...
+Setting up php-swiftmailer (6.2.3-1) ...
-Setting up php-token-stream (3.1.1-1) ...
+Setting up php-token-stream (4.0.4-1) ...
-Setting up php-zeta-console-tools (1.7.1-1) ...
+Setting up php-zeta-console-tools (1.7.2-1) ...
-Setting up tzdata (2020c-1) ...
+Setting up tzdata (2020d-1) ...

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/php-monolog-2.1.1'
phpunit --include-path src
PHPUnit 8.5.13 by Sebastian Bergmann and contributors.

..........SS.......SSSSSSSSS.........................S.......   61 / 1058 (  5%)
.....SSSSSSSS..S.............................................  122 / 1058 ( 11%)
...........S.....SSSSSSSSSSSSSSSSSSS.........................  183 / 1058 ( 17%)
...............SSSS......................SS..................  244 / 1058 ( 23%)
.........................SSSSSSSSSSSSSSSSSSSSSSSSS...........  305 / 1058 ( 28%)
.....................S.SSWW..................................  366 / 1058 ( 34%)
.............................................................  427 / 1058 ( 40%)
.............................EEE.............................  488 / 1058 ( 46%)
.SS..........................................................  549 / 1058 ( 51%)
.............................................................  610 / 1058 ( 57%)
.............................................................  671 / 1058 ( 63%)
.............................................................  732 / 1058 ( 69%)
.............................................................  793 / 1058 ( 74%)
.............................................................  854 / 1058 ( 80%)
.............................................................  915 / 1058 ( 86%)
..................................................S..........  976 / 1058 ( 92%)
...........................W................................. 1037 / 1058 ( 98%)
.....................                                         1058 / 1058 (100%)

Time: 1.08 seconds, Memory: 24.00 MB

There were 3 errors:

1) Monolog\Handler\SwiftMailerHandlerTest::testMessageCanBeCustomizedGivenLoggedData
ReflectionException: Class Egulias\EmailValidator\EmailValidator does not exist

/usr/share/php/Swift/classes/Swift/DependencyContainer.php:327
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:341
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:117
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:330
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:115
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:330
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:115
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/Message.php:48
/build/php-monolog-2.1.1/tests/Monolog/Handler/SwiftMailerHandlerTest.php:51

2) Monolog\Handler\SwiftMailerHandlerTest::testMessageSubjectFormatting
ReflectionException: Class Egulias\EmailValidator\EmailValidator does not exist

/usr/share/php/Swift/classes/Swift/DependencyContainer.php:327
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:341
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:117
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:330
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:115
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:330
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:115
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/Message.php:48
/build/php-monolog-2.1.1/tests/Monolog/Handler/SwiftMailerHandlerTest.php:79

3) Monolog\Handler\SwiftMailerHandlerTest::testMessageHaveUniqueId
ReflectionException: Class Egulias\EmailValidator\EmailValidator does not exist

/usr/share/php/Swift/classes/Swift/DependencyContainer.php:327
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:341
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:117
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:330
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:115
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:330
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:115
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:389
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:366
/usr/share/php/Swift/classes/Swift/DependencyContainer.php:134
/usr/share/php/Swift/classes/Swift/Message.php:48
/build/php-monolog-2.1.1/tests/Monolog/Handler/SwiftMailerHandlerTest.php:103

--

There were 3 warnings:

1) Monolog\Handler\RedisHandlerTest::testPredisHandleCapped
createPartialMock called with method(s) rPush, lTrim that do not exist in Predis\Client. This will not be allowed in future versions of PHPUnit.

2) Monolog\Handler\RollbarHandlerTest::testExceptionLogLevel
Trying to configure method "log" which cannot be configured because it does not exist, has not been specified, is final, or is static

3) Monolog\PsrLogCompatTest::testThrowsOnInvalidLevel
The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageMatches() instead.

ERRORS!
Tests: 1058, Assertions: 1691, Errors: 3, Warnings: 3, Skipped: 78.
make[1]: *** [debian/rules:15: override_dh_auto_test] Error 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-monolog_2.1.1-1.log.gz
Type: application/gzip
Size: 14612 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20201208/16ec8145/attachment-0001.gz>


More information about the pkg-php-pear mailing list