[Pkg-roundcube-maintainers] Bug#1039853: roundcube: FTBFS with phpunit 10: make[1]: *** [debian/rules:105: override_dh_auto_test] Error 1
Athos Ribeiro
athoscribeiro at gmail.com
Wed Jun 28 22:39:04 BST 2023
Source: roundcube
Version: 1.6.1+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit
Hi,
We will start the phpunit 10 transition in unstable soon. During a test
rebuild, roundcube was found to FTBFS.
To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.
Relevant part (hopefully):
> There were 42 PHPUnit test runner warnings:
>
> 1) Class GroupAddmembers cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/GroupAddmembers.php
>
> 2) Class GroupCreate cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/GroupCreate.php
>
> 3) Class GroupDelete cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/GroupDelete.php
>
> 4) Class GroupDelmembers cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/GroupDelmembers.php
>
> 5) Class GroupRename cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/GroupRename.php
>
> 6) Class SearchCreate cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/SearchCreate.php
>
> 7) Class SearchDelete cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/SearchDelete.php
>
> 8) Class UploadPhoto cannot be found in /<<PKGBUILDDIR>>/tests/Actions/Contacts/UploadPhoto.php
>
> 9) Class Enigma cannot be found in /<<PKGBUILDDIR>>/plugins/enigma/tests/Enigma.php
>
> 10) Class Managesieve cannot be found in /<<PKGBUILDDIR>>/plugins/managesieve/tests/Managesieve.php
>
> 11) Class Acl cannot be found in /<<PKGBUILDDIR>>/plugins/acl/tests/Acl.php
>
> 12) Class AdditionalMessageHeaders cannot be found in /<<PKGBUILDDIR>>/plugins/additional_message_headers/tests/AdditionalMessageHeaders.php
>
> 13) Class Archive declared in /<<PKGBUILDDIR>>/plugins/archive/tests/Archive.php does not extend PHPUnit\Framework\TestCase
>
> 14) Class AttachmentReminder cannot be found in /<<PKGBUILDDIR>>/plugins/attachment_reminder/tests/AttachmentReminder.php
>
> 15) Class Autologon cannot be found in /<<PKGBUILDDIR>>/plugins/autologon/tests/Autologon.php
>
> 16) Class Autologout cannot be found in /<<PKGBUILDDIR>>/plugins/autologout/tests/Autologout.php
>
> 17) Class DatabaseAttachments cannot be found in /<<PKGBUILDDIR>>/plugins/database_attachments/tests/DatabaseAttachments.php
>
> 18) Class DebugLogger cannot be found in /<<PKGBUILDDIR>>/plugins/debug_logger/tests/DebugLogger.php
>
> 19) Class Emoticons cannot be found in /<<PKGBUILDDIR>>/plugins/emoticons/tests/Emoticons.php
>
> 20) Class ExampleAddressbook cannot be found in /<<PKGBUILDDIR>>/plugins/example_addressbook/tests/ExampleAddressbook.php
>
> 21) Class FilesystemAttachments cannot be found in /<<PKGBUILDDIR>>/plugins/filesystem_attachments/tests/FilesystemAttachments.php
>
> 22) Class Help cannot be found in /<<PKGBUILDDIR>>/plugins/help/tests/Help.php
>
> 23) Class HideBlockquote cannot be found in /<<PKGBUILDDIR>>/plugins/hide_blockquote/tests/HideBlockquote.php
>
> 24) Class HttpAuthentication cannot be found in /<<PKGBUILDDIR>>/plugins/http_authentication/tests/HttpAuthentication.php
>
> 25) Class Identicon cannot be found in /<<PKGBUILDDIR>>/plugins/identicon/tests/Identicon.php
>
> 26) Class IdentitySelect cannot be found in /<<PKGBUILDDIR>>/plugins/identity_select/tests/IdentitySelect.php
>
> 27) Class Jqueryui declared in /<<PKGBUILDDIR>>/plugins/jqueryui/tests/Jqueryui.php does not extend PHPUnit\Framework\TestCase
>
> 28) Class KrbAuthentication cannot be found in /<<PKGBUILDDIR>>/plugins/krb_authentication/tests/KrbAuthentication.php
>
> 29) Class Markasjunk declared in /<<PKGBUILDDIR>>/plugins/markasjunk/tests/Markasjunk.php does not extend PHPUnit\Framework\TestCase
>
> 30) Class NewUserDialog cannot be found in /<<PKGBUILDDIR>>/plugins/new_user_dialog/tests/NewUserDialog.php
>
> 31) Class NewUserIdentity cannot be found in /<<PKGBUILDDIR>>/plugins/new_user_identity/tests/NewUserIdentity.php
>
> 32) Class NewmailNotifier cannot be found in /<<PKGBUILDDIR>>/plugins/newmail_notifier/tests/NewmailNotifier.php
>
> 33) Class Password cannot be found in /<<PKGBUILDDIR>>/plugins/password/tests/Password.php
>
> 34) Class RedundantAttachments cannot be found in /<<PKGBUILDDIR>>/plugins/redundant_attachments/tests/RedundantAttachments.php
>
> 35) Class ShowAdditionalHeaders cannot be found in /<<PKGBUILDDIR>>/plugins/show_additional_headers/tests/ShowAdditionalHeaders.php
>
> 36) Class SquirrelmailUsercopy cannot be found in /<<PKGBUILDDIR>>/plugins/squirrelmail_usercopy/tests/SquirrelmailUsercopy.php
>
> 37) Class SubscriptionsOption cannot be found in /<<PKGBUILDDIR>>/plugins/subscriptions_option/tests/SubscriptionsOption.php
>
> 38) Class Userinfo cannot be found in /<<PKGBUILDDIR>>/plugins/userinfo/tests/Userinfo.php
>
> 39) Class VcardAttachments cannot be found in /<<PKGBUILDDIR>>/plugins/vcard_attachments/tests/VcardAttachments.php
>
> 40) Class VirtuserFile cannot be found in /<<PKGBUILDDIR>>/plugins/virtuser_file/tests/VirtuserFile.php
>
> 41) Class VirtuserQuery cannot be found in /<<PKGBUILDDIR>>/plugins/virtuser_query/tests/VirtuserQuery.php
>
> 42) Class Zipdownload declared in /<<PKGBUILDDIR>>/plugins/zipdownload/tests/Zipdownload.php does not extend PHPUnit\Framework\TestCase
>
> --
>
> There was 1 PHPUnit test runner deprecation:
>
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
>
> --
>
> 42 tests triggered 42 PHPUnit deprecations:
>
> 1) Framework_BaseReplacer::test_absolute_url
> Data Provider method Framework_BaseReplacer::data_absolute_url() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/BaseReplacer.php:55
>
> 2) Framework_Browser::test_browser
> Data Provider method Framework_Browser::browsers() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Browser.php:13
>
> 3) Framework_Browser::test_os
> Data Provider method Framework_Browser::os() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Browser.php:28
>
> 4) Framework_Browser::test_version
> Data Provider method Framework_Browser::versions() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Browser.php:42
>
> 5) Framework_Charset::test_clean
> Data Provider method Framework_Charset::data_clean() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:31
>
> 6) Framework_Charset::test_parse_charset
> Data Provider method Framework_Charset::data_parse_charset() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:50
>
> 7) Framework_Charset::test_convert
> Data Provider method Framework_Charset::data_convert() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:86
>
> 8) Framework_Charset::test_utf7_to_utf8
> Data Provider method Framework_Charset::data_utf7_to_utf8() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:104
>
> 9) Framework_Charset::test_utf7imap_to_utf8
> Data Provider method Framework_Charset::data_utf7imap_to_utf8() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:122
>
> 10) Framework_Charset::test_utf8_to_utf7imap
> Data Provider method Framework_Charset::data_utf8_to_utf7imap() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:140
>
> 11) Framework_Charset::test_utf16_to_utf8
> Data Provider method Framework_Charset::data_utf16_to_utf8() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:158
>
> 12) Framework_Charset::test_detect
> Data Provider method Framework_Charset::data_detect() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:177
>
> 13) Framework_Charset::test_detect_with_lang
> Data Provider method Framework_Charset::data_detect_with_lang() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Charset.php:195
>
> 14) Framework_Enriched::test_formatting
> Data Provider method Framework_Enriched::data_formatting() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Enriched.php:68
>
> 15) Framework_Html::test_attrib_string
> Data Provider method Framework_Html::data_attrib_string() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Html.php:64
>
> 16) Framework_Html::test_quote
> Data Provider method Framework_Html::data_quote() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Html.php:89
>
> 17) Framework_Html::test_parse_attrib_string
> Data Provider method Framework_Html::data_parse_attrib_string() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Html.php:131
>
> 18) rc_html2text::test_html2text
> Data Provider method rc_html2text::data_html2text() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Html2text.php:80
>
> 19) rc_html2text::test_links_no_list
> Data Provider method rc_html2text::data_links_no_list() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Html2text.php:221
>
> 20) rc_html2text::test_links_no_list_bc_with_boolean
> Data Provider method rc_html2text::data_links_no_list() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Html2text.php:234
>
> 21) Framework_Spoofchecker::test_check
> Data Provider method Framework_Spoofchecker::data_check() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Spoofchecker.php:37
>
> 22) Framework_StringReplacer::test_replace
> Data Provider method Framework_StringReplacer::data_replace() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/StringReplacer.php:57
>
> 23) Framework_Text2Html::test_text2html
> Data Provider method Framework_Text2Html::data_text2html() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Text2Html.php:114
>
> 24) Framework_Utils::test_valid_email
> Data Provider method Framework_Utils::data_valid_email() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:83
>
> 25) Framework_Utils::test_invalid_email
> Data Provider method Framework_Utils::data_invalid_email() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:91
>
> 26) Framework_Utils::test_valid_ip
> Data Provider method Framework_Utils::data_valid_ip() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:135
>
> 27) Framework_Utils::test_invalid_ip
> Data Provider method Framework_Utils::data_invalid_ip() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:143
>
> 28) Framework_Utils::test_rep_specialchars_output
> Data Provider method Framework_Utils::data_rep_specialchars_output() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:170
>
> 29) Framework_Utils::test_explode_style
> Data Provider method Framework_Utils::data_parse_css_block() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:396
>
> 30) Framework_Utils::test_idn_to_ascii
> Data Provider method Framework_Utils::data_idn_convert() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:745
>
> 31) Framework_Utils::test_idn_to_utf8
> Data Provider method Framework_Utils::data_idn_convert() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:757
>
> 32) Framework_Utils::test_parse_host
> Data Provider method Framework_Utils::data_parse_host() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:789
>
> 33) Framework_Utils::test_parse_host_uri
> Data Provider method Framework_Utils::data_parse_host_uri() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:818
>
> 34) Framework_Utils::test_remove_subject_prefix
> Data Provider method Framework_Utils::data_remove_subject_prefix() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Utils.php:844
>
> 35) Framework_Washtml::test_wash_svg_tests
> Data Provider method Framework_Washtml::data_wash_svg_tests() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Washtml.php:466
>
> 36) Framework_Washtml::test_wash_xss_tests
> Data Provider method Framework_Washtml::data_wash_xss_tests() is not static
>
> /<<PKGBUILDDIR>>/tests/Framework/Washtml.php:532
>
> 37) Rcmail_RcmailOutputHtml::test_conditions
> Data Provider method Rcmail_RcmailOutputHtml::data_conditions() is not static
>
> /<<PKGBUILDDIR>>/tests/Rcmail/OutputHtml.php:318
>
> 38) Rcmail_RcmailSendmail::test_email_input_format
> Data Provider method Rcmail_RcmailSendmail::data_email_input_format() is not static
>
> /<<PKGBUILDDIR>>/tests/Rcmail/Sendmail.php:154
>
> 39) Actions_Mail_Search::test_search_interval_criteria
> Data Provider method Actions_Mail_Search::data_search_interval_criteria() is not static
>
> /<<PKGBUILDDIR>>/tests/Actions/Mail/Search.php:181
>
> 40) Managesieve_Engine::test_strip_value
> Data Provider method Managesieve_Engine::data_strip_value() is not static
>
> /<<PKGBUILDDIR>>/plugins/managesieve/tests/Engine.php:70
>
> 41) Managesieve_Script::test_parser
> Data Provider method Managesieve_Script::data_parser() is not static
>
> /<<PKGBUILDDIR>>/plugins/managesieve/tests/Script.php:15
>
> 42) Managesieve_Script::test_tokenizer
> Data Provider method Managesieve_Script::data_tokenizer() is not static
>
> /<<PKGBUILDDIR>>/plugins/managesieve/tests/Script.php:80
>
> WARNINGS!
> Tests: 964, Assertions: 2454, Warnings: 42, Deprecations: 44, Incomplete: 87.
> make[1]: *** [debian/rules:105: override_dh_auto_test] Error 1
The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/roundcube/
A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html
--
Athos Ribeiro
More information about the Pkg-roundcube-maintainers
mailing list