]> 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>
Mon, 20 May 2024 03:58:03 +0000 (20:58 -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 514b90b800798fdf2e9cbd4e0bc437c11cc2cd67..b053393137ba83c315bac4a0e92e19bfd5f8cc91 100644 (file)
@@ -11,7 +11,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, libuser-perl,
+ libmail-rfc822-address-perl, libuser-perl, libmail-message-perl,
  libconfig-simple-perl, libtest-pod-perl, liblist-allutils-perl,
  libfile-libmagic-perl, libgravatar-url-perl, libwww-perl, imagemagick,
  libdbix-class-perl, libdatetime-format-pg-perl, libtest-postgresql-perl,