From unknown Sat Aug 16 22:46:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21114: [PATCH 1/4] Fix the rule to check for new signals and errors Resent-From: David Michael Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 22 Jul 2015 16:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21114 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch To: 21114@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14375837188881 (code B ref -1); Wed, 22 Jul 2015 16:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jul 2015 16:48:38 +0000 Received: from localhost ([127.0.0.1]:56523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHxC9-0002J8-JD for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33766) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHxC7-0002Is-8C for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHxC1-0006BK-DR for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHxC1-0006BG-B3 for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHxC0-0007Ic-AJ for bug-guile@gnu.org; Wed, 22 Jul 2015 12:48:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHxBy-0006Az-Uc for bug-guile@gnu.org; Wed, 22 Jul 2015 12:48:28 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:33554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHxBy-0006At-R7 for bug-guile@gnu.org; Wed, 22 Jul 2015 12:48:26 -0400 Received: by qkdl129 with SMTP id l129so156947400qkd.0 for ; Wed, 22 Jul 2015 09:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=eqrFL6H4d8vi+orHp+zR67LpWRMlLWc0k9DJoV4JfLo=; b=xAic1ZRS15z79bVabyR3EwKhrDNOeuG0klDwy6hzNoUwTRvQghCeXBRoAP02IhvDaB HxWifR/vq3TlMGuoImGgJOZxHrYXuoW7AWjet1OlSsSo0KW/om6kpLPmYaiXjl6WagJ+ FuqBJhId8H6Lf8gyLx7HzqV2DHF29FpsSNr+z3qGuphg1ejNGsvqc3p7lqjJ2RKnsLq7 Sro682HgwjV/TGh+hkUulDv0fzCHzZ14a76yanjeCEcnETSYy89q3WW25A6dgPzO9bv2 V+rE2OH/yYpoKUEulvSDDAM+yujdmdnEq9LVSqDZ4pafO4674+7eqo86KANTBOxwqaA/ N/0g== X-Received: by 10.140.217.147 with SMTP id n141mr5498786qhb.43.1437583705129; Wed, 22 Jul 2015 09:48:25 -0700 (PDT) Received: from callisto ([2607:f470:2:1:22c9:d0ff:fe29:dfc8]) by smtp.gmail.com with ESMTPSA id 188sm942796qhf.42.2015.07.22.09.48.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 09:48:24 -0700 (PDT) From: David Michael Date: Wed, 22 Jul 2015 12:48:24 -0400 Message-ID: <87io9c87fr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: -3.8 (---) 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: -3.8 (---) * .gitignore (/libguile/*.NEW): New pattern. * libguile/Makefile.am (chknew-E chknew-SIG): Remove the line continuation after the targets, and include numbers in the recipe's signal/error regexp to catch names like E2BIG. --- This patch series makes a few updates to the generation of the lists of signal and error signals. This first one makes the chknew targets work again. GNU Make says there is no such target without this. .gitignore | 1 + libguile/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6375f2b..3a2f743 100644 --- a/.gitignore +++ b/.gitignore @@ -160,6 +160,7 @@ INSTALL /test-suite/standalone/test-scm-values /test-suite/standalone/test-scm-to-latin1-string /test-suite/standalone/test-scm-c-bind-keyword-arguments +/libguile/*.NEW /libguile/vm-operations.h /test-suite/standalone/test-foreign-object-c /test-suite/standalone/test-srfi-4 diff --git a/libguile/Makefile.am b/libguile/Makefile.am index 8302a18..dfa3be0 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -815,13 +815,13 @@ MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) # Write $(srcdir)/cpp-{E,SIG}.syms.NEW if there are any not-yet-seen # ("new" to us) E* or SIG* symbols in or , respectively. -chknew-E chknew-SIG: \ +chknew-E chknew-SIG: @bit=`echo $@ | sed s/^chknew-//` ; \ old="$(srcdir)/cpp-$$bit.syms" ; \ echo "#include <$${bit}.h>" \ | sed 's/E/errno/;s/SIG/signal/' \ | gcc -dM -E - \ - | sed 's/^#define //;/^'$$bit'[A-Z][A-Z]*/!d;s/ .*//' \ + | sed 's/^#define //;/^'$$bit'[0-9A-Z][0-9A-Z]*/!d;s/ .*//' \ | sort | diff -u $$old - | sed '1,2d;/^+/!d;s/^.//' \ > TMP ; \ if [ -s TMP ] ; then new="$$old.NEW" ; \ -- 2.1.0 From unknown Sat Aug 16 22:46:45 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: David Michael Subject: bug#21114: closed (Re: bug#21114: [PATCH 1/4] Fix the rule to check for new signals and errors) Message-ID: References: <87twp947np.fsf@gnu.org> <87io9c87fr.fsf@gmail.com> X-Gnu-PR-Message: they-closed 21114 X-Gnu-PR-Package: guile X-Gnu-PR-Keywords: patch Reply-To: 21114@debbugs.gnu.org Date: Thu, 29 Oct 2015 22:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1446158702-22344-1" This is a multi-part message in MIME format... ------------=_1446158702-22344-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21114: [PATCH 1/4] Fix the rule to check for new signals and errors which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21114@debbugs.gnu.org. --=20 21114: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21114 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1446158702-22344-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21114-done) by debbugs.gnu.org; 29 Oct 2015 22:44:18 +0000 Received: from localhost ([127.0.0.1]:44810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zrvve-0005mw-8d for submit@debbugs.gnu.org; Thu, 29 Oct 2015 18:44:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40071) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zrvvc-0005mm-Mz for 21114-done@debbugs.gnu.org; Thu, 29 Oct 2015 18:44:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrvvZ-0000RW-CG for 21114-done@debbugs.gnu.org; Thu, 29 Oct 2015 18:44:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrvvZ-0000RM-9S; Thu, 29 Oct 2015 18:44:13 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:56284 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZrvvY-0004SE-O5; Thu, 29 Oct 2015 18:44:13 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: David Michael Subject: Re: bug#21114: [PATCH 1/4] Fix the rule to check for new signals and errors References: <87io9c87fr.fsf@gmail.com> Date: Thu, 29 Oct 2015 23:44:10 +0100 In-Reply-To: <87io9c87fr.fsf@gmail.com> (David Michael's message of "Wed, 22 Jul 2015 12:48:24 -0400") Message-ID: <87twp947np.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21114-done Cc: 21114-done@debbugs.gnu.org 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 (-----) David Michael skribis: > * .gitignore (/libguile/*.NEW): New pattern. > * libguile/Makefile.am (chknew-E chknew-SIG): Remove the line > continuation after the targets, and include numbers in the > recipe's signal/error regexp to catch names like E2BIG. > --- > > > This patch series makes a few updates to the generation of the lists of > signal and error signals. This first one makes the chknew targets work > again. GNU Make says there is no such target without this. Indeed. Applied in 9a4215b, thanks. Ludo=E2=80=99. ------------=_1446158702-22344-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jul 2015 16:48:38 +0000 Received: from localhost ([127.0.0.1]:56523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHxC9-0002J8-JD for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33766) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHxC7-0002Is-8C for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHxC1-0006BK-DR for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHxC1-0006BG-B3 for submit@debbugs.gnu.org; Wed, 22 Jul 2015 12:48:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHxC0-0007Ic-AJ for bug-guile@gnu.org; Wed, 22 Jul 2015 12:48:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHxBy-0006Az-Uc for bug-guile@gnu.org; Wed, 22 Jul 2015 12:48:28 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:33554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHxBy-0006At-R7 for bug-guile@gnu.org; Wed, 22 Jul 2015 12:48:26 -0400 Received: by qkdl129 with SMTP id l129so156947400qkd.0 for ; Wed, 22 Jul 2015 09:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=eqrFL6H4d8vi+orHp+zR67LpWRMlLWc0k9DJoV4JfLo=; b=xAic1ZRS15z79bVabyR3EwKhrDNOeuG0klDwy6hzNoUwTRvQghCeXBRoAP02IhvDaB HxWifR/vq3TlMGuoImGgJOZxHrYXuoW7AWjet1OlSsSo0KW/om6kpLPmYaiXjl6WagJ+ FuqBJhId8H6Lf8gyLx7HzqV2DHF29FpsSNr+z3qGuphg1ejNGsvqc3p7lqjJ2RKnsLq7 Sro682HgwjV/TGh+hkUulDv0fzCHzZ14a76yanjeCEcnETSYy89q3WW25A6dgPzO9bv2 V+rE2OH/yYpoKUEulvSDDAM+yujdmdnEq9LVSqDZ4pafO4674+7eqo86KANTBOxwqaA/ N/0g== X-Received: by 10.140.217.147 with SMTP id n141mr5498786qhb.43.1437583705129; Wed, 22 Jul 2015 09:48:25 -0700 (PDT) Received: from callisto ([2607:f470:2:1:22c9:d0ff:fe29:dfc8]) by smtp.gmail.com with ESMTPSA id 188sm942796qhf.42.2015.07.22.09.48.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 09:48:24 -0700 (PDT) From: David Michael To: bug-guile@gnu.org Subject: [PATCH 1/4] Fix the rule to check for new signals and errors Date: Wed, 22 Jul 2015 12:48:24 -0400 Message-ID: <87io9c87fr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: -3.8 (---) 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: -3.8 (---) * .gitignore (/libguile/*.NEW): New pattern. * libguile/Makefile.am (chknew-E chknew-SIG): Remove the line continuation after the targets, and include numbers in the recipe's signal/error regexp to catch names like E2BIG. --- This patch series makes a few updates to the generation of the lists of signal and error signals. This first one makes the chknew targets work again. GNU Make says there is no such target without this. .gitignore | 1 + libguile/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6375f2b..3a2f743 100644 --- a/.gitignore +++ b/.gitignore @@ -160,6 +160,7 @@ INSTALL /test-suite/standalone/test-scm-values /test-suite/standalone/test-scm-to-latin1-string /test-suite/standalone/test-scm-c-bind-keyword-arguments +/libguile/*.NEW /libguile/vm-operations.h /test-suite/standalone/test-foreign-object-c /test-suite/standalone/test-srfi-4 diff --git a/libguile/Makefile.am b/libguile/Makefile.am index 8302a18..dfa3be0 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -815,13 +815,13 @@ MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) # Write $(srcdir)/cpp-{E,SIG}.syms.NEW if there are any not-yet-seen # ("new" to us) E* or SIG* symbols in or , respectively. -chknew-E chknew-SIG: \ +chknew-E chknew-SIG: @bit=`echo $@ | sed s/^chknew-//` ; \ old="$(srcdir)/cpp-$$bit.syms" ; \ echo "#include <$${bit}.h>" \ | sed 's/E/errno/;s/SIG/signal/' \ | gcc -dM -E - \ - | sed 's/^#define //;/^'$$bit'[A-Z][A-Z]*/!d;s/ .*//' \ + | sed 's/^#define //;/^'$$bit'[0-9A-Z][0-9A-Z]*/!d;s/ .*//' \ | sort | diff -u $$old - | sed '1,2d;/^+/!d;s/^.//' \ > TMP ; \ if [ -s TMP ] ; then new="$$old.NEW" ; \ -- 2.1.0 ------------=_1446158702-22344-1--