Bug#895157: libterm-readline-gnu-perl: warning message when $TERM is unset

Steve Langasek steve.langasek at canonical.com
Sat Apr 7 22:16:04 BST 2018


Package: libterm-readline-gnu-perl
Version: 1.35-2
Severity: minor
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic

Dear maintainers,

With the fix for bug #166987 in libterm-readline-gnu-perl 1.35-2, the
shelldap autopkgtest now fails with a warning message on stderr:

[...]
autopkgtest [19:56:24]: test smoke-test: [-----------------------
TESTING: shelldap --version
Use of uninitialized value $ENV{"TERM"} in pattern match (m//) at /usr/lib/x86_64-linux-gnu/perl5/5.26/Term/ReadLine/Gnu.pm line 86.
autopkgtest [19:56:25]: test smoke-test: -----------------------]
autopkgtest [19:56:25]: test smoke-test:  - - - - - - - - - - results - - - - - - - - - -
smoke-test           FAIL stderr: Use of uninitialized value $ENV{"TERM"} in pattern match (m//) at /usr/lib/x86_64-linux-gnu/perl5/5.26/Term/ReadLine/Gnu.pm line 86.
[...]

  https://ci.debian.net/packages/s/shelldap/unstable/amd64/

shelldap also needs a fix to its autopkgtest regardless because of its own
output on stderr when libterm-readline-gnu-perl is unavailable, which I've
filed as bug #895155; but I think libterm-readline-gnu-perl itself should be
fixed to not spew warnings when $TERM is unset, but instead explicitly croak
on missing $ENV{"TERM"}.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20180407/03a63390/attachment.sig>


More information about the pkg-perl-maintainers mailing list