Created attachment 446216 [details, diff] 04-perl-522-unescaped-regex.patch Two errors are generated when running the hourly backuppc cron job after upgrading perl to version 5.22. Cron Job command: su backuppc -s /bin/sh -c "/usr/bin/BackupPC_sendEmail -u backupuser -c" Errors: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}(\+?)/ at /usr/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/lib/BackupPC/Lib.pm line 1273. Debian and Ubuntu bug reports https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820110 https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1570987 Patches for backuppc-3.3.0-r2.ebuild and Lib.pm are attached.
Created attachment 446218 [details, diff] backuppc-3.3.0-r2.ebuild.patch
Hello, Unfortunately app-backup/backuppc has been without a maintainer for quite a while now. Would you perhaps be interested in becoming its proxied maintainer? You would then be the person responsible for this package, with someone from our dedicated team [1] committing your work to Portage for you. [1] https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[master d53e5b6] app-backup/backuppc: Fix perl-5.22 compat (#580254 by Till Korten) 2 files changed, 213 insertions(+) create mode 100644 app-backup/backuppc/backuppc-3.3.1-r3.ebuild create mode 100644 app-backup/backuppc/files/backuppc-3.3.1-perl522.patch
I am a bit confused now. This issue has been as resolved, yet I am still experiencing the thrown warnings with backuppc-3.3.1-r3 As far as I can say, the attached patch 04-perl-522-unescaped-regex.patch is not present in the portage tree. The patch backuppc-3.3.1-perl522.patch seems to address something different. I can confirm that applying 04-perl-522-unescaped-regex.patch fixes the issue for me. Same issue in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1570987
Indeed, this is now not only a warning, but a fatal error on Perl 5.26 >>> Preparing source in /var/tmp/portage/app-backup/backuppc-3.3.1-r4/work/BackupPC-3.3.1 ... * Applying 01-fix-configure.pl.patch ... [ ok ] * Applying 02-fix-config.pl-formatting.patch ... [ ok ] * Applying 03-reasonable-config.pl-defaults.patch ... [ ok ] * Applying 04-add-docdir-marker.patch ... [ ok ] * Applying 05-nicelevel.patch ... [ ok ] * Applying backuppc-3.3.1-perl522.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-backup/backuppc-3.3.1-r4/work/BackupPC-3.3.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-backup/backuppc-3.3.1-r4/work/BackupPC-3.3.1 ... >>> Source compiled. >>> Test phase: app-backup/backuppc-3.3.1-r4 >>> Completed testing app-backup/backuppc-3.3.1-r4 >>> Install backuppc-3.3.1-r4 into /var/tmp/portage/app-backup/backuppc-3.3.1-r4/image/ category app-backup Error loading BackupPC::Lib: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}(\+?)/ at lib/BackupPC/Lib.pm line 1268. Compilation failed in require at (eval 19) line 1. BEGIN failed--compilation aborted at (eval 19) line 1. BackupPC cannot load the package BackupPC::Lib, which is included in the BackupPC distribution. This probably means you did not cd to the unpacked BackupPC distribution before running configure.pl, eg: cd BackupPC-3.3.1 ./configure.pl Please try again.
This is fixed in app-backup/backuppc-3.3.1-r5
that revision is being stabilized in bug 627388