From patchwork Fri Jan 13 14:42:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enze Li X-Patchwork-Id: 43355 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp306876wrt; Fri, 13 Jan 2023 06:43:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXty0MdggkayvI0y2nn7i2FFY0hmpmQV2rSFZ3Ebwg1aLvtF2H/a7FHvGccpfqPKNrxqJxA2 X-Received: by 2002:a17:906:280d:b0:7c1:65f5:7b95 with SMTP id r13-20020a170906280d00b007c165f57b95mr72904036ejc.26.1673620983366; Fri, 13 Jan 2023 06:43:03 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id wg4-20020a17090705c400b007adf3ed5d20si22184537ejb.376.2023.01.13.06.43.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 06:43:03 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=PA1gHKzU; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A26C338493ED for ; Fri, 13 Jan 2023 14:43:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A26C338493ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673620981; bh=gnF6M9cBIcmLF4rNCg5zIIMigPLBUhfkjsT+Su1oNrM=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=PA1gHKzU6mWtJSSBJ1+puIYlzLyfhuMwbIhDHHTuug3hgGTJaLiJrsSHKBEsaHVtr qkyZOnVyUgczGnretKKzS3AQkC/rLRHQedctzy4gwllHX+64+vN6tO7KpCpy97ZEJd H97sz7+ZHM5mYwJ4YKRkgKiXmbeszZUaBrXI4gAA= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2044.outbound.protection.outlook.com [40.92.98.44]) by sourceware.org (Postfix) with ESMTPS id 071D33858D37; Fri, 13 Jan 2023 14:42:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 071D33858D37 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cRAqAp97QBKEbhZz3JhfonOLRFo7insr6tZSgbuDdIMUMrFyvRTUMEJSKsWNcZ+noKChq1XDlAiEV2ljZb84GwROksI0Ut6YhMRCD5296+rz+aDGwA+W+LLb6xxPeUT83p1KjDxM9NeSLZZTCIFZOd5SuedyHO+Oep0mEAzk9B6F4DtOqZoIJn62gnioH+iBqs+RNekEpFclYur+/Wzq9m9Iu8X3VqfN7/Lp1hlVoLrRNCewmEDURjVIf2P9hq9VkH/1hbfMcfQLKh2RHXIl8QyAvJ6BGyfmPTMiSHmtY7t+ezC3UvQOWC8XxQX+DAqftdfqn5+5GrVeSx5idD19+Q== 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=gnF6M9cBIcmLF4rNCg5zIIMigPLBUhfkjsT+Su1oNrM=; b=TMpDKgdDQvBpL2HWiD8NpuohVK6cCRkQq8cqgU5cZetVW9l+m3HQiVXzYQSysisy8sdB/zAH8VDQ9Ryu6Rb28akmDgsi5qMZDJl4BaXTleDHhe8f0wms0Tn48/sXoz8KefSCBkmVkGbNG9lMSnrPqEHdS4y7ByzXUNyuqUeCWQqV7nS9XDmAG8xl+5cVpMH/7VVNJLMUoioECbxOj4lsodBkDOaoZw1Q6BfGlMUIyCiL57/jJMyOmzz/XxA/ysJT1LstY1hpuj2dGea2hNZICGnHt7JzPKwuWOCn/y+O1pcKVwSvC9RKexf5+2/CBYiRCz+Xp1nEKffEfn4wle1CMw== 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 OS3P286MB3256.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:213::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 14:42:48 +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; Fri, 13 Jan 2023 14:42:48 +0000 To: binutils@sourceware.org Cc: gdb-patches@sourceware.org, enze.li@gmx.com Subject: [PATCH] libctf: update regexp to allow makeinfo to build document Date: Fri, 13 Jan 2023 22:42:32 +0800 Message-ID: X-Mailer: git-send-email 2.39.0 X-TMN: [g/okwfUoO8UbgeL94Z4TsFekSFsKD7RE] X-ClientProxiedBy: SG2PR02CA0124.apcprd02.prod.outlook.com (2603:1096:4:188::9) To OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:197::9) X-Microsoft-Original-Message-ID: <20230113144232.11500-1-enze.li@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2152:EE_|OS3P286MB3256:EE_ X-MS-Office365-Filtering-Correlation-Id: 88c5009b-85e3-4adc-1fd8-08daf574705c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y3hxP7bO3LaddJ5DuICZ77fcLVuEn6Zi+CTyW8ijsQOEUiMzy7Q7N82w92sJzc6qfPJmrt1M1lsMgGpB+xWqwGs6rd6XF7wNK+WuX9Yn1+xKfPOhyictDA78veLZ+2neZqMdttzDVhG3SmLP7WfQXWQha/SabpA9hoJrC4OLV6UgKxezDrGFRAYBn17ogIax2+8hY7zfb7UdhjD1iJQjhSJ3tHXwkBO2QklcLA0eO7nAOJ4RLkpQmcVt4r/idmDFGvTnfHB03WazloJGpBtJtOVAZCLDEYhySzc4Vbbo+GUeBqGJ12Xyr4dgS+8HdyTqecM2ndYKNTAZayxsNx59Aofj2qvftD9yEeIuMBn6Aor2C2tTfse2BEN5/h3a7gUH1sLNdK5sZIX0T5+jFPCK9X6obs9ktskRbCTFYhrJSzVI0XQt6udsHxVkVz1UO8FQ4X4Bdc79xUdOUXjAFbmhxNqXf/O1/qvtFGjizziSyPIbjMwYFB+NeviVXm8aEdV0NJRJ3Xt/cU82XjlwhI9bAr1dS+694HVst+IaJNZ427/Le19fJfaVUW0zQJ3pNDw515qY+k/VzhOBUzIhZY2riA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: culeJRQZFhJNDs8C/IsJ3iDu1ZVjqhxYwxQzLEOIYVdlCmajg8rxIl11Zde1ab+Pndzfm67zPQ+shI+KBb/dBW9PWSnwPzhr1YZGwN0sxwOJ8mcwe8pdJeWKREMTwn2XpIRDMce1UuvVv4uACIer8fAUJSyOpw7wD9tVGxMtRAYYsGbX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/kIlQPB5yZo242R0iKNnMxeVY6MPNE74SJYY4y7lUIm8r9y1Gww== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 88c5009b-85e3-4adc-1fd8-08daf574705c X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 14:42:47.9717 (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: OS3P286MB3256 X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Enze Li via Binutils From: Enze Li Reply-To: Enze Li Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754918796517961428?= X-GMAIL-MSGID: =?utf-8?q?1754918796517961428?= 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. libctf/ChangeLog: * configure: Regenerated. * configure.ac: Update regexp to match versions higher than 7.0. --- libctf/configure | 2 +- libctf/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) base-commit: 6f9f448118eaeaf006f867a25699aef7d8c72770 diff --git a/libctf/configure b/libctf/configure index c22f7dffd2c..e9f7125edea 100755 --- a/libctf/configure +++ b/libctf/configure @@ -14864,7 +14864,7 @@ esac # We require texinfo to be 6.3 or later, for a working synindex # and validatemenus: otherwise we fall back to /bin/true. if ${MAKEINFO} --version \ - | 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 build_info=yes else build_info= diff --git a/libctf/configure.ac b/libctf/configure.ac index 1d0cf4d0fa5..4bc75736542 100644 --- a/libctf/configure.ac +++ b/libctf/configure.ac @@ -184,7 +184,7 @@ changequote(,) # We require texinfo to be 6.3 or later, for a working synindex # and validatemenus: otherwise we fall back to /bin/true. if ${MAKEINFO} --version \ - | 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 build_info=yes else build_info=