Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mGO3n-0007Jy-3l for mharc-grub-devel@gnu.org; Wed, 18 Aug 2021 12:04:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGO3l-0007Gp-QA for grub-devel@gnu.org; Wed, 18 Aug 2021 12:04:57 -0400 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:40456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGO3i-0002cp-P9 for grub-devel@gnu.org; Wed, 18 Aug 2021 12:04:57 -0400 Received: by mail-oi1-x22a.google.com with SMTP id r5so4001159oiw.7 for ; Wed, 18 Aug 2021 09:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=b5yrFYrw8CrLpKlYlYl1eQNZ2e+JtnVaYLhlSj/+jmE=; b=OIVtFZ0Hd/3xOKJKuDiAgMGJxh71Kd4zLmGb02xQWdHLk7brjDQwoAjCaZkzC14K0m KYSnglbgzeKDVGEytn61fYvsqoJ2wdQO7LgsFjs1E8rvgMboBhNMc7vRC9q8NL6MFurI 4d9QdWQmTldeA859b2u4PRcvME/xGnnj2oREyR0nv+/U79GR25TyjeVm65cKPEnl+z+p cfF8WbPExPFK8xN24aoFUgbLlfAqGdzN70OP4QoV3XqXzJ4ipqUnnJWRuzUj/Wu2earB 6YPY3dI07C4qpwomve2IRbXasOBAZDAuKbfpX+tMJ07ANQfbGHmHfNs8SocwYscEqXTF X2OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=b5yrFYrw8CrLpKlYlYl1eQNZ2e+JtnVaYLhlSj/+jmE=; b=k4GxR9XE7eWeLvUYnyKDJ3J8lJ+XXpJ0npDn3EQL/jfTpu9BDfvHHujMbos9cYvEwt v37afWoffvu0aWHQ/AlKet2vKIZLCbm+XhmmVa0cHU/sVmR4k5JwEWhDwRmFX7ohoiN8 UBv1Z8QM2iYPB3A5lMssIvT/mgjVQHnMS3yCqp5VUG2QBdNmOOJe7Qad3C5L1CEIL/zG XiF08Xd21f0Vj3UW0imf7mzw0B0OHiwBfXueA8+ErJDy/Kpy9p5wAUM7985o4rGJk2Kh iCD11dtf4NR1AeYznUl5gpZxP9Ylm21vfhacWK7ZdbKq4ThCd/16c+SETdp7Y0BkfLjZ TdDg== X-Gm-Message-State: AOAM533o3a1gB9167sVfzXhRuiFfSsapMraINxu5K2rD8Gvy8JwWMHF9 Um+k+2s83X51JlXslxqSpHxbvjFrXbA= X-Google-Smtp-Source: ABdhPJwdcK7lKLFJAXuuGr+xUBEo7o9c7elMTIbUI5Ac1+dui6xQyNuggWYK8R0mZVw2yoy0sGJi+A== X-Received: by 2002:a05:6808:1807:: with SMTP id bh7mr7790979oib.157.1629302691763; Wed, 18 Aug 2021 09:04:51 -0700 (PDT) Received: from [192.168.0.92] (cpe-70-94-157-206.satx.res.rr.com. [70.94.157.206]) by smtp.gmail.com with ESMTPSA id e20sm88294otj.4.2021.08.18.09.04.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Aug 2021 09:04:51 -0700 (PDT) Subject: Re: [PATCH 2/2] autogen.sh: Detect python To: grub-devel@gnu.org 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> From: Bruce Dubbs Message-ID: Date: Wed, 18 Aug 2021 11:04:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=bruce.dubbs@gmail.com; helo=mail-oi1-x22a.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.961, RCVD_IN_DNSWL_NONE=-0.0001, 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 16:04:58 -0000 On 8/18/21 1:19 AM, Petr Vorel wrote: >> 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). Actually all of Python 2 is EOL for the last year and a half. https://www.python.org/doc/sunset-python-2/ -- Bruce