← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1726879] Re: Unescaped left brace in regex is deprecated

 

This bug was fixed in the package spamassassin - 3.4.1-7ubuntu1

---------------
spamassassin (3.4.1-7ubuntu1) artful; urgency=medium

  * Apply upstream patch to fix regex error leading to warnings in
    perl 5.26+ (Closes: 869408) (LP: #1726879)

 -- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx>  Tue, 23 Jan
2018 17:00:08 +0100

** Changed in: spamassassin (Ubuntu Artful)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1726879

Title:
  Unescaped left brace in regex is deprecated

Status in spamassassin package in Ubuntu:
  Fix Released
Status in spamassassin source package in Trusty:
  Invalid
Status in spamassassin source package in Xenial:
  Invalid
Status in spamassassin source package in Artful:
  Fix Released
Status in spamassassin package in Debian:
  Fix Released

Bug description:
  [Impact]

   * Perl version in Artful complains about deprecated regex usage in 
     spamassassin. This works but floods consoles and status mails.

   * Fix is a backport of the small upstream change

  [Test Case]

   * simply run sa-learn in any way, for example
       $ sa-learn --help
     In unfixed versions you'll see the following all over the place (also 
     on install and in status mails)

       Unescaped left brace in regex is deprecated here (and will be fatal 
       in Perl 5.30), passed through in regex; marked by <-- HERE in m/^(.{ 
       <-- HERE ,200}).*$/ at 
       /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 923.

   * these should allow someone who is not familiar with the affected
     package to reproduce the bug and verify that the updated package fixes
     the problem.

  [Regression Potential]

   * sa-learn worked in some tests, but there could be unexpected 
     cases where this breaks by very slight behavior changes.
     OTOH the change is upstream a while now, so the chance it
     really broke anything is low.
     Also the change is essentially 1 chomp moved and 3 pattern matches 
     adapted to new syntax - so the amount that slips our review thoughts 
     should be low.

  [Other Info]
   
   * n/a

  ---

  When using sa-learn, you receive this notification:

  Unescaped left brace in regex is deprecated here (and will be fatal in
  Perl 5.30), passed through in regex; marked by <-- HERE in m/^(.{ <--
  HERE ,200}).*$/ at /usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm
  line 923.

  Bug similar to:
  https://bugs.archlinux.org/task/54378

  Upstream patch to fix the issue:
  https://github.com/apache/spamassassin/commit/edb00a8d76a625bf03227ee2f6e915c9a0d90bad.patch

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: spamassassin 3.4.1-7
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia wl
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Tue Oct 24 16:03:14 2017
  InstallationDate: Installed on 2012-03-01 (2062 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  PackageArchitecture: all
  SourcePackage: spamassassin
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.spamassassin.init.pre: [modified]
  modified.conffile..etc.spamassassin.v310.pre: [modified]
  modified.conffile..etc.spamassassin.v312.pre: [modified]
  modified.conffile..etc.spamassassin.v330.pre: [modified]
  modified.conffile..etc.spamassassin.v340.pre: [modified]
  modified.conffile..etc.spamassassin.v341.pre: [modified]
  mtime.conffile..etc.default.spamassassin: 2017-08-07T14:05:53.351115
  mtime.conffile..etc.spamassassin.init.pre: 2012-03-03T17:13:34.827338
  mtime.conffile..etc.spamassassin.v310.pre: 2012-03-03T17:16:33.359340
  mtime.conffile..etc.spamassassin.v312.pre: 2012-03-03T17:17:26.667341
  mtime.conffile..etc.spamassassin.v330.pre: 2012-03-03T17:17:53.215342
  mtime.conffile..etc.spamassassin.v340.pre: 2014-07-10T16:07:25.307684
  mtime.conffile..etc.spamassassin.v341.pre: 2016-11-12T12:43:21.082704

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1726879/+subscriptions