Bug 1389780 - 'Unescaped left brace ' warnings in Lib.pm
Summary: 'Unescaped left brace ' warnings in Lib.pm
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: BackupPC
Version: 24
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-28 15:09 UTC by Dominique Brazziel
Modified: 2017-04-27 19:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-27 19:10:03 UTC
Type: Bug


Attachments (Terms of Use)

Description Dominique Brazziel 2016-10-28 15:09:25 UTC
Description of problem:
Warning messages in log 'Unescaped left brace' in Lib.pm at lines 1268 and 1273. 

Version-Release number of selected component (if applicable):


How reproducible:
Warnings reappeared after 'pcre' package was upgraded.

Steps to Reproduce:
1. Upgrade pcre to latest version
2. Select log from the BackupPC menu
3.

Actual results:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}(\+?)/ at /usr/share/BackupPC/lib/BackupPC/Lib.pm line 1268.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(.*)\${ <-- HERE (\w+)}(\+?)(.*)/ at /usr/share/BackupPC/lib/BackupPC/Lib.pm line 1273.

Expected results:
No warning messages

Additional info:

Comment 1 Gabriele Pohl 2016-10-31 15:16:23 UTC
same error here with BackupPC-3.3.1-6.fc24.x86_64

Comment 2 Dominique Brazziel 2016-12-09 15:26:15 UTC
Still happening with Fedora release 25:

Name        : BackupPC
Version     : 3.3.1
Release     : 6.fc25

Comment 3 Richard Shaw 2017-04-05 12:47:38 UTC
I can fix this but I don't think there will be many "fresh" installs of BackupPC on F24 or F25 at this point. I have built 4.1.1 for rawhide and F26 and submitted an update. 

I'm also supporting 4.1.1 on F25 through COPR[1]

If you choose to update there is manual intervention required because the ssh and rsync settings were split up so my recommendation is to adopt config.pl.rpmnew and diff your old config.pl and migrate your customizations over.

[1] https://copr.fedorainfracloud.org/coprs/hobbes1069/BackupPC/


Note You need to log in before you can comment on or make changes to this bug.