Greetings. I've received this report from the Debian bug system.
Fortunately, it has been easy to diagnose and fix: New perl (5.22) makes test-update-copyright.sh to give a deprecation warning because there are unescaped braces in build-aux/update-copyright. The warning message makes the test to fail, which in turn makes the Debian package build to fail. The attached patch seems to fix this. Thanks. ----- Forwarded message from Chris Lamb <la...@debian.org> ----- Date: Thu, 24 Dec 2015 11:56:05 +0000 From: Chris Lamb <la...@debian.org> To: sub...@bugs.debian.org Subject: Bug#808917: m4: FTBFS: FAIL: test-update-copyright.sh Source: m4 Version: 1.4.17-4 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Dear Maintainer, m4 fails to build from source in unstable/amd64: [..] PASS: test-unistd PASS: test-unsetenv FAIL: test-update-copyright.sh [...]
Description: build-aux/update-copyright: Add escapes for braces in perl regex Author: Santiago Vila <sanv...@debian.org> Bug-Debian: https://bugs.debian.org/808917 --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -124,7 +124,7 @@ use warnings; my $copyright_re = 'Copyright'; -my $circle_c_re = '(?:\([cC]\)|@copyright{}|©)'; +my $circle_c_re = '(?:\([cC]\)|@copyright\{\}|©)'; my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER}; $holder ||= 'Free Software Foundation, Inc.'; my $prefix_max = 5;