From unknown Mon Jun 23 04:15:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21060: coreutils-8.24 - perl 5.22 warning on regular expression in "gmake check" output Resent-From: Peter Bray Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 15 Jul 2015 08:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21060 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 21060@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1436947152567 (code B ref -1); Wed, 15 Jul 2015 08:00:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jul 2015 07:59:12 +0000 Received: from localhost ([127.0.0.1]:49574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFHax-000093-13 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFHau-00008j-G6 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFHao-0003dK-3U for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHao-0003dG-07 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHam-0003nB-V1 for bug-coreutils@gnu.org; Wed, 15 Jul 2015 03:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFHai-0003b9-TU for bug-coreutils@gnu.org; Wed, 15 Jul 2015 03:59:00 -0400 Received: from nm23-vm1.bullet.mail.bf1.yahoo.com ([98.139.213.141]:60234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHai-0003ar-JV for bug-coreutils@gnu.org; Wed, 15 Jul 2015 03:58:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1436947136; bh=9xFejaCjB6EKY3RbA9Lx1XniPg1jKvUXDD+Pu60rnrw=; h=Date:From:To:Subject:From:Subject; b=ETXeLcYgCuraJm+vouS/Z6AJHvsh0IFH9AeRZYDQNXivTA9+dd/u6x/RJKEDK/O6osR7Zad6wO33M+TOGyW3Sr/edyObpJBLIjIlDng1+hIlH7mEn/Ft7P+IVksGxiS6kh8Ej+y4hakBuYwAZtVeFNZAGEdxH4yQOQ3Zb8Hketk3BfqnussurrvYwL8c0x7WKuTinz1LuyDktCkYHbEm9+IvL/MSsruRmwLBrfXq999aAf/DOF/5kAWcR95IRjn39KUF6jEb3UoSZ+UkUxcd3fIG8JG3xYiQ278Jm/+KyRZXJ7YmquMAGbwl3tb1jYjvLAz2le/pxv4A+Hl97U7iTw== Received: from [98.139.215.141] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 15 Jul 2015 07:58:56 -0000 Received: from [98.139.211.205] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 15 Jul 2015 07:58:56 -0000 Received: from [127.0.0.1] by smtp214.mail.bf1.yahoo.com with NNFMP; 15 Jul 2015 07:58:56 -0000 X-Yahoo-Newman-Id: 20664.51808.bm@smtp214.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ThgKu9wVM1kYX0aGdE1Sbsbq6qy2Km0Fi8DYYaiTsuDFG97 A4JUhC5SD_qR.2duEzXwUIFJoilshlvg6YKO_I_c4fQiN0S4Suctm0B_0LD9 EtwOwpQF7MVOn23iEU27TO7esvZeysEII0S_ZO70FqTDgx0npVENI0ZWhq9h aenVW2KFvnLYSk4RouauevaW.nB2regtPNEv.EVKGG_uP3fo0qQiVcinVAiT _uEs4vRU_pJ9SqDWQd6aGdajMhi2iJsKcwpsyyKw_v7MtoL.KniTHVIizJqm aSC0liMxC184mPXrvpcZrfZO777s5n9.hPOoA_0iiBwlIOvd0POG4.EfOgIo RmqPwZq4fEe8Iu4.S3j9wZLbsMxcD..0NotQ8HX66_9yOlwGdRyC1qLi4DsD MYCrc1J6RIEezdpKJ3JYj_YAj9S1.5_YbpL.43RSL_paST1643DIseY4_qZk _KxbOEMGFyWx24VxRES1MFoDDA8XmBQBaduCZTh4tLxBarUSX4dlGtE7wsgo cNuhqW6lDArhH1aLFvMtep_c02dmj X-Yahoo-SMTP: wy_7AdSswBBaijFlmVnVzTL.0g-- Message-ID: <55A612BC.5090402@yahoo.com.au> Date: Wed, 15 Jul 2015 17:58:52 +1000 From: Peter Bray User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Greetings, While trying to prepare another bug report, I discovered that perl-5.22 warnings of the form: Unescaped left brace in regexp is deprecated are present in the coreutils Makefile. The complete output is: gmake[4]: Leaving directory `/tmp/64-bit/coreutils-8.24' GEN check-README GEN check-duplicate-no-install GEN sc-avoid-builtin GEN sc-avoid-io GEN sc-avoid-non-zero GEN sc-avoid-path GEN sc-avoid-timezone GEN sc-avoid-zeroes GEN sc-exponent-grouping GEN sc-lower-case-var Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\@var{ <-- HERE / at -e line 1. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\@var{ <-- HERE (.+?)}/ at -e line 1. GEN check-texinfo gmake[3]: Leaving directory `/tmp/64-bit/coreutils-8.24' gmake[2]: Leaving directory `/tmp/64-bit/coreutils-8.24' gmake[1]: Leaving directory `/tmp/64-bit/coreutils-8.24' In "doc/local.mk", is the code fragment: 112 # The quantity inside @var{...} should not contain upper case letters. 113 # The leading backslash exemption is to permit in-macro uses like 114 # @var{\varName\} where the upper case letter is part of a parameter name. 115 find_upper_case_var = \ 116 '/\@var{/ or next; \ 117 while (/\@var{(.+?)}/g) \ 118 { \ 119 $$v = $$1; \ 120 $$v =~ /[A-Z]/ && $$v !~ /^\\/ and (print "$$ARGV:$$.:$$_"), $$m = 1 \ 121 } \ 122 END {$$m and (warn "$@: do not use upper case in \@var{...}\n"), exit 1}' 123 sc-lower-case-var: 124 $(AM_V_GEN)$(PERL) -e 1 || { echo $@: skipping test; exit 0; }; \ 125 $(PERL) -lne $(find_upper_case_var) $(texi_files) 126 127 check-local: check-texinfo There are two instances of this warning, which match the two instances in the code on line numbers 116 and 117 respectively. If the two instances of '{' are escaped with '\' in the actual Makefile, the warning is avoided. Again (see coreutils-BUG-21059) these systems do not have autotools, so the change has only been developed and tested on the generated Makefile, and not by changing "doc/local.mk". Regards, Peter Bray Sydney, Australia Backup : ./Makefile.orig Editted : ./Makefile Command : gdiff -u --- ./Makefile.orig 2015-07-15 07:02:26.181339000 +0000 +++ ./Makefile 2015-07-15 07:46:22.589468666 +0000 @@ -4984,8 +4984,8 @@ # The leading backslash exemption is to permit in-macro uses like # @var{\varName\} where the upper case letter is part of a parameter name. find_upper_case_var = \ - '/\@var{/ or next; \ - while (/\@var{(.+?)}/g) \ + '/\@var\{/ or next; \ + while (/\@var\{(.+?)}/g) \ { \ $$v = $$1; \ $$v =~ /[A-Z]/ && $$v !~ /^\\/ and (print "$$ARGV:$$.:$$_"), $$m = 1 \ From unknown Mon Jun 23 04:15:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Peter Bray Subject: bug#21060: closed (Re: bug#21060: coreutils-8.24 - perl 5.22 warning on regular expression in "gmake check" output) Message-ID: References: <55A63906.1030106@draigBrady.com> <55A612BC.5090402@yahoo.com.au> X-Gnu-PR-Message: they-closed 21060 X-Gnu-PR-Package: coreutils Reply-To: 21060@debbugs.gnu.org Date: Wed, 15 Jul 2015 10:43:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1436956982-16188-1" This is a multi-part message in MIME format... ------------=_1436956982-16188-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21060: coreutils-8.24 - perl 5.22 warning on regular expression in "gmake = check" output which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21060@debbugs.gnu.org. --=20 21060: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21060 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1436956982-16188-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21060-done) by debbugs.gnu.org; 15 Jul 2015 10:42:24 +0000 Received: from localhost ([127.0.0.1]:49626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFK8t-0004CI-V2 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 06:42:24 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:50548) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFK8r-0004C3-J9 for 21060-done@debbugs.gnu.org; Wed, 15 Jul 2015 06:42:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgdAMY4plVtTfsV/2dsb2JhbABbgkFSHzVpgUGBFbpvhXQBAgKBQkwBAQEBAQGBC0EBAgKDXgEBBDIBVgsNAQoJFg8JAwIBAgFFBgEMCAEBiC4BCL55kEUsi0yFDYQrAQSUPYRtj3yQGyaCPoE/PTIBgkkBAQE Received: from unknown (HELO localhost.localdomain) ([109.77.251.21]) by mail2.vodafone.ie with ESMTP; 15 Jul 2015 11:42:14 +0100 Message-ID: <55A63906.1030106@draigBrady.com> Date: Wed, 15 Jul 2015 11:42:14 +0100 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Peter Bray , 21060-done@debbugs.gnu.org Subject: Re: bug#21060: coreutils-8.24 - perl 5.22 warning on regular expression in "gmake check" output References: <55A612BC.5090402@yahoo.com.au> In-Reply-To: <55A612BC.5090402@yahoo.com.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21060-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 15/07/15 08:58, Peter Bray wrote: > Greetings, > > While trying to prepare another bug report, I discovered that > perl-5.22 warnings of the form: > > Unescaped left brace in regexp is deprecated Fixed with: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=a652e7b thanks, Pádraig. ------------=_1436956982-16188-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Jul 2015 07:59:12 +0000 Received: from localhost ([127.0.0.1]:49574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFHax-000093-13 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFHau-00008j-G6 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFHao-0003dK-3U for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHao-0003dG-07 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 03:59:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHam-0003nB-V1 for bug-coreutils@gnu.org; Wed, 15 Jul 2015 03:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFHai-0003b9-TU for bug-coreutils@gnu.org; Wed, 15 Jul 2015 03:59:00 -0400 Received: from nm23-vm1.bullet.mail.bf1.yahoo.com ([98.139.213.141]:60234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHai-0003ar-JV for bug-coreutils@gnu.org; Wed, 15 Jul 2015 03:58:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1436947136; bh=9xFejaCjB6EKY3RbA9Lx1XniPg1jKvUXDD+Pu60rnrw=; h=Date:From:To:Subject:From:Subject; b=ETXeLcYgCuraJm+vouS/Z6AJHvsh0IFH9AeRZYDQNXivTA9+dd/u6x/RJKEDK/O6osR7Zad6wO33M+TOGyW3Sr/edyObpJBLIjIlDng1+hIlH7mEn/Ft7P+IVksGxiS6kh8Ej+y4hakBuYwAZtVeFNZAGEdxH4yQOQ3Zb8Hketk3BfqnussurrvYwL8c0x7WKuTinz1LuyDktCkYHbEm9+IvL/MSsruRmwLBrfXq999aAf/DOF/5kAWcR95IRjn39KUF6jEb3UoSZ+UkUxcd3fIG8JG3xYiQ278Jm/+KyRZXJ7YmquMAGbwl3tb1jYjvLAz2le/pxv4A+Hl97U7iTw== Received: from [98.139.215.141] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 15 Jul 2015 07:58:56 -0000 Received: from [98.139.211.205] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 15 Jul 2015 07:58:56 -0000 Received: from [127.0.0.1] by smtp214.mail.bf1.yahoo.com with NNFMP; 15 Jul 2015 07:58:56 -0000 X-Yahoo-Newman-Id: 20664.51808.bm@smtp214.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ThgKu9wVM1kYX0aGdE1Sbsbq6qy2Km0Fi8DYYaiTsuDFG97 A4JUhC5SD_qR.2duEzXwUIFJoilshlvg6YKO_I_c4fQiN0S4Suctm0B_0LD9 EtwOwpQF7MVOn23iEU27TO7esvZeysEII0S_ZO70FqTDgx0npVENI0ZWhq9h aenVW2KFvnLYSk4RouauevaW.nB2regtPNEv.EVKGG_uP3fo0qQiVcinVAiT _uEs4vRU_pJ9SqDWQd6aGdajMhi2iJsKcwpsyyKw_v7MtoL.KniTHVIizJqm aSC0liMxC184mPXrvpcZrfZO777s5n9.hPOoA_0iiBwlIOvd0POG4.EfOgIo RmqPwZq4fEe8Iu4.S3j9wZLbsMxcD..0NotQ8HX66_9yOlwGdRyC1qLi4DsD MYCrc1J6RIEezdpKJ3JYj_YAj9S1.5_YbpL.43RSL_paST1643DIseY4_qZk _KxbOEMGFyWx24VxRES1MFoDDA8XmBQBaduCZTh4tLxBarUSX4dlGtE7wsgo cNuhqW6lDArhH1aLFvMtep_c02dmj X-Yahoo-SMTP: wy_7AdSswBBaijFlmVnVzTL.0g-- Message-ID: <55A612BC.5090402@yahoo.com.au> Date: Wed, 15 Jul 2015 17:58:52 +1000 From: Peter Bray User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: coreutils-8.24 - perl 5.22 warning on regular expression in "gmake check" output Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Greetings, While trying to prepare another bug report, I discovered that perl-5.22 warnings of the form: Unescaped left brace in regexp is deprecated are present in the coreutils Makefile. The complete output is: gmake[4]: Leaving directory `/tmp/64-bit/coreutils-8.24' GEN check-README GEN check-duplicate-no-install GEN sc-avoid-builtin GEN sc-avoid-io GEN sc-avoid-non-zero GEN sc-avoid-path GEN sc-avoid-timezone GEN sc-avoid-zeroes GEN sc-exponent-grouping GEN sc-lower-case-var Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\@var{ <-- HERE / at -e line 1. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\@var{ <-- HERE (.+?)}/ at -e line 1. GEN check-texinfo gmake[3]: Leaving directory `/tmp/64-bit/coreutils-8.24' gmake[2]: Leaving directory `/tmp/64-bit/coreutils-8.24' gmake[1]: Leaving directory `/tmp/64-bit/coreutils-8.24' In "doc/local.mk", is the code fragment: 112 # The quantity inside @var{...} should not contain upper case letters. 113 # The leading backslash exemption is to permit in-macro uses like 114 # @var{\varName\} where the upper case letter is part of a parameter name. 115 find_upper_case_var = \ 116 '/\@var{/ or next; \ 117 while (/\@var{(.+?)}/g) \ 118 { \ 119 $$v = $$1; \ 120 $$v =~ /[A-Z]/ && $$v !~ /^\\/ and (print "$$ARGV:$$.:$$_"), $$m = 1 \ 121 } \ 122 END {$$m and (warn "$@: do not use upper case in \@var{...}\n"), exit 1}' 123 sc-lower-case-var: 124 $(AM_V_GEN)$(PERL) -e 1 || { echo $@: skipping test; exit 0; }; \ 125 $(PERL) -lne $(find_upper_case_var) $(texi_files) 126 127 check-local: check-texinfo There are two instances of this warning, which match the two instances in the code on line numbers 116 and 117 respectively. If the two instances of '{' are escaped with '\' in the actual Makefile, the warning is avoided. Again (see coreutils-BUG-21059) these systems do not have autotools, so the change has only been developed and tested on the generated Makefile, and not by changing "doc/local.mk". Regards, Peter Bray Sydney, Australia Backup : ./Makefile.orig Editted : ./Makefile Command : gdiff -u --- ./Makefile.orig 2015-07-15 07:02:26.181339000 +0000 +++ ./Makefile 2015-07-15 07:46:22.589468666 +0000 @@ -4984,8 +4984,8 @@ # The leading backslash exemption is to permit in-macro uses like # @var{\varName\} where the upper case letter is part of a parameter name. find_upper_case_var = \ - '/\@var{/ or next; \ - while (/\@var{(.+?)}/g) \ + '/\@var\{/ or next; \ + while (/\@var\{(.+?)}/g) \ { \ $$v = $$1; \ $$v =~ /[A-Z]/ && $$v !~ /^\\/ and (print "$$ARGV:$$.:$$_"), $$m = 1 \ ------------=_1436956982-16188-1--