From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mtAdNXtrxWM7KxgAWB0awg (envelope-from ) for ; Mon, 16 Jan 2023 10:21:31 -0500 Received: by simark.ca (Postfix, from userid 112) id CE79D1E128; Mon, 16 Jan 2023 10:21:31 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=x/5419F9; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 32E221E0D3 for ; Mon, 16 Jan 2023 10:21:25 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7DA233858408 for ; Mon, 16 Jan 2023 15:21:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7DA233858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673882483; bh=5FbEh4VHB0y0quGqZlePetUhLTnP3SVGfCDYjaDDvZ8=; h=To:Cc:Subject:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=x/5419F9kAUrkdvb2eYFr+bVcopBZ0upEtpBJW5XYtgDmUIHUMvNw0dmAWeA+Tpil hgdsaY6I/rzBb2c60NTa9ohmojQ5g8TM/KtpLuLippOSl+jt/dUoBzAjPXvP0jMmUB hTGqHpocp9U9Pn6MprR+xsc+/iPo9Kf0HQ7ejeME= Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2030.outbound.protection.outlook.com [40.92.99.30]) by sourceware.org (Postfix) with ESMTPS id 819953858D32; Mon, 16 Jan 2023 15:20:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 819953858D32 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XOXso75UzOFuprzsx9SbFrHnqXiaRvUfd/AUSjhfoB3e1YyCjcmZz2hgH/sPnVRXB36VB3a3r85zD9qWRntvCgPmTFygvypkIFYyHjzjs0vdZOqNa5tRs4hBu5Pd1+7ts0bQZunJsJOckUcE29Hj4Lif+UGI0PzQESlZTqiX8PwpLAoN77bDMFN2P1+1o1ijdwiZQzkejmu3FgSePnJZ/3hf4opMwEpsOG4huDsVVvQYqg+MBE6n7Oc5EJgWJmms2He2aKelqFWYj6bX8aoI1s1ZeQsgevw3M4qxi8WSAQtSCU1L7pMD88snX42yHyoqtSl1NT8vqffTxesq4/pUtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5FbEh4VHB0y0quGqZlePetUhLTnP3SVGfCDYjaDDvZ8=; b=NJMR+un0Xjipky5NIHOh5eadX33pG0AFlPD1op+TPffiBphpNBG9g6i9uAQCzRWM14YhKHftIc3kYXJphPwmWgyBCBxNIusOTKwCEcQOc/RJiqU2STiMBBzFhsDLh3JVLxauD7UTwdfzRo0vAjBcm1FJVHHGEyXH/LTNOUMHFnOngBfknTYXb0hAJg4soglDZCxjXE8XkzS2tEegFZarTrcQwE7WXjm9yA6pvUGzb/yTNStoHVtEO4T70+V9fphn2uySZ/LHIjuScSrv1g1bXd1mqtFACHS0Aeqn3wDJozMopMh3dJ9qqR6mfLQ+maL1Gh88n2XmOeNQ/MVJJiAZug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:197::9) by OSZP286MB1894.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:167::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Mon, 16 Jan 2023 15:20:00 +0000 Received: from OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM ([fe80::c90:199b:e178:3fa4]) by OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM ([fe80::c90:199b:e178:3fa4%5]) with mapi id 15.20.6002.012; Mon, 16 Jan 2023 15:20:00 +0000 To: Nick Alcock Cc: Enze Li via Binutils , gdb-patches@sourceware.org, enze.li@gmx.com, eliz@gnu.org, schwab@linux-m68k.org Subject: Re: [PATCH v2] libctf: update regexp to allow makeinfo to build document In-Reply-To: <87zgaioaes.fsf@esperi.org.uk> (Nick Alcock's message of "Mon, 16 Jan 2023 13:51:07 +0000") References: <87zgaioaes.fsf@esperi.org.uk> Date: Mon, 16 Jan 2023 23:19:50 +0800 Message-ID: Content-Type: text/plain X-TMN: [HHVim6A5CZxSbZ42KJD8SeBGOo6rVLCU] X-ClientProxiedBy: SI1PR02CA0039.apcprd02.prod.outlook.com (2603:1096:4:1f6::9) To OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:197::9) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2152:EE_|OSZP286MB1894:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ed253dd-2496-4beb-fcf9-08daf7d52201 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VHoHo3a/+Q+XjFWla8C1RFyzpnTaVittThnQMNO6WgRzq6rrEBg9Qj9Qd3fdot6+TIwbMIzvld3MkzSQcvS6x1Clb9RrkjlVShS8BnutaGIJPBEuoyjpvSe96IlJKZ538zsQkL+8BRz3gGtHu8vdPpcMhO6at73HlLAtJJh1VOYWBVdU/cQOysvgSrptX8OUr16EOhrBdDkJHnfLi+KGmInf2y1HK32HzD7lPVF0DCtCRGWqXNTSU0HyJ+yk5fp0qA8+uQwZfZ7PxP2lSeFXRfM1Bt7iLXPM8nyn2QMpx/RX4DPOn5vgYqklbGOcmoiBg1uR7495cyrDeTagi4dPHSmQQAKpEJRbe6HzUIe3pVgslASXU+r4AXofMkRMdHxCtGuunJ365eJLUD4QA38ZZHhUaa5MyC6DSUqk6KHPeqvd+mv3lCYxmIV8oAjMeX4tpiT2O2dhB/LTeJ8FOYr0wN8GoUtzd+DXz75E3ANllHc6Jn6jX17gGujzP565F8DF+GTjqtXqOQjmgRFN99bDbPdvG5NwyTMZPtWvc5FSG4MqZbsK+GOWTNOl0BSJtXuMNnlFdiqTNGOpxLcl/e+IfQ2BvuFy1yXToguwOzLm2u6+QuTr17tSxtDhOQZ9ChM3+vgT+eD44Pgz9QcjjiL1SQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?aGFd2kG5Nv04ag5QE8Yd5gIeiPJMdV/0flf63bZD2JOp0wZTFBU+DP25BCS4?= =?us-ascii?Q?E5GN69KgurMxabjnAHQa6nzhcFxcnT2YzkmbyWEqM03RdwXA71CfXTy92wMZ?= =?us-ascii?Q?h5cr5J1HT4FYnKqzFqvT1ZkyqAdB3bxK2nbiPg2H3vHVbRPJw+BIi6xyH/TJ?= =?us-ascii?Q?3rT/RppsgvFVevg839Z0pu3C6RiwxtJP+mbdO76uJkwIQK2X9Ms+aq5cbiuD?= =?us-ascii?Q?rETeu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ZH+aI1z9dOP?= =?us-ascii?Q?jdVBhfYtjxmWjIEbKSmOpoA7jEs/YiYg+PenCvAd+Ou9pmTSXYQDB02b1WC2?= =?us-ascii?Q?eSzhv420zwxoV7oqv11uapy7IY4aueVf9fMkYD/iijO7jHEOsDTt+toXW3EJ?= =?us-ascii?Q?DKSAXhozoA/Hnhjz9nz0P7NvfKdH9uyRpBB1+MzNIw=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 7ed253dd-2496-4beb-fcf9-08daf7d52201 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2023 15:20:00.0292 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB1894 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Enze Li via Gdb-patches Reply-To: Enze Li Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Mon, Jan 16 2023 at 01:51:07 PM +0000, Nick Alcock wrote: > On 14 Jan 2023, Enze Li via Binutils verbalised: > >> While trying to build gdb on latest openSUSE Tumbleweed, I noticed the >> following warning, >> >> checking for makeinfo... makeinfo --split-size=5000000 >> configure: WARNING: >> *** Makeinfo is too old. Info documentation will not be built. >> >> then I checked the version of makeinfo, it said, >> ====== >> $ makeinfo --version >> texi2any (GNU texinfo) 7.0.1 >> >> Copyright (C) 2022 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> ====== >> >> After digging a little bit, it became quite obvious that a dot is >> missing in regexp that makes it impossible to match versions higher than >> 7.0, and here's the solution: >> >> - | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev/null 2>&1; then >> + | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]\.[0-9])' >/dev/null 2>&1; then >> >> However, Eli pointed out that the solution above has another problem: it >> will stop working when Texinfo 10.1 will be released. Meanwhile, he >> suggested to solve this problem permanently. That is, we don't care >> about the minor version for Texinfo > 6.9, we only care about the major >> version. >> >> In this way, problem solved permanently, thanks to Eli. > > Looks good to me: approved. (I can commit it if you like.) > > This should probably also be backported to the 2.40 branch to keep the > latest released GNU tools building with the latest released GNU tools. Hi Nick, Thanks for your review. I'm checking this in now, and backporting it to the 2.40 branch as well. Best Regards, Enze