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
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
|
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
Comment by Doug Newgard (Scimmia) -
Tuesday, 08 September 2015, 04:43 GMT
Comment by Mark Grimes (mgrimes) -
Tuesday, 08 September 2015, 13:04 GMT
harmless warnings hardly seem to justify patching.
The warnings end up in the generated report, making the it
unusable.