Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mGFrI-0001QV-R5 for mharc-grub-devel@gnu.org; Wed, 18 Aug 2021 03:19:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGFrG-0001Q4-CC for grub-devel@gnu.org; Wed, 18 Aug 2021 03:19:30 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:44510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGFrD-0000Oc-Jw for grub-devel@gnu.org; Wed, 18 Aug 2021 03:19:29 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 72D7022041; Wed, 18 Aug 2021 07:19:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1629271165; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1ocLoq6nPbXAQJku0xyJ2nORXlMNDrkYru1s0SjvMao=; b=fsPqBpeiqCEnAId5D5d2+XNE7XtnUiuD0VppjJEnRjGHrsr+0xEgtc10c8zgEYxGJMOndI UtMNWfh0OqTCLzIfPB5momSv5a5S08o4A3EFrrRjh3IxitNPKrb+3GYiFUZfK8S7THeSac 0JrNhfYNADKy/Nb6j1AtTsI7881ZPGc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1629271165; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1ocLoq6nPbXAQJku0xyJ2nORXlMNDrkYru1s0SjvMao=; b=uuV18IY3bgEJvxvbT6TPp4ONlOQOFnJSqYjWe4nh3G21RZkfYnRsQsn7wM/+WfC8RbLYpO 9jnkuQzGzsD0mkDQ== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 47784134B1; Wed, 18 Aug 2021 07:19:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id DE09D320HGG0ewAAGKfGzw (envelope-from ); Wed, 18 Aug 2021 07:19:25 +0000 Date: Wed, 18 Aug 2021 09:19:23 +0200 From: Petr Vorel To: Daniel Kiper Cc: grub-devel@gnu.org Subject: Re: [PATCH 2/2] autogen.sh: Detect python Message-ID: Reply-To: Petr Vorel References: <20210806064508.4489-1-pvorel@suse.cz> <20210806064508.4489-2-pvorel@suse.cz> <20210809115229.toe34etovoul62ss@tomti.i.net-space.pl> <20210809163605.bwmvx3cfn5zaiv4p@tomti.i.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210809163605.bwmvx3cfn5zaiv4p@tomti.i.net-space.pl> Received-SPF: pass client-ip=195.135.220.28; envelope-from=pvorel@suse.cz; helo=smtp-out1.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 07:19:30 -0000 > On Mon, Aug 09, 2021 at 01:52:29PM +0200, Daniel Kiper wrote: > > On Fri, Aug 06, 2021 at 08:45:08AM +0200, Petr Vorel wrote: > > > It help to avoid error on distros which has only python3 binary: > > > ./autogen.sh: line 20: python: command not found > > > Using bash builtin 'command -v' to avoid requiring which as extra > > > dependency (usable on containers). > > It looks the bash dependency is not specified in the INSTALL file in > > "The Requirements" section. May I ask you to add it? > ...and python requirement is missing from the list too. Additionally, > please update autogen.sh python usage in the INSTALL file. There is Python 2.6 or later, not sure if it still works on 2.6 (which is EOL) or it requires now 2.7). Also "If you use a development snapshot or want to hack on GRUB you may need the following." is obsolete (from 2009), I'll move python, autoconf and automake to the list on the top. > Last but not least, patch tool requirement is missing from INSTALL file too. > Of course this requires update to patch #1 in this series. I first thought "Other standard GNU/Unix tools" would cover it, but it does not harm to mention it (for those who compile on containers which have minimal dependencies). Kind regards, Petr > Daniel