[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#971721: mime-support: missing dependency on perl



Package: mime-support
Version: 3.64
Severity: serious

On Mon, Oct 05, 2020 at 09:09:01AM +0200, Adam Borowski wrote:
> On Mon, Oct 05, 2020 at 01:52:19PM +1000, Jai Flack wrote:
> > Forgive me if this is an ignorant question but isn't mailcap missing
> > dependencies? If I build, then install all three and then ask apt about
> > mailcap's dependencies it gives:
> 
> [...]
> 
> > But the script it installs clearly depends on Perl:
> > 
> > #! /usr/bin/perl
> 
> > Is this an exception because Perl is part of the base system and assumed
> > to always be installed?
> 
> perl-base is essential.

Indeed.

However, the script in question (/usr/bin/run-mailcap) uses modules not
shipped in perl-base.

  use Encode qw(decode);
  use I18N::Langinfo qw(langinfo CODESET);

So yes, the mime-support package in sid is missing a dependency on perl.
This seems to have regressed in 3.55 with the fix for #682900.

Filing a bug about this, thanks for noticing.
-- 
Niko Tyni   ntyni@debian.org


Reply to: