From unknown Tue Jun 24 06:56:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64233: 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-coreutils@gnu.org Resent-Date: Thu, 22 Jun 2023 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64233 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 64233@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16874715656487 (code B ref -1); Thu, 22 Jun 2023 22:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2023 22:06:05 +0000 Received: from localhost ([127.0.0.1]:36899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCSRJ-0001gY-D3 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 18:06:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:33980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCSRG-0001gQ-BT for submit@debbugs.gnu.org; Thu, 22 Jun 2023 18:06:03 -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 1qCSRF-0007sG-WB for bug-coreutils@gnu.org; Thu, 22 Jun 2023 18:06:02 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCSRD-000858-HE for bug-coreutils@gnu.org; Thu, 22 Jun 2023 18:06:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1687471556; cv=none; d=strato.com; s=strato-dkim-0002; b=roccz6AlA9ZvHWOnvIf1uAdf72LTlc7clKVBcAW7UkXKuGlKOmso9TUhFAvlosOSzd UNhI69okS9f8d5fEEAqZXrOp7tHlm4GPxE0MH3VhQrGYOs1GhZuyV8J6qTfr/0Cj+vxW mM/6wYKiqLN/INoPNCh+lL/FPsnKzpht6qHZ13hCDFDbGGkCNsgDKwZvWJz0nbxDThJe urhb0122TJ7orhlCZfo5ViTe5xN8lzMMLY0A7rcthdJyDFrjkC7btGjhJGpcxm0BExsc 3/EnNAoQVJScTAtV5A/DSLoUoFn5mOWCaPEDbXDxzMMhuu0OJk4r47uuTWoRKXk3bXjk Ymug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1687471556; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4/przrpjYTghMdFLXNXkjaTzBYS1DehvTzrqNa2P0js=; b=Js5+VQuBzK0FBCq1Qu4Ly4bwQhYS6cbGY1/EcH1hnAfL6xDAtXkBvmLSeXLIvbZC++ 2rLWvuS5vgKFQUCSc67hGOGR4giC7dfuqCP+HA+N1YT+uHhqbVQ1aIhtg7EQn98WO66d ocZABWaPJtFwkWnxobPrcAn8THKWPni43vTt9hE5drdACNfeQfOEVolEXTuteaNDMfLZ rhttuPR0trKtAbfTCCpX1dH0Qnp5tQ49RwuejrA+zTUvqtvd+thcw0g5+3Mwq6jlV1zS OBnK5bcqYmfoK61UwnILlH0tRtyRs/YmdGgeo/snjOH4RtwgYgvGCg0gLXCxpqgw7WMD BoEA== 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=1687471556; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4/przrpjYTghMdFLXNXkjaTzBYS1DehvTzrqNa2P0js=; b=s6QYRRDYL80qb8nmXh6WGjgFKNSYFNcknrE+SqUbfUSXJuue9XRj9L1ZmN3qJg+Sdk WcrxjDTu4KkyUfr6leBOo8hyWaMLFL17HRJyoDZm8HcVrCLc661jgXxsiwRMrbWu/z50 Rs174NM5NhD+cghjmods6F2lmBwqtA6d+4QRhql2BxYUZNuMsuGe7d1Zj5vLbiLBHn/R fsp8lnMrr7zvjs8VP/FmFNP7udmTw5SlYmeEb4o0lZXdtXlpxpq52wEDTpcfkXCBGnks oxkS65RUv4oK1eQkXpAI3fPoV5roiWF8xOpMZFne/Kr6qT/PU/nzbQfB/vlpMpgNQ/tt b0iQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1687471555; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4/przrpjYTghMdFLXNXkjaTzBYS1DehvTzrqNa2P0js=; b=IefBdzPHqITLiXN9v69XxmYl6Ink853YB32nJzOV9x8xBjb4tvOwRA2kaePEuQYSYf 7etWCxINLfmP92kphOBw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOej/bEOQSY2iS4FCmdruVCosl4cA==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.0 AUTH) with ESMTPSA id 6b0accz5MM5tTNi (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 23 Jun 2023 00:05:55 +0200 (CEST) From: Bruno Haible Date: Fri, 23 Jun 2023 00:05:55 +0200 Message-ID: <6323281.eFTFzoEnKi@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart6049573.clyjiGRsXx" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=85.215.255.21; 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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. --nextPart6049573.clyjiGRsXx 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/coreutils.texi has a hand-written @menu, it should use this extra option. Here's a patch to that effect. I checked it by running touch doc/coreutils.texi; make doc/coreutils.info V=3D1 and make sc_makefile_at_at_check --nextPart6049573.clyjiGRsXx 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 d3f0c8f482d8be6cb3e117331f0dca7e4fa72503 Mon Sep 17 00:00:00 2001 =46rom: Bruno Haible Date: Thu, 22 Jun 2023 23:59:11 +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/local.mk (MAKEINFO): New variable. * cfg.mk (_makefile_at_at_check_exceptions): Update. =2D-- cfg.mk | 3 ++- doc/local.mk | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cfg.mk b/cfg.mk index 92f119ee2..6ba8981ab 100644 =2D-- a/cfg.mk +++ b/cfg.mk @@ -52,7 +52,8 @@ export XZ_OPT =3D -8e old_NEWS_hash =3D ac6cb1c35890b53e56acbfbb078fcd53 =20 # Add an exemption for sc_makefile_at_at_check. =2D_makefile_at_at_check_exceptions =3D ' && !/^cu_install_prog/ && !/dynam= ic-dep/' +_makefile_at_at_check_exceptions =3D \ + ' && !/MAKEINFO/ && !/^cu_install_prog/ && !/dynamic-dep/' =20 # Our help-version script is in a slightly different location. _hv_file ?=3D $(srcdir)/tests/misc/help-version diff --git a/doc/local.mk b/doc/local.mk index 9714d5b18..b5a6c33b6 100644 =2D-- a/doc/local.mk +++ b/doc/local.mk @@ -25,6 +25,10 @@ doc_coreutils_TEXINFOS =3D \ doc/fdl.texi \ doc/sort-version.texi =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 + # The following is necessary if the package name is 8 characters or longer. # If the info documentation would be split into 10 or more separate files, # then this is necessary even if the package name is 7 characters long. =2D-=20 2.34.1 --nextPart6049573.clyjiGRsXx-- From unknown Tue Jun 24 06:56:54 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#64233: closed (Re: bug#64233: patch: Ensure that makeinfo =?UTF-8?Q?=E2=89=A5?= 6.8 checks the @menu structure) Message-ID: References: <928bac9d-fe27-1d78-6b0b-937b5583649e@draigBrady.com> <6323281.eFTFzoEnKi@nimes> X-Gnu-PR-Message: they-closed 64233 X-Gnu-PR-Package: coreutils Reply-To: 64233@debbugs.gnu.org Date: Thu, 22 Jun 2023 22:29:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1687472941-8609-1" This is a multi-part message in MIME format... ------------=_1687472941-8609-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64233: patch: Ensure that makeinfo =E2=89=A5 6.8 checks the @menu structure 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 64233@debbugs.gnu.org. --=20 64233: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64233 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1687472941-8609-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64233-done) by debbugs.gnu.org; 22 Jun 2023 22:28:01 +0000 Received: from localhost ([127.0.0.1]:36929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCSmX-0002DN-98 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 18:28:01 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:44268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCSmV-0002D5-Ay for 64233-done@debbugs.gnu.org; Thu, 22 Jun 2023 18:27:59 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-3f90b4ac529so945825e9.0 for <64233-done@debbugs.gnu.org>; Thu, 22 Jun 2023 15:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687472873; x=1690064873; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=e9dIWMo5mMox7kSv2nsSEbIO1C/bkdQdr1V4eG/4flA=; b=I0ANSbKZriw4wRqSt9L8J9lKcAgThW9XcUfKf+p04bVtwr1CaOOlajRnAKiLDEvkQL iZIcojNmrxemoexYQXRmoMqh8insjnMsv4SoDvdw4kgu3ffXGekYvxpbih/NszTK8ECN r4CFonDPT///fethlWyT5fnCk0eJAsM275wgN1VmL/jAy8zEnzs1DSyLcP9soez8/Euk jk+JJY6HxINxHARHIS0WnBYf+5ttjxIP9r+lL4vCepuTs6k4Tc4Tb/uM1bDl4fSfXtHY muj+C967fKjs82UXiugazeDyZ38J+bi6p7lzhF+6rtvDO48WJhDT66viyocuja1a2fE6 whwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687472873; x=1690064873; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=e9dIWMo5mMox7kSv2nsSEbIO1C/bkdQdr1V4eG/4flA=; b=U/4D7gxB69AW6WKyrv9O5szo9D8QcTIKHstMXxLTxfcEqTOTS6+pW/WhRHHI0YDQRH 9gDZ7PIwAguo+wOBs+IgBBhsV7ZUeasqN+21CdJF+AKuPhfo1sDNCWIcw/UNxvVD8/ao FmMSPD30H0lVWSGWUbI+u57rQEpNwCjS8RuVUGkvsS8+FFNVt05n0w3bUfQFUSxzLDTL 2UAwycagNeeXRlhFfXEPKec0R7M5ZA1zCa5l2usmfkEMtW5R01qaUQV5sMUnhGzuIZKp kSKswlund00G3wE43b2cG+8J5hR/mt3/VAkdu4EAOpZdJIFrlG9B6/0KPR9y5D2hxb+C o3Pw== X-Gm-Message-State: AC+VfDwm1UwIdu/O+WQW/A9C6LV2lpHG6ZeqK29F7F7OgB3Nk+mFi89G /vzWJQDNyRB4FBCN3wgd++w= X-Google-Smtp-Source: ACHHUZ7YCLtQUpBXUwG1NE2OEadAB4TIGtzA4E195XPvpAgjX7MELSNTJ9mp5AuQ3J15ZSR5qTkwJQ== X-Received: by 2002:a1c:7907:0:b0:3f6:2a6:e2c with SMTP id l7-20020a1c7907000000b003f602a60e2cmr2646871wme.9.1687472873019; Thu, 22 Jun 2023 15:27:53 -0700 (PDT) Received: from [192.168.1.19] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id c12-20020a05600c0acc00b003f9b3ccb815sm654308wmr.1.2023.06.22.15.27.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Jun 2023 15:27:52 -0700 (PDT) Message-ID: <928bac9d-fe27-1d78-6b0b-937b5583649e@draigBrady.com> Date: Thu, 22 Jun 2023 23:27:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: =?UTF-8?Q?Re=3A_bug=2364233=3A_patch=3A_Ensure_that_makeinfo_?= =?UTF-8?Q?=E2=89=A5_6=2E8_checks_the_=40menu_structure?= Content-Language: en-US To: Bruno Haible , 64233-done@debbugs.gnu.org References: <6323281.eFTFzoEnKi@nimes> From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <6323281.eFTFzoEnKi@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 64233-done 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 22/06/2023 23:05, Bruno Haible wrote: > Makeinfo versions < 6.7 detected mistakes in the @menu structure of TeXinfo > input. Makeinfo versions ≥ 6.8 don't do this any more by default. They need > an extra option, for this validation to happen. See > . > > Since doc/coreutils.texi has a hand-written @menu, it should use this extra > option. > > Here's a patch to that effect. I checked it by running > touch doc/coreutils.texi; make doc/coreutils.info V=1 > and > make sc_makefile_at_at_check coreutils has a dep on makeinfo >= 6.1 and that version supports the -c option, so the change should work everywhere. Pushed. Marking this as done. thanks! Pádraig ------------=_1687472941-8609-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jun 2023 22:06:05 +0000 Received: from localhost ([127.0.0.1]:36899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCSRJ-0001gY-D3 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 18:06:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:33980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCSRG-0001gQ-BT for submit@debbugs.gnu.org; Thu, 22 Jun 2023 18:06:03 -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 1qCSRF-0007sG-WB for bug-coreutils@gnu.org; Thu, 22 Jun 2023 18:06:02 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCSRD-000858-HE for bug-coreutils@gnu.org; Thu, 22 Jun 2023 18:06:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1687471556; cv=none; d=strato.com; s=strato-dkim-0002; b=roccz6AlA9ZvHWOnvIf1uAdf72LTlc7clKVBcAW7UkXKuGlKOmso9TUhFAvlosOSzd UNhI69okS9f8d5fEEAqZXrOp7tHlm4GPxE0MH3VhQrGYOs1GhZuyV8J6qTfr/0Cj+vxW mM/6wYKiqLN/INoPNCh+lL/FPsnKzpht6qHZ13hCDFDbGGkCNsgDKwZvWJz0nbxDThJe urhb0122TJ7orhlCZfo5ViTe5xN8lzMMLY0A7rcthdJyDFrjkC7btGjhJGpcxm0BExsc 3/EnNAoQVJScTAtV5A/DSLoUoFn5mOWCaPEDbXDxzMMhuu0OJk4r47uuTWoRKXk3bXjk Ymug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1687471556; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4/przrpjYTghMdFLXNXkjaTzBYS1DehvTzrqNa2P0js=; b=Js5+VQuBzK0FBCq1Qu4Ly4bwQhYS6cbGY1/EcH1hnAfL6xDAtXkBvmLSeXLIvbZC++ 2rLWvuS5vgKFQUCSc67hGOGR4giC7dfuqCP+HA+N1YT+uHhqbVQ1aIhtg7EQn98WO66d ocZABWaPJtFwkWnxobPrcAn8THKWPni43vTt9hE5drdACNfeQfOEVolEXTuteaNDMfLZ rhttuPR0trKtAbfTCCpX1dH0Qnp5tQ49RwuejrA+zTUvqtvd+thcw0g5+3Mwq6jlV1zS OBnK5bcqYmfoK61UwnILlH0tRtyRs/YmdGgeo/snjOH4RtwgYgvGCg0gLXCxpqgw7WMD BoEA== 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=1687471556; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4/przrpjYTghMdFLXNXkjaTzBYS1DehvTzrqNa2P0js=; b=s6QYRRDYL80qb8nmXh6WGjgFKNSYFNcknrE+SqUbfUSXJuue9XRj9L1ZmN3qJg+Sdk WcrxjDTu4KkyUfr6leBOo8hyWaMLFL17HRJyoDZm8HcVrCLc661jgXxsiwRMrbWu/z50 Rs174NM5NhD+cghjmods6F2lmBwqtA6d+4QRhql2BxYUZNuMsuGe7d1Zj5vLbiLBHn/R fsp8lnMrr7zvjs8VP/FmFNP7udmTw5SlYmeEb4o0lZXdtXlpxpq52wEDTpcfkXCBGnks oxkS65RUv4oK1eQkXpAI3fPoV5roiWF8xOpMZFne/Kr6qT/PU/nzbQfB/vlpMpgNQ/tt b0iQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1687471555; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4/przrpjYTghMdFLXNXkjaTzBYS1DehvTzrqNa2P0js=; b=IefBdzPHqITLiXN9v69XxmYl6Ink853YB32nJzOV9x8xBjb4tvOwRA2kaePEuQYSYf 7etWCxINLfmP92kphOBw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOej/bEOQSY2iS4FCmdruVCosl4cA==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.0 AUTH) with ESMTPSA id 6b0accz5MM5tTNi (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 23 Jun 2023 00:05:55 +0200 (CEST) From: Bruno Haible To: bug-coreutils@gnu.org Subject: patch: Ensure that makeinfo =?UTF-8?B?4oml?= 6.8 checks the @menu structure Date: Fri, 23 Jun 2023 00:05:55 +0200 Message-ID: <6323281.eFTFzoEnKi@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart6049573.clyjiGRsXx" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=85.215.255.21; 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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. --nextPart6049573.clyjiGRsXx 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/coreutils.texi has a hand-written @menu, it should use this extra option. Here's a patch to that effect. I checked it by running touch doc/coreutils.texi; make doc/coreutils.info V=3D1 and make sc_makefile_at_at_check --nextPart6049573.clyjiGRsXx 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 d3f0c8f482d8be6cb3e117331f0dca7e4fa72503 Mon Sep 17 00:00:00 2001 =46rom: Bruno Haible Date: Thu, 22 Jun 2023 23:59:11 +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/local.mk (MAKEINFO): New variable. * cfg.mk (_makefile_at_at_check_exceptions): Update. =2D-- cfg.mk | 3 ++- doc/local.mk | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cfg.mk b/cfg.mk index 92f119ee2..6ba8981ab 100644 =2D-- a/cfg.mk +++ b/cfg.mk @@ -52,7 +52,8 @@ export XZ_OPT =3D -8e old_NEWS_hash =3D ac6cb1c35890b53e56acbfbb078fcd53 =20 # Add an exemption for sc_makefile_at_at_check. =2D_makefile_at_at_check_exceptions =3D ' && !/^cu_install_prog/ && !/dynam= ic-dep/' +_makefile_at_at_check_exceptions =3D \ + ' && !/MAKEINFO/ && !/^cu_install_prog/ && !/dynamic-dep/' =20 # Our help-version script is in a slightly different location. _hv_file ?=3D $(srcdir)/tests/misc/help-version diff --git a/doc/local.mk b/doc/local.mk index 9714d5b18..b5a6c33b6 100644 =2D-- a/doc/local.mk +++ b/doc/local.mk @@ -25,6 +25,10 @@ doc_coreutils_TEXINFOS =3D \ doc/fdl.texi \ doc/sort-version.texi =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 + # The following is necessary if the package name is 8 characters or longer. # If the info documentation would be split into 10 or more separate files, # then this is necessary even if the package name is 7 characters long. =2D-=20 2.34.1 --nextPart6049573.clyjiGRsXx-- ------------=_1687472941-8609-1-- From unknown Tue Jun 24 06:56:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64233: 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-coreutils@gnu.org Resent-Date: Thu, 22 Jun 2023 22:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64233 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 64233-done@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady Received: via spool by 64233-done@debbugs.gnu.org id=D64233.16874737399985 (code D ref 64233); Thu, 22 Jun 2023 22:43:02 +0000 Received: (at 64233-done) by debbugs.gnu.org; 22 Jun 2023 22:42:19 +0000 Received: from localhost ([127.0.0.1]:36943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCT0N-0002ay-82 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 18:42:19 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:44675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCT0K-0002ao-UV for 64233-done@debbugs.gnu.org; Thu, 22 Jun 2023 18:42:18 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1687473734; cv=none; d=strato.com; s=strato-dkim-0002; b=FGOMVkgT3fq20LPcI3n5eauM4Z+nHU/2qgmbc8duY+XV9UjsAyqhWhO4Ri6GVmp1VX zQw7YUcCcELg09ukLzZhKguytWnu/Ycls3Ol+1eaA3cZrs10BNG4xlqvVQpmrnBPmKx7 kJzNiGZBAMoqu3b84Aie+uY65Qak/XXVhU+cO2DrnTUIURdUr/bPy6kMglW2sZCrjnFi YZpaiXPa5w9Av3fpFO+yobkIfjIRhIqNhFuP75co8WWHy2WGJFYxTVXe+5W5jydaCGYJ 4vL4adzDJA9Fg3MpIqx/TyZYuwQJZ57KWt9PTvzIMUN2L4uM6+0QtvCFMHuMpU82m3kq BulQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1687473734; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=Ih+8Gu6MuNAuUgz8EoBYLZ3dG1dGToNMN6q9d8iB4qA=; b=j1DmcuLJTj9o5FQtn9Ea0k8c6Rdjo0dBm/4AB+XKhXkCv0lpy66tUI/tIr1rN7CSe8 CnAhnsO0nLYnslEIW6qF3HjpV6Od1sgBRZw3M8cPw1y6lFADMxfqbN98/O4KAhnQlx8l ySJN6A1lLgZtIum9WGRh6yUHhfbKYZ41XknYziMhX0W89NgSKmSPE3uCiw5eXy4rkeuy s02b+WLcr9k0x6oZIS3l2UJvufakGZFJamU53ibAqd2y5cq4AilKun8LF8Voa4obCidC RiQchR5w4WPAAF55AZoTMG6NVRyHoHiDVYVw9LbGW03Llk00YOO31v+YRSSua+C1Kr2B ho9g== 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=1687473734; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=Ih+8Gu6MuNAuUgz8EoBYLZ3dG1dGToNMN6q9d8iB4qA=; b=GTCN0InjlIvr9cciuHq0mWzl0ZNa/tt6OMSBkz6w+sWCcxydIs7QFVQ+uNwuq6Nzf2 z4f4YHO+Yoy5l0iwa2Sbc1oFneO4iNHWEEC1FxGPSrqET0nmVq35lVtLVgIeKnFwxY3A /v3HEc25okymcUKtm5DzhA9rqQI9tpYbWJ9rHtg8i3T3T0aKTfsNKkER4It8J1ES59Sr JPZJu4X14xDshKi1IX53yGukv4654RygXGm0ztTK1gRZEoPeYpQemSBiCso1O0BZGUOs mpX+XT+91OoI0/GOds6PiwCS+g1R5JtM67v23OVPEig7gVdho0a1T4TDmdDIY7/P/7UX Vm3Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1687473734; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=Ih+8Gu6MuNAuUgz8EoBYLZ3dG1dGToNMN6q9d8iB4qA=; b=oj+sJuTkqqjnQ3vaO/p3fr77MxREr+K0jkSz54cK3b1Imn4ZahYFqy5Mou+pirgDg5 qxcBgB39FW7VelkeehDw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOe3vKnz4NASJkKNkZR9T7ssjto" Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.0 AUTH) with ESMTPSA id 6b0accz5MMgEU1h (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 23 Jun 2023 00:42:14 +0200 (CEST) From: Bruno Haible Date: Fri, 23 Jun 2023 00:42:14 +0200 Message-ID: <13075078.qUNvkh4Gvn@nimes> In-Reply-To: <928bac9d-fe27-1d78-6b0b-937b5583649e@draigBrady.com> References: <6323281.eFTFzoEnKi@nimes> <928bac9d-fe27-1d78-6b0b-937b5583649e@draigBrady.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: 0.0 (/) 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: -1.0 (-) P=E1draig Brady wrote: > coreutils has a dep on makeinfo >=3D 6.1 > and that version supports the -c option, > so the change should work everywhere. Yes. makeinfo versions < 6.8 give a warning that they don't know about the customization variable CHECK_NORMAL_MENU_STRUCTURE. You can simply ignore this warning. makeinfo version 6.8 is already pretty widely deployed, since it was released two years ago. Bruno