On Wed, May 15, 2019 at 14:09:48 -0600, Charles Curley wrote:
> >
> > > One more, while we're at it....
> > >
> > >
> > > libencode-locale-perl
> >
> > That one doesn't seem to be a dependency of the Debian packages. Do
> > you remember what broke when you didn't haae it installed?
>
> It appears to be used in 816 places....
>
> charles@amanda:~/amanda$ find -type f | xargs grep encode | grep locale
> | wc -l 816
>
>
> Both were called from amlabel.
Actually libencode-locale-perl includes the Encode::Locale package:
=====
nathanst@tumhalad:~$ dpkg --listfiles libencode-locale-perl
/.
/usr
/usr/share
/usr/share/perl5
/usr/share/perl5/Encode
/usr/share/perl5/Encode/Locale.pm
[...]
=====
so what we really care about which programs use that package:
=====
nathanst@tumhalad:~/src/amanda/amanda_3.5.1-4_WIP_4/amanda-3.5.1$ grep "use
Encode" -r debian/*
debian/amanda-common/usr/lib/amanda/rest-server/lib/Amanda/Rest.pm:use
Encode::Locale;
debian/amanda-common/usr/lib/amanda/rest-server/lib/Amanda/Rest.pm:use Encode;
debian/amanda-common/usr/lib/amanda/rest-server/bin/app.pl:use Encode::Locale;
debian/amanda-common/usr/lib/amanda/rest-server/bin/app.pl:use Encode;
debian/amanda-common/usr/lib/x86_64-linux-gnu/amanda/perl/Amanda/Message.pm:use
Encode::Locale;
debian/amanda-common/usr/lib/x86_64-linux-gnu/amanda/perl/Amanda/Message.pm:use
Encode;
debian/tmp/usr/lib/amanda/rest-server/lib/Amanda/Rest.pm:use Encode::Locale;
debian/tmp/usr/lib/amanda/rest-server/lib/Amanda/Rest.pm:use Encode;
debian/tmp/usr/lib/amanda/rest-server/bin/app.pl:use Encode::Locale;
debian/tmp/usr/lib/amanda/rest-server/bin/app.pl:use Encode;
debian/tmp/usr/lib/x86_64-linux-gnu/amanda/perl/Amanda/Message.pm:use
Encode::Locale;
debian/tmp/usr/lib/x86_64-linux-gnu/amanda/perl/Amanda/Message.pm:use Encode;
=====
(That's the build tree for the official Debian 3.5.1 package.
Message.pm is called from Label.pm, so that explains why amlabel needed
it.)
So it looks like all uses are found in the amanda-common package... but
in fact that package doesn't have libencode-locale-perl listed as a
dependency. (I guess the depenency is new after Amanda 3.3. which
explains why it hasn't been a problem in earlier versions of the
packaging.)
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - [email protected] - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239