From patchwork Mon Nov 29 16:50:00 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: 1561282 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::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4J2rvT3qk3z9sRR for ; Tue, 30 Nov 2021 03:50:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4684A4024F; Mon, 29 Nov 2021 16:50:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YZ9fscOicpVm; Mon, 29 Nov 2021 16:50:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 6B66C401F3; Mon, 29 Nov 2021 16:50:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E2FAC1BF325 for ; Mon, 29 Nov 2021 16:50:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id D1A47401F3 for ; Mon, 29 Nov 2021 16:50:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v8-kQ0rS8wtf for ; Mon, 29 Nov 2021 16:50:27 +0000 (UTC) X-Greylist: delayed 00:56:27 by SQLgrey-1.8.0 Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [IPv6:2a01:e0c:1:1599::15]) by smtp2.osuosl.org (Postfix) with ESMTPS id DC17640128 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 95D14780371; Mon, 29 Nov 2021 17:50:23 +0100 (CET) From: Gwenhael Goavec-Merou To: buildroot@buildroot.org Date: Mon, 29 Nov 2021 17:50:00 +0100 Message-Id: <20211129165001.363636-1-gwenj@trabucayre.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH/next 1/2] package/gnuradio: force python3-six 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-python-six needs host-python (aka python2) but since commit e9df5b0fc3f6e8bb36deedefb392bbc968116ee7 python-mako is python3 only. python-six is build using python2 and python-mako with python3 and gnuradio build fails with: -- Python checking for python >= 2.7 -- Python checking for python >= 2.7 - found --- -- Python checking for mako >= 0.4.2 -- Python checking for mako >= 0.4.2 - not found This patch force the use of host-python3-six to be coherent Fixes: - http://autobuild.buildroot.net/results/2685fb00883e6936e24ca1f17b693e6e1c13c9fa 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 2272a1162a..5616039559 100644 --- a/package/gnuradio/gnuradio.mk +++ b/package/gnuradio/gnuradio.mk @@ -22,7 +22,7 @@ endif GNURADIO_DEPENDENCIES = \ host-python3 \ host-python-mako \ - host-python-six \ + host-python3-six \ host-swig \ boost \ log4cpp \ 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 \