From unknown Wed Jun 25 03:55:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64236: patch: Ensure that makeinfo =?UTF-8?Q?=E2=89=A5?= 6.8 checks the @menu structure Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Thu, 22 Jun 2023 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64236 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: 64236@debbugs.gnu.org X-Debbugs-Original-To: bug-gzip@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168747483412126 (code B ref -1); Thu, 22 Jun 2023 23:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2023 23:00:34 +0000 Received: from localhost ([127.0.0.1]:36961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCTI2-00039W-26 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 19:00:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:53036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCTHy-00039L-Pz for submit@debbugs.gnu.org; Thu, 22 Jun 2023 19:00:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCTHy-0003ir-JA for bug-gzip@gnu.org; Thu, 22 Jun 2023 19:00:30 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCTHv-0008PU-Q3 for bug-gzip@gnu.org; Thu, 22 Jun 2023 19:00:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1687474824; cv=none; d=strato.com; s=strato-dkim-0002; b=E5mhrq7TeILJonLp6Tv8Vx7anmpH2yK2SHPydjQ9jv5WrRAzdBEW8LcRQeAmNMEj5L g3Ae/VQuX+Om+NaQljnjcFZ+Opy7F2hYVgH328uYMnsy9YqHhF/nvAbpVq0nCnbmkTS2 Hk6AwOp+cCeajcrK7p68eEpK8qvwfTHdmOmFo/v+1uLtTkdntenQI0pXC51BpuzU+9el AFhsV4L9NIPxdXNFKOYUBH8Xu///MPP7329suL10KHjS6a0uP3MvzoeMHOQlFnu1zqsx h4qL+QyGmor+0wvbCstChgDEav4Uro9OxxKcacZOFlHOslKDzVydWHv29BbbIg2h5b2Z xDrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1687474824; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=KDRUkIQaxDUTbbQnuV+lxN6RaE78FO8FwCSnoaDlWNI=; b=OcDzXbrgqezAYKNX98WipGtheW3eTv7CBzNOu7BhVI6lEI/707gSYh5bzXpL2J0vm6 fpSXUIpV9K4K9WqQpf4qinpDYtJPv1577FNmcsaw6J6B38F6TDYuEOqEiRZV48Vj76HA fAmDq5gU+rU19lS8cEctqoPtsKwJSS74oB6Y1SplKlHiNb9LOB6XLYwTjLOK6WC8Be2i LuVCoyVkMWGqcNSxn7515FAU6oDAtsPfJZDy1XUW6DJzuJINOJaJj8+6YVGHzlHg1ddU 1YIOZ9E8kRf2bsj/jKShW47oP75KXBeVOuNelj9QL8sVQs4PIxpmNhsKaAmHW9WyXRm1 6uPA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1687474824; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=KDRUkIQaxDUTbbQnuV+lxN6RaE78FO8FwCSnoaDlWNI=; b=JW4PPjcVrG+9ZKoiUNilDvDx2xoRdgbyYo/UiOpsf8ogJ4+6919FKco6jiN0QiQuA4 7ivfJz1Q47ZtTnvUlUxOuz5Z+E4G8ScMvrRu7gW6gNhb2zOpD7qDC3RtyajUB9JFgtxu o3pGg0fczYoCCWLMzr6b3umfzEqqinHNbWqL/h8HP6C2A8ozXrk5yGw2q02U1K9IZWPu kNiUr6ZDbbUBMiFR7lEVf1REGigJO+BmQnE/E9J78Y16kL6emhyGWZt0W/+L5JDdy6pg 1LhoKQNB8mIklglRTdzpEvz/9VPgYGG90GsDqceZw8CFqKWVPlO4pOPtqSaq5g5tY7SE UX7Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1687474824; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=KDRUkIQaxDUTbbQnuV+lxN6RaE78FO8FwCSnoaDlWNI=; b=dvV/VB1j2aU45gbMSx5tGRwHrfq/Gfl55cRnfT3bXE8YLunJcO1ehcLWIoRNSisyhI A3tVlVJLz164sPeRX6Dg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOe3vKnz4NASJkKNkZR9T7ssjto" Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.0 AUTH) with ESMTPSA id 6b0accz5MN0OULU (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 23 Jun 2023 01:00:24 +0200 (CEST) From: Bruno Haible Date: Fri, 23 Jun 2023 01:00:24 +0200 Message-ID: <4491848.izSxrag8PF@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart5520572.MsWZr2WtbB" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=85.215.255.23; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.3 (---) This is a multi-part message in MIME format. --nextPart5520572.MsWZr2WtbB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Makeinfo versions < 6.7 detected mistakes in the @menu structure of TeXinfo input. Makeinfo versions =E2=89=A5 6.8 don't do this any more by default. T= hey need an extra option, for this validation to happen. See . Since doc/gzip.texi has a hand-written @menu, it should use this extra option. Here's a patch to that effect. There are two possibilities for adding the extra option: - in the MAKEINFO variable, where it has an effect on both "makeinfo" and "makeinfo --html", - in the AM_MAKEINFOFLAGS variable, where it has an effect on "makeinfo" only. Since some maintainers may check their documentation edits only by regenera= ting the HTML-formatted documentation, the first choice is preferrable. Tested by running touch doc/gzip.texi ; (cd doc && make gzip.info V=3D1) and make sc_makefile_at_at_check --nextPart5520572.MsWZr2WtbB Content-Disposition: attachment; filename="0001-build-Ensure-that-makeinfo-6.8-checks-the-menu-struc.patch" Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; charset="UTF-8"; name="0001-build-Ensure-that-makeinfo-6.8-checks-the-menu-struc.patch" =46rom 3883e797bf792736f86a6548694aee28330d5777 Mon Sep 17 00:00:00 2001 =46rom: Bruno Haible Date: Fri, 23 Jun 2023 00:57:21 +0200 Subject: [PATCH] =3D?UTF-8?q?build:=3D20Ensure=3D20that=3D20makeinfo=3D20= =3DE2=3D89=3DA5?=3D =3D?UTF-8?q?=3D206.8=3D20checks=3D20the=3D20@menu=3D20structure.?=3D MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit See . * doc/Makefile.am (MAKEINFO): New variable. * cfg.mk (_makefile_at_at_check_exceptions): New variable. =2D-- cfg.mk | 3 +++ doc/Makefile.am | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/cfg.mk b/cfg.mk index 7b27a2a..49da6a8 100644 =2D-- a/cfg.mk +++ b/cfg.mk @@ -103,3 +103,6 @@ export _gl_TS_unmarked_extern_vars =3D \ match_start prev_length max_chain_length good_match nice_match =20 _gl_TS_extern =3D (?:_Noreturn )?extern + +# Add an exemption for sc_makefile_at_at_check. +_makefile_at_at_check_exceptions =3D ' && !/MAKEINFO/' diff --git a/doc/Makefile.am b/doc/Makefile.am index 608e120..daf9cd3 100644 =2D-- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,6 +17,11 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. =20 + +# The customization variable CHECK_NORMAL_MENU_STRUCTURE is necessary with +# makeinfo versions =E2=89=A5 6.8. +MAKEINFO =3D @MAKEINFO@ -c CHECK_NORMAL_MENU_STRUCTURE=3D1 + info_TEXINFOS =3D gzip.texi =20 gzip_TEXINFOS =3D fdl.texi =2D-=20 2.34.1 --nextPart5520572.MsWZr2WtbB-- From unknown Wed Jun 25 03:55:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bruno Haible Subject: bug#64236: closed (Re: bug#64236: patch: Ensure that makeinfo =?UTF-8?Q?=E2=89=A5?= 6.8 checks the @menu structure) Message-ID: References: <4491848.izSxrag8PF@nimes> X-Gnu-PR-Message: they-closed 64236 X-Gnu-PR-Package: gzip Reply-To: 64236@debbugs.gnu.org Date: Sun, 25 Jun 2023 01:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1687657082-30631-1" This is a multi-part message in MIME format... ------------=_1687657082-30631-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64236: patch: Ensure that makeinfo =E2=89=A5 6.8 checks the @menu structure which was filed against the gzip package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64236@debbugs.gnu.org. --=20 64236: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64236 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1687657082-30631-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64236-done) by debbugs.gnu.org; 25 Jun 2023 01:37:10 +0000 Received: from localhost ([127.0.0.1]:41747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDEgg-0007ws-3K for submit@debbugs.gnu.org; Sat, 24 Jun 2023 21:37:10 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:52577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDEgb-0007wG-AC for 64236-done@debbugs.gnu.org; Sat, 24 Jun 2023 21:37:09 -0400 Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-4f96da99965so2491633e87.1 for <64236-done@debbugs.gnu.org>; Sat, 24 Jun 2023 18:37:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687657019; x=1690249019; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wIC5KEYRERtL0W7RIN3QSekrNA3iR6HU1XZSR/RU1to=; b=cmoBKsW00NmpR53H48e74FdK7kPgefS/8jnxFfCPJQSkcBE43oR8VkDlPPzvWaHalB eXESUawms5EoKu1zPtgWB+7hRFPy8UHdR73tDzoLuQKzsPKVNd7zxpkxRKt/u1r7oVcU LxNqUAPsTbH2nrYz2nwrvYju7s4eDsMY4kyf0mjNQofNBBCj4Pa71xNzU+GoMP6vxi25 PQPcUK0TmCL+wvE5S5KIyTgAevNgfOQRQlRBDbc2juvs6tMp5juZCs/6mmXQ0KO85WWW fdD8gQYdsZBFCkCgWIf6HGFktA3dS/M7I9e5r9QubnWH+qM17a2rpDXfP77H5aieBnjZ apLQ== X-Gm-Message-State: AC+VfDz+WGSz3UKQRSJURXMDTDZ6lLPRbjNQMTTwdcZTDoyc0mIPgC8n 2hxjsqriarUzTzW0Cz3lNBnzoeUnReX8FWgO1W7ib4FE X-Google-Smtp-Source: ACHHUZ5WMOLZ8cbZxFRrhsqcFbgYGIyidyyLgNIVjziiTDfA+F6m4MLDQ5kZbYjMxRR2c0YCsKq5CEBPY9F2OSaNL4o= X-Received: by 2002:a19:f242:0:b0:4f0:223e:7916 with SMTP id d2-20020a19f242000000b004f0223e7916mr13551218lfk.62.1687657018659; Sat, 24 Jun 2023 18:36:58 -0700 (PDT) MIME-Version: 1.0 References: <4491848.izSxrag8PF@nimes> In-Reply-To: <4491848.izSxrag8PF@nimes> From: Jim Meyering Date: Sat, 24 Jun 2023 18:36:45 -0700 Message-ID: Subject: =?UTF-8?Q?Re=3A_bug=2364236=3A_patch=3A_Ensure_that_makeinfo_=E2=89=A5_6=2E8_c?= =?UTF-8?Q?hecks_the_=40menu_structure?= To: Bruno Haible Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 64236-done Cc: 64236-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.8 (/) On Thu, Jun 22, 2023 at 4:56=E2=80=AFPM Bruno Haible wrot= e: > Makeinfo versions < 6.7 detected mistakes in the @menu structure of TeXin= fo > input. Makeinfo versions =E2=89=A5 6.8 don't do this any more by default.= They need > an extra option, for this validation to happen. See > . > > Since doc/gzip.texi has a hand-written @menu, it should use this extra > option. > > Here's a patch to that effect. > > There are two possibilities for adding the extra option: > - in the MAKEINFO variable, where it has an effect on both "makeinfo" > and "makeinfo --html", > - in the AM_MAKEINFOFLAGS variable, where it has an effect on "makeinfo= " > only. > Since some maintainers may check their documentation edits only by regene= rating > the HTML-formatted documentation, the first choice is preferrable. > > Tested by running > touch doc/gzip.texi ; (cd doc && make gzip.info V=3D1) > and > make sc_makefile_at_at_check Thanks again. Pushed. ------------=_1687657082-30631-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jun 2023 23:00:34 +0000 Received: from localhost ([127.0.0.1]:36961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCTI2-00039W-26 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 19:00:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:53036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCTHy-00039L-Pz for submit@debbugs.gnu.org; Thu, 22 Jun 2023 19:00:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCTHy-0003ir-JA for bug-gzip@gnu.org; Thu, 22 Jun 2023 19:00:30 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCTHv-0008PU-Q3 for bug-gzip@gnu.org; Thu, 22 Jun 2023 19:00:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1687474824; cv=none; d=strato.com; s=strato-dkim-0002; b=E5mhrq7TeILJonLp6Tv8Vx7anmpH2yK2SHPydjQ9jv5WrRAzdBEW8LcRQeAmNMEj5L g3Ae/VQuX+Om+NaQljnjcFZ+Opy7F2hYVgH328uYMnsy9YqHhF/nvAbpVq0nCnbmkTS2 Hk6AwOp+cCeajcrK7p68eEpK8qvwfTHdmOmFo/v+1uLtTkdntenQI0pXC51BpuzU+9el AFhsV4L9NIPxdXNFKOYUBH8Xu///MPP7329suL10KHjS6a0uP3MvzoeMHOQlFnu1zqsx h4qL+QyGmor+0wvbCstChgDEav4Uro9OxxKcacZOFlHOslKDzVydWHv29BbbIg2h5b2Z xDrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1687474824; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=KDRUkIQaxDUTbbQnuV+lxN6RaE78FO8FwCSnoaDlWNI=; b=OcDzXbrgqezAYKNX98WipGtheW3eTv7CBzNOu7BhVI6lEI/707gSYh5bzXpL2J0vm6 fpSXUIpV9K4K9WqQpf4qinpDYtJPv1577FNmcsaw6J6B38F6TDYuEOqEiRZV48Vj76HA fAmDq5gU+rU19lS8cEctqoPtsKwJSS74oB6Y1SplKlHiNb9LOB6XLYwTjLOK6WC8Be2i LuVCoyVkMWGqcNSxn7515FAU6oDAtsPfJZDy1XUW6DJzuJINOJaJj8+6YVGHzlHg1ddU 1YIOZ9E8kRf2bsj/jKShW47oP75KXBeVOuNelj9QL8sVQs4PIxpmNhsKaAmHW9WyXRm1 6uPA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1687474824; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=KDRUkIQaxDUTbbQnuV+lxN6RaE78FO8FwCSnoaDlWNI=; b=JW4PPjcVrG+9ZKoiUNilDvDx2xoRdgbyYo/UiOpsf8ogJ4+6919FKco6jiN0QiQuA4 7ivfJz1Q47ZtTnvUlUxOuz5Z+E4G8ScMvrRu7gW6gNhb2zOpD7qDC3RtyajUB9JFgtxu o3pGg0fczYoCCWLMzr6b3umfzEqqinHNbWqL/h8HP6C2A8ozXrk5yGw2q02U1K9IZWPu kNiUr6ZDbbUBMiFR7lEVf1REGigJO+BmQnE/E9J78Y16kL6emhyGWZt0W/+L5JDdy6pg 1LhoKQNB8mIklglRTdzpEvz/9VPgYGG90GsDqceZw8CFqKWVPlO4pOPtqSaq5g5tY7SE UX7Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1687474824; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=KDRUkIQaxDUTbbQnuV+lxN6RaE78FO8FwCSnoaDlWNI=; b=dvV/VB1j2aU45gbMSx5tGRwHrfq/Gfl55cRnfT3bXE8YLunJcO1ehcLWIoRNSisyhI A3tVlVJLz164sPeRX6Dg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOe3vKnz4NASJkKNkZR9T7ssjto" Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.0 AUTH) with ESMTPSA id 6b0accz5MN0OULU (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 23 Jun 2023 01:00:24 +0200 (CEST) From: Bruno Haible To: bug-gzip@gnu.org Subject: patch: Ensure that makeinfo =?UTF-8?B?4oml?= 6.8 checks the @menu structure Date: Fri, 23 Jun 2023 01:00:24 +0200 Message-ID: <4491848.izSxrag8PF@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart5520572.MsWZr2WtbB" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=85.215.255.23; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.3 (---) This is a multi-part message in MIME format. --nextPart5520572.MsWZr2WtbB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Makeinfo versions < 6.7 detected mistakes in the @menu structure of TeXinfo input. Makeinfo versions =E2=89=A5 6.8 don't do this any more by default. T= hey need an extra option, for this validation to happen. See . Since doc/gzip.texi has a hand-written @menu, it should use this extra option. Here's a patch to that effect. There are two possibilities for adding the extra option: - in the MAKEINFO variable, where it has an effect on both "makeinfo" and "makeinfo --html", - in the AM_MAKEINFOFLAGS variable, where it has an effect on "makeinfo" only. Since some maintainers may check their documentation edits only by regenera= ting the HTML-formatted documentation, the first choice is preferrable. Tested by running touch doc/gzip.texi ; (cd doc && make gzip.info V=3D1) and make sc_makefile_at_at_check --nextPart5520572.MsWZr2WtbB Content-Disposition: attachment; filename="0001-build-Ensure-that-makeinfo-6.8-checks-the-menu-struc.patch" Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; charset="UTF-8"; name="0001-build-Ensure-that-makeinfo-6.8-checks-the-menu-struc.patch" =46rom 3883e797bf792736f86a6548694aee28330d5777 Mon Sep 17 00:00:00 2001 =46rom: Bruno Haible Date: Fri, 23 Jun 2023 00:57:21 +0200 Subject: [PATCH] =3D?UTF-8?q?build:=3D20Ensure=3D20that=3D20makeinfo=3D20= =3DE2=3D89=3DA5?=3D =3D?UTF-8?q?=3D206.8=3D20checks=3D20the=3D20@menu=3D20structure.?=3D MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit See . * doc/Makefile.am (MAKEINFO): New variable. * cfg.mk (_makefile_at_at_check_exceptions): New variable. =2D-- cfg.mk | 3 +++ doc/Makefile.am | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/cfg.mk b/cfg.mk index 7b27a2a..49da6a8 100644 =2D-- a/cfg.mk +++ b/cfg.mk @@ -103,3 +103,6 @@ export _gl_TS_unmarked_extern_vars =3D \ match_start prev_length max_chain_length good_match nice_match =20 _gl_TS_extern =3D (?:_Noreturn )?extern + +# Add an exemption for sc_makefile_at_at_check. +_makefile_at_at_check_exceptions =3D ' && !/MAKEINFO/' diff --git a/doc/Makefile.am b/doc/Makefile.am index 608e120..daf9cd3 100644 =2D-- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,6 +17,11 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. =20 + +# The customization variable CHECK_NORMAL_MENU_STRUCTURE is necessary with +# makeinfo versions =E2=89=A5 6.8. +MAKEINFO =3D @MAKEINFO@ -c CHECK_NORMAL_MENU_STRUCTURE=3D1 + info_TEXINFOS =3D gzip.texi =20 gzip_TEXINFOS =3D fdl.texi =2D-=20 2.34.1 --nextPart5520572.MsWZr2WtbB-- ------------=_1687657082-30631-1--