From patchwork Mon Nov 29 16:50:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gwenhael Goavec-Merou X-Patchwork-Id: 1561281 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J2rvH17sCz9sRR for ; Tue, 30 Nov 2021 03:50:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 58931404CF; Mon, 29 Nov 2021 16:50:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gReHefyA-iIL; Mon, 29 Nov 2021 16:50:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id A58F6404C3; Mon, 29 Nov 2021 16:50:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 237E71BF325 for ; Mon, 29 Nov 2021 16:50:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 127E481B10 for ; Mon, 29 Nov 2021 16:50:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q-fauggDu-oV for ; Mon, 29 Nov 2021 16:50:26 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by smtp1.osuosl.org (Postfix) with ESMTPS id 73B8B81B0A for ; Mon, 29 Nov 2021 16:50:26 +0000 (UTC) Received: from localhost.localdomain (unknown [78.252.129.8]) by smtp6-g21.free.fr (Postfix) with ESMTP id D71C0780313; Mon, 29 Nov 2021 17:50:23 +0100 (CET) From: Gwenhael Goavec-Merou To: buildroot@buildroot.org Date: Mon, 29 Nov 2021 17:50:01 +0100 Message-Id: <20211129165001.363636-2-gwenj@trabucayre.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211129165001.363636-1-gwenj@trabucayre.com> References: <20211129165001.363636-1-gwenj@trabucayre.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH/next 2/2] package/gnuradio: fix host python name X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gwenhael Goavec-Merou Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Gwenhael Goavec-Merou $(HOST_DIR)/bin/python symlink is only created when BR2_PACKAGE_PYTHON3 is set. When only host-python3 is used this symlink is not present and build fails with: -- User set python executable buildroot/output/host/bin/python -- Found PythonInterp: buildroot/output/host/bin/python (Required is at least version "2.7.6") CMake Error at cmake/Modules/GrPython.cmake:40 (if): if given arguments: "VERSION_EQUAL" "3" Unknown arguments specified Call Stack (most recent call first): CMakeLists.txt:368 (include) -- Configuring incomplete, errors occurred! This patch set explicitly PYTHON_EXECUTABLE to $(HOST_DIR)/bin/python3 Signed-off-by: Gwenhael Goavec-Merou --- package/gnuradio/gnuradio.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk index 5616039559..658357398d 100644 --- a/package/gnuradio/gnuradio.mk +++ b/package/gnuradio/gnuradio.mk @@ -29,7 +29,7 @@ GNURADIO_DEPENDENCIES = \ gmp GNURADIO_CONF_OPTS = \ - -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ -DENABLE_DEFAULT=OFF \ -DENABLE_VOLK=ON \ -DENABLE_GNURADIO_RUNTIME=ON \