[pkg-php-pear] Bug#1082439: libphp-swiftmailer: FTBFS with php8.4_8.4.0~beta4-1: make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Sat Sep 21 03:13:58 BST 2024


Source: libphp-swiftmailer
Version: 6.3.0-5
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: php8.4

Hi,

During a test rebuild, libphp-swiftmailer was found to fail to build with
php8.4 8.4.0~beta4-1 available in experimental.

There are intentions to transition to php8.4 for trixie, please see #1074180.

To reproduce this locally, you need to install php8.4 and php-defaults from
experimental on an unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p vendor
> cp debian/autoload.test.php vendor/autoload.php
> phpunit -v --include-path lib
> PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.4.0beta4
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> Testing 
> .............................................................   61 / 1275 (  4%)
> .............................................................  122 / 1275 (  9%)
> .............................................................  183 / 1275 ( 14%)
> .............................................................  244 / 1275 ( 19%)
> .............................................................  305 / 1275 ( 23%)
> .............................................................  366 / 1275 ( 28%)
> .............................................................  427 / 1275 ( 33%)
> .............................................................  488 / 1275 ( 38%)
> .............................................................  549 / 1275 ( 43%)
> .............................................................  610 / 1275 ( 47%)
> .............................................................  671 / 1275 ( 52%)
> .............................................................  732 / 1275 ( 57%)
> .................SSSSSS......................................  793 / 1275 ( 62%)
> ..S..........................................................  854 / 1275 ( 66%)
> .............................................................  915 / 1275 ( 71%)
> .............................................................  976 / 1275 ( 76%)
> ............................................................. 1037 / 1275 ( 81%)
> ............................................................. 1098 / 1275 ( 86%)
> ............................................................. 1159 / 1275 ( 90%)
> ............................................................. 1220 / 1275 ( 95%)
> ........SSSSSSSSSSSSSSSSSSSSS......................SSSS       1275 / 1275 (100%)
> 
> Time: 00:00.948, Memory: 64.00 MB
> 
> There were 32 skipped tests:
> 
> 1) Swift_Signers_OpenDKIMSignerTest::testBasicSigningHeaderManipulation
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:11
> 
> 2) Swift_Signers_OpenDKIMSignerTest::testSigningDefaults
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:11
> 
> 3) Swift_Signers_OpenDKIMSignerTest::testSigning256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:11
> 
> 4) Swift_Signers_OpenDKIMSignerTest::testSigningRelaxedRelaxed256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:11
> 
> 5) Swift_Signers_OpenDKIMSignerTest::testSigningRelaxedSimple256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:11
> 
> 6) Swift_Signers_OpenDKIMSignerTest::testSigningSimpleRelaxed256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:11
> 
> 7) Swift_Transport_Esmtp_Auth_NTLMAuthenticatorTest::testLMv1Generator
> Need OpenSSL extension with the DES-ECB cipher to run this test.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Transport/Esmtp/Auth/NTLMAuthenticatorTest.php:33
> 
> 8) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testReadLine
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:10
> 
> 9) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testWrite
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:10
> 
> 10) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:10
> 
> 11) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:10
> 
> 12) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:10
> 
> 13) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testReadLine
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:10
> 
> 14) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testWrite
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:10
> 
> 15) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:10
> 
> 16) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:10
> 
> 17) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:10
> 
> 18) Swift_Transport_StreamBuffer_SocketTimeoutTest::testTimeoutException
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SocketTimeoutTest.php:12
> 
> 19) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testReadLine
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:16
> 
> 20) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testWrite
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:16
> 
> 21) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:16
> 
> 22) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:16
> 
> 23) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:16
> 
> 24) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testReadLine
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:16
> 
> 25) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testWrite
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:16
> 
> 26) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:16
> 
> 27) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:16
> 
> 28) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:16
> 
> 29) Swift_Smoke_AttachmentSmokeTest::testAttachmentSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:13
> /<<PKGBUILDDIR>>/tests/smoke/Swift/Smoke/AttachmentSmokeTest.php:12
> 
> 30) Swift_Smoke_BasicSmokeTest::testBasicSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:13
> 
> 31) Swift_Smoke_HtmlWithAttachmentSmokeTest::testAttachmentSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:13
> /<<PKGBUILDDIR>>/tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php:12
> 
> 32) Swift_Smoke_InternationalSmokeTest::testAttachmentSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:13
> /<<PKGBUILDDIR>>/tests/smoke/Swift/Smoke/InternationalSmokeTest.php:12
> 
> OK, but incomplete, skipped, or risky tests!
> Tests: 1275, Assertions: 18308, Skipped: 32.
> 
> Other deprecation notices (25)
> 
>   1x: Swift_Encoder_QpEncoder::__construct(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Encoder_QpEncoderTest::testPermittedCharactersAreNotEncoded
> 
>   1x: Swift_TransportException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Events_SimpleEventDispatcherTest::testTransportExceptionEventCanBeCreated
> 
>   1x: Swift_IoException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Events_SimpleEventDispatcherTest::testTransportExceptionEventCanBeCreated
> 
>   1x: Swift_SwiftException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Events_SimpleEventDispatcherTest::testTransportExceptionEventCanBeCreated
> 
>   1x: Swift_KeyCache_ArrayKeyCache::getInputByteStream(): Implicitly marking parameter $writeThrough as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_KeyCache_ArrayKeyCacheTest::testStringDataCanBeSetAndFetched
> 
>   1x: Swift_KeyCache::getInputByteStream(): Implicitly marking parameter $is as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_KeyCache_ArrayKeyCacheTest::testStringDataCanBeSetAndFetched
> 
>   1x: Swift_KeyCache_SimpleKeyCacheInputStream::write(): Implicitly marking parameter $is as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_KeyCache_SimpleKeyCacheInputStreamTest::testStreamWritesToCacheInAppendMode
> 
>   1x: Swift_Mime_SimpleHeaderSet::addDateHeader(): Implicitly marking parameter $dateTime as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_SimpleHeaderFactory::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_SimpleHeaderFactory::createDateHeader(): Implicitly marking parameter $dateTime as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_ContentEncoder_QpContentEncoder::__construct(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_KeyCache_DiskKeyCache::getInputByteStream(): Implicitly marking parameter $writeThrough as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_Headers_AbstractHeader::createPhrase(): Implicitly marking parameter $encoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_Headers_ParameterizedHeader::__construct(): Implicitly marking parameter $paramEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_Headers_IdentificationHeader::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_Headers_MailboxHeader::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_MessageTest::testCloning
> 
>   1x: Swift_Mime_Headers_PathHeader::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Mime_Headers_PathHeaderTest::testTypeIsPathHeader
> 
>   1x: Swift_Plugins_AntiFloodPlugin::__construct(): Implicitly marking parameter $sleeper as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Plugins_AntiFloodPluginTest::testThresholdCanBeSetAndFetched
> 
>   1x: Swift_Plugins_ThrottlerPlugin::__construct(): Implicitly marking parameter $sleeper as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Plugins_ThrottlerPluginTest::testBytesPerMinuteThrottling
> 
>   1x: Swift_Plugins_ThrottlerPlugin::__construct(): Implicitly marking parameter $timer as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Plugins_ThrottlerPluginTest::testBytesPerMinuteThrottling
> 
>   1x: Swift_Transport_EsmtpTransport::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Transport_EsmtpTransport_ExtensionSupportTest::testExtensionHandlersAreSortedAsNeeded
> 
>   1x: Swift_Transport_AbstractSmtpTransport::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Transport_EsmtpTransport_ExtensionSupportTest::testExtensionHandlersAreSortedAsNeeded
> 
>   1x: Swift_Transport_SendmailTransport::__construct(): Implicitly marking parameter $addressEncoder as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_Transport_SendmailTransportTest::testCommandCanBeSetAndFetched
> 
>   1x: Swift_KeyCache_NullKeyCache::getInputByteStream(): Implicitly marking parameter $writeThrough as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_DependencyContainerAcceptanceTest::testNoLookupsFail
> 
>   1x: Swift_Transport_SpoolTransport::__construct(): Implicitly marking parameter $spool as nullable is deprecated, the explicit nullable type must be used instead
>     1x in Swift_DependencyContainerAcceptanceTest::testNoLookupsFail
> 
> make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/libphp-swiftmailer/libphp-swiftmailer_6.3.0-5+rebuild1726670771_amd64-2024-09-18T14:46:12Z.build



More information about the pkg-php-pear mailing list