Bug#724532: libterm-ui-perl: Programs using -w and Term::UI throw "Log::Message will be removed from the Perl core distribution in the next major release" warning

Axel Beckert abe at debian.org
Tue Sep 24 19:49:02 UTC 2013


Package: libterm-ui-perl
Severity: important
Version: 0.36-1

Hi,

on Sid amd64, bin/xen-create-image from xen-tools (current git checkout)
throws messages like the following on loading Term::UI:

Log::Message::Simple will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-simple-perl package. It is being used at (eval 34), line 2.

Actually syntax-checking already suffices:

→ perl -Ilib -c bin/xen-create-image
Log::Message::Simple will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-simple-perl package. It is being used at (eval 34), line 2.
Log::Message will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message/Simple.pm, line 5.
Log::Message::Item will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message.pm, line 7.
Log::Message::Handlers will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message/Item.pm, line 7.
Log::Message::Config will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message.pm, line 8.
bin/xen-create-image syntax OK

As soon as I comment out "use Term::UI", the messages vanishes:

→ perl -Ilib -c bin/xen-create-image
bin/xen-create-image syntax OK

Minimum code to reproduce the issue:

→ perl -w -MTerm::UI -e '1'
Log::Message::Simple will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-simple-perl package. It is being used at (eval 4), line 2.
Log::Message will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message/Simple.pm, line 5.
Log::Message::Item will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message.pm, line 7.
Log::Message::Handlers will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message/Item.pm, line 7.
Log::Message::Config will be removed from the Perl core distribution in the next major release. Please install the separate liblog-message-perl package. It is being used at /usr/share/perl/5.18/Log/Message.pm, line 8.

Installing liblog-message-simple-perl (only installing
liblog-message-perl does not suffice) makes most of the messages
vanishing, too.

So I suggest to add the following dependency to libterm-ui-perl:

Depends: liblog-message-simple-perl | perl (<< 5.17)



More information about the pkg-perl-maintainers mailing list