FS#46057 - [logwatch] generates "Unescaped left brace in regex is deprecated" warnings under perl-5.22

Attached to Project: Community Packages
Opened by Mark Grimes (mgrimes) - Friday, 21 August 2015, 15:43 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 09 March 2016, 18:37 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Logwatch uses perl regexes which do not escape curly braces. In Perl 5.22, unescaped left curly braces in a regex are deprecated and will generate a warning. This issue has been reported upstream:

https://sourceforge.net/p/logwatch/mailman/message/34334890/
https://sourceforge.net/p/logwatch/patches/42/

While this should be corrected upstream, few of their users would seem to be on Perl 5.22 yet. This project is also slow to make new releases (last was nearly a year ago).

Additional info:
* package version(s): 7.4.1


Steps to reproduce:

$ sudo logwatch --range yesterday

This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 09 March 2016, 18:37 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Tuesday, 08 September 2015, 04:43 GMT
harmless warnings hardly seem to justify patching.
Comment by Mark Grimes (mgrimes) - Tuesday, 08 September 2015, 13:04 GMT
The warnings end up in the generated report, making the it unusable.

Loading...