Your message dated Fri, 16 Dec 2016 10:19:14 +0000 with message-id <[email protected]> and subject line Bug#847219: fixed in libemail-sender-perl 1.300030-2 has caused the Debian Bug report #847219, regarding Argument "3.08_01" isn't numeric in numeric lt (<) at /usr/share/perl5/Email/Sender/Transport/SMTP.pm line 266. to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 847219: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847219 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libemail-sender-perl Version: 1.300030-1 Severity: normal File: /usr/share/perl5/Email/Sender/Transport/SMTP.pm Tags: patch upstream Trying to send mail using SMTP transport of Email::Sender::Simple leads to the following warning: Argument "3.08_01" isn't numeric in numeric lt (<) at /usr/share/perl5/Email/Sender/Transport/SMTP.pm line 266. Line 266 contains the following: utf8::downgrade($next_hunk) if (Net::SMTP->VERSION || 0) < 3.07; And Net::SMTP's version is: our $VERSION = "3.08_01"; (coming from perl-modules-5.24) Test case (will probably make the local smtp server err): use strict; use warnings; use Email::Sender::Simple qw(sendmail); use Email::Sender::Transport::SMTP; use Email::Simple; sendmail( Email::Simple->create( header => [ From => "test\@localhost", To => "test\@localhost", Subject => "test", "Content-Type" => "text/plain", ], body => "This is a test", ), { transport => Email::Sender::Transport::SMTP->new({ host => "localhost", port => 25, }), } ); Proposed patch: ------------------------------- --- a/lib/Email/Sender/Transport/SMTP.pm +++ b/lib/Email/Sender/Transport/SMTP.pm @@ -11,6 +11,7 @@ use MooX::Types::MooseLike::Base qw(Bool use Net::SMTP 3.07; # SSL support, fixed datasend use utf8 (); # See below. -- rjbs, 2015-05-14 +use version (); #pod =head1 DESCRIPTION #pod @@ -263,7 +264,8 @@ sub send_email { # the mock from ->new. We don't want to create a new SMTP just to get the # version, and we can't rely on $smtp being a Net::SMTP object. # -- rjbs, 2015-08-10 - utf8::downgrade($next_hunk) if (Net::SMTP->VERSION || 0) < 3.07; + utf8::downgrade($next_hunk) + if version->parse( Net::SMTP->VERSION || 0 ) < 3.07; $smtp->datasend($next_hunk) or $FAULT->("error at during DATA"); } ------------------------------------------ If there are no objections, I'll proceed with fixing the package and forwarding this upstream. -- dam -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libemail-sender-perl depends on: ii libcapture-tiny-perl 0.44-1 ii libemail-abstract-perl 3.008-1 ii libemail-address-perl 1.908-1 ii libemail-simple-perl 2.210-1 ii libmodule-runtime-perl 0.014-2 ii libmoo-perl 2.002005-1 ii libmoox-types-mooselike-perl 0.29-1 ii libscalar-list-utils-perl 1:1.46-1 ii libsub-exporter-perl 0.986-1 ii libthrowable-perl 0.200013-1 ii libtry-tiny-perl 0.27-1 ii perl 5.24.1~rc4-1 ii perl-base [libscalar-list-utils-perl] 5.24.1~rc4-1 Versions of packages libemail-sender-perl recommends: ii libauthen-sasl-perl 2.1600-1 libemail-sender-perl suggests no packages. -- debconf-show failed
--- End Message ---
--- Begin Message ---Source: libemail-sender-perl Source-Version: 1.300030-2 We believe that the bug you reported is fixed in the latest version of libemail-sender-perl, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Damyan Ivanov <[email protected]> (supplier of updated libemail-sender-perl package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 16 Dec 2016 10:03:05 +0000 Source: libemail-sender-perl Binary: libemail-sender-perl Architecture: source Version: 1.300030-2 Distribution: unstable Urgency: medium Maintainer: Debian Perl Group <[email protected]> Changed-By: Damyan Ivanov <[email protected]> Closes: 847219 Description: libemail-sender-perl - Perl module for sending email Changes: libemail-sender-perl (1.300030-2) unstable; urgency=medium . * Avoid warning in Email::Sender::Transport::SMTP when parsing the version of Net::SMTP (Closes: #847219) * Add myself to Uploaders Checksums-Sha1: 61acc4721c816297554ddb9ff86e087fb591cb40 2630 libemail-sender-perl_1.300030-2.dsc 142fd4e959a2ad3c9e8da4e8f2c9f3350c8749de 5424 libemail-sender-perl_1.300030-2.debian.tar.xz Checksums-Sha256: eac08f0ca9ddf9819fc7a39d2442bf8a947dadc5b2d998cacfc8ac590555f0d9 2630 libemail-sender-perl_1.300030-2.dsc d88aafcb3e2a76251a66947352a7454588be761e9b17d938162e905bd8dccb10 5424 libemail-sender-perl_1.300030-2.debian.tar.xz Files: bd5d85d3a924b15396f538cc345d1e5d 2630 perl optional libemail-sender-perl_1.300030-2.dsc e08264ee0cd3c27618fd83bf6e3ae9e2 5424 perl optional libemail-sender-perl_1.300030-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEErqDETssFbpNjDZ0z276dTZnSoAQFAlhTvOYACgkQ276dTZnS oAQCkw/8C6ykLDaBkuZScE4biRr541EA3UGU7pRCIuFqABrdn5ReI6kY05Vt459n bk4TzDaVRsttucu9P5//TGtlYp6ZPQq2qHtyiGvl4jHqAG+iu39GpbQqpJCWzBEl TSgiSGyoWe3383nZBlaUeDhd2dsZiBLCwJwaFslopx1eLjHUq1KT+PFeE/4pS/DZ rTbxeFz5fvF5EzY9PUUJDng0A0R68fd3QhHDYKF4kvt/ARdPexVFeslZN3ouf+re cHfFn7+o41e+8fc4NNqFn2iRePaEJzJIkxLWC+VqGAibuDalv9QRuynvMGaltfR1 TSOJbzroNl5pQ1VXHtSt2o2bitYDWESwaxHUO9ECKGTAwE2aBs9LAbEeYE34iuN9 nzs4PNslwD5oI8xyjCHLfkBqD5P6f5Y+nEEZzdc6mV8Zxm7WB+IEvzxN9Ss80jfg fbKd25ahzXqL7IFb3r5iPucnv6mDpMtoGm9yvZnjHQ6LryNVdzwn9sooi+YUuQsX uqEN8a//YjNH5yfZ6V2v0ZXQcmpgoDuRgGl/0HEra4j/w/oTTOkhjvet8/IHuxmr OBSLrHuoNYGuJddV+VUiLDBrZ+Jf5DdOw9fUPiDXUiR5fR/cGuxZU5jg+qNSNC/3 ci8wOO+Un/88DPH94WbcZfNv2t0vFUlShsv67AXkB8/ua135iYQ= =rzwa -----END PGP SIGNATURE-----
--- End Message ---

