]> git.donarmstrong.com Git - debbugs.git/commitdiff
Add missing build dependency: libmail-message-perl
authorOtto Kekäläinen <otto@debian.org>
Sat, 18 May 2024 22:27:58 +0000 (15:27 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 7 Sep 2025 00:16:24 +0000 (17:16 -0700)
The post-build tests were failing on tens of errors like:

t/07_bugreport.t ..................... Can't locate Mail/Message/Field.pm in @INC (you may need to install the Mail::Message::Field module) (@INC entries checked: lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl .) at lib/Debbugs/MIME.pm line 57.
BEGIN failed--compilation aborted at lib/Debbugs/MIME.pm line 57.
Compilation failed in require at t/07_bugreport.t line 19.
BEGIN failed--compilation aborted at t/07_bugreport.t line 19.

Add the missing dependency to overcome this and get the tests passing.

Note that the tests still emit multiple times this warning which
warrants additional follow-up later:

t/07_bugreport.t ..................... 14/19
Text::Xslate: get_info_from_db not implemented without schema at lib/Debbugs/Package.pm line 196.
Debbugs::Package::_get_valid_version_info_from_db(Debbugs::Package={package=bar}) called at lib/Debbugs/Package.pm line 166
Debbugs::Package::_build_valid_version_info(Debbugs::Package={package=bar}) called at /usr/share/perl5/MouseX/NativeTraits/MethodProvider/ArrayRef.pm line 315
Debbugs::Package::_valid_version_info(Debbugs::Package={package=bar}) called at lib/Debbugs/Package.pm line 534
Debbugs::Package::source_names(Debbugs::Package={package=bar}) called at lib/Debbugs/Package.pm line 525
Debbugs::Package::_build_sources(Debbugs::Package={package=bar}) called at lib/Debbugs/Text.pm line 209
eval {...} called at lib/Debbugs/Text.pm line 209
Debbugs::Text::fill_in_template("template", "cgi/bugreport", "variables", HASH(0x559b9ebe1c10), "hole_var", HASH(0x559b9ebe2288)) called at ./cgi/bugreport.cgi line 403

debian/control

index b5e81a060e33b30a19fd587504d5fd738d4b062b..aaf6d8bb38a4272fd89cf625935346d6c39517ef 100644 (file)
@@ -13,7 +13,7 @@ Build-Depends-Indep: libparams-validate-perl,
  libmailtools-perl, libmime-tools-perl, libio-stringy-perl, libmldbm-perl,
  liburi-perl, libsoap-lite-perl, libcgi-simple-perl,
  libhttp-server-simple-perl, libtest-www-mechanize-perl,
- libmail-rfc822-address-perl, libsafe-hole-perl, libuser-perl,
+ libmail-rfc822-address-perl, libsafe-hole-perl, libuser-perl, libmail-message-perl,
  libconfig-simple-perl, libtest-pod-perl, liblist-allutils-perl,
  libmail-message-perl,
 # used by Debbugs::Libravatar and libravatar.cgi