Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 594168 - sys-apps/logwatch-7.4.0_p170-r1 - /usr/share/logwatch/scripts/services/amavis - "Unescaped left brace in regex is deprecated" after upgrade to dev-lang/perl-5.22.2
Summary: sys-apps/logwatch-7.4.0_p170-r1 - /usr/share/logwatch/scripts/services/amavis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 597828
Blocks:
  Show dependency tree
 
Reported: 2016-09-18 07:37 UTC by Dan Johansson
Modified: 2016-11-15 15:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Johansson 2016-09-18 07:37:44 UTC
After upgrading to dev-lang/perl-5.22.2 (from 5.20.2) I have start getting the following message from logwatch on every run:

 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\)|BAD-HEADER(?:-\d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: { <-- HERE [^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/ at /usr/share/logwatch/scripts/services/amavis line 2279.

This is happening on all of my "stable" amd64 boxes.

-- 
Dan
Comment 1 Sylvain CANOINE 2016-09-21 09:17:01 UTC
Same problem here. On two hardened amd64 boxes.

The problem is known on other distros, and some patches seem to exist :
https://bugs.archlinux.org/task/46222
Comment 2 Jan Oppolzer 2016-10-04 09:02:48 UTC
Same problem here. Upgrading to sys-apps/logwatch-7.4.2 solved the problem.
Comment 3 Nick Soveiko 2016-10-17 23:39:36 UTC
same thing. can confirm this in sys-apps/logwatch-7.4.0_p170-r on x86 and amd64. sys-apps/logwatch-7.4.3 works fine. can 7.4.3 be stabilized please?