Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#790727: libmail-sender-perl: "defined(@array) is deprecated"

32 views
Skip to first unread message

Denny Fuchs

unread,
Jul 1, 2015, 4:40:03 AM7/1/15
to
Package: libmail-sender-perl
Version: 0.8.16-2
Severity: normal

Dear Maintainer,

* What led up to the situation?

For Fai I use that script
http://wiki.fai-project.org/wiki/Generate_random_root_password_during_installation,_encrypt_and_send_by_mail
to generate random passwords and send it to me.

* What was the outcome of this action?

Executing the script shows the following message:
======================================================================

defined(@array) is deprecated at /usr/share/perl5/Mail/Sender.pm line
318.
(Maybe you should just omit the defined()?)
Possible precedence issue with control flow operator at
/usr/share/perl5/Mail/Sender.pm line 2548.
defined(@array) is deprecated at /usr/share/perl5/Mail/Sender.pm
line 2693.
(Maybe you should just omit the defined()?)
======================================================================

* What outcome did you expect instead?
none deprecated message.

That message should be fixed in newer versions from Mail::Sender

-- System Information:
Debian Release: 8.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Niko Tyni

unread,
Jan 7, 2016, 8:10:04 AM1/7/16
to
severity 790727 serious
tags 790727 stretch sid
user debia...@lists.debian.org
usertags 790727 perl-5.22-transition

On Wed, Jul 01, 2015 at 10:22:00AM +0200, Denny Fuchs wrote:
> Package: libmail-sender-perl
> Version: 0.8.16-2
> Severity: normal

> defined(@array) is deprecated at /usr/share/perl5/Mail/Sender.pm line
> 318.

Perl 5.22 removed support for this deprecated syntax, so this package
now fails to build from source because of test failures. Upgrading
severity.

(It's in non-free, which is presumably why our test rebuilds missed it.)
--
Niko Tyni nt...@debian.org
0 new messages