From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0NBVFybFEGNnIzEAWB0awg (envelope-from ) for ; Thu, 01 Sep 2022 10:43:50 -0400 Received: by simark.ca (Postfix, from userid 112) id 4F7741E4A7; Thu, 1 Sep 2022 10:43:50 -0400 (EDT) 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=mnC4YBGg; 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=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,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 D730D1E13B for ; Thu, 1 Sep 2022 10:43:49 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 87D933858283 for ; Thu, 1 Sep 2022 14:43:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87D933858283 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662043429; bh=oJxKZKgyI0jvSuqN6n+h1a6Qs+XWs89t06+zgiIQAj8=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=mnC4YBGg1cSDEJkgRqehAGyJYEQQVVGZGpi/Ax9QNxzkLtKj3Jux42b+xnB4D2Jjh G88vQblMBhIsCMPxYkaw+FchWtA4B3C9Un24ubcLNk1eDzLnqJqucvwfvPGHLA8E3D uZjDDBTUyw+J7pd8ghknN4vt+VrawfJkFYlMfMpk= Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 11C7B3858D1E for ; Thu, 1 Sep 2022 14:43:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 11C7B3858D1E Received: from [172.16.0.64] (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id C050F1E13B; Thu, 1 Sep 2022 10:43:29 -0400 (EDT) Message-ID: <095e64ca-4595-188a-c28f-70080b0133b5@simark.ca> Date: Thu, 1 Sep 2022 10:43:29 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH][gdb/build] Add gdb/contrib/makeinfo-dummy.sh Content-Language: fr To: Tom de Vries , gdb-patches@sourceware.org References: <20220901095108.GA29248@delia> In-Reply-To: <20220901095108.GA29248@delia> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 9/1/22 05:51, Tom de Vries via Gdb-patches wrote: > Hi, > > Currently, we cannot build gdb without makeinfo installed. > > It would be convenient to work around this by using the configure flag > MAKEINFO=/usr/bin/true or some such, but that doesn't work because top-level > configure requires a makeinfo of at least version 4.7, and that version check > fails for /usr/bin/true, so we end up with MAKEINFO=missing instead. > > Work around this by adding a script gdb/contrib/makeinfo-dummy.sh that can be > used instead, like so: > ... > $ ./src/configure MAKEINFO=$src/gdb/contrib/makeinfo-dummy.sh > ... > > The script merely prints the version string that satisfies the version check > in $src/configure. > > Tested on x86_64-linux, with makeinfo removed. > > Any comments? I wouldn't mind having this if it helps you. This file would probably belong in $top_level/contrib more than $top_level/gdb/contrib. Just in case that would work for you, in this case I have been using: $ ./configure $ make MAKEINFO=/bin/true and that worked fine so far. Simon