From patchwork Sun Oct 20 08:28:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 1179961 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=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qKP6a6X3"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46wtFj15h6z9sP6 for ; Sun, 20 Oct 2019 19:28:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 96ED3879DA; Sun, 20 Oct 2019 08:28:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tqGODsOmSRkQ; Sun, 20 Oct 2019 08:28:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 59D7A879EF; Sun, 20 Oct 2019 08:28:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 954E91BF4E2 for ; Sun, 20 Oct 2019 08:28:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9195B2013C for ; Sun, 20 Oct 2019 08:28:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eiCWvuPoetbC for ; Sun, 20 Oct 2019 08:28:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by silver.osuosl.org (Postfix) with ESMTPS id 58B0520115 for ; Sun, 20 Oct 2019 08:28:19 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id x127so6411549pfb.7 for ; Sun, 20 Oct 2019 01:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MRGS6z4kD3El1JNSoAQMc7u2/VxNdqmEptCzJhzKAXg=; b=qKP6a6X3MDhufg7koVRdTORfhi9LipRXHbQCP+HamZfVJ4G49PCB3ttJSChTEWDg+1 R8TIYQknXtwFzNEN7I8tJyVpkoSd2zruPIAJLxUilHJDfpIhOLDrwGc0vimFyzahyXri mPQPy1gP4Eo8QNM/KTShJCYtlgjYcNuSf07GuhQ67nSPPqdq9RngDIiAT7zwnF6ozz9B YbOKVZw0zQtYtSRq5dK35Sd1gbnCP2uQ58hh/9i6K62otjWZ58oithgj48QHPUw0gf/z J8WJ4+J6B0xfgvQMoSa1t/zLla4TSPzNSRmvJy4gMPHAbW/HnOQSYMTYEV0Jnurq87Ul UvXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MRGS6z4kD3El1JNSoAQMc7u2/VxNdqmEptCzJhzKAXg=; b=lmolhrVkBDCLTmqTupmSSCJkmbDJ1pBSeqWQIVgK/zwTrfQ8Nu58OSadJkCeopCqgs 1pcUbEC6Wg8mfDEAFUJWlxqLevaRqBQMKcxw8cykz5dICWyuQWu7p4pCGug0YwCjhj+z hphSt06X2vhepGVZuLojgmeKOz+l873x3zg4Y0amo4VxjDiMckHl80DL20OPqJ5rSoQk fwrtRy6GrDikbaQK8vusP5TZ43xTIwbvjJn1QvjayQ9pxB/KNgC1YH65m0ypr4vb1Mlv BvFMr/3USQNdEK6/BBt6VOYK11J4eU3I4w+m/5tlMO8659h3+XLyz1ON4+BnQRp2+zFw f9gQ== X-Gm-Message-State: APjAAAV6hR45zvW39dC/HaQgM9ilSa6b10jsYUoEHnG9lWfMVyIUIdNL HDP3Pp7TdbCkjz62pslVg+QKpTwr X-Google-Smtp-Source: APXvYqyLFZN/Wh25rcUGxriF1klzr2LWKLS6LBFvZzIz6iL1AWgH79zx574pxTLX0mcEmY3qoGQgsQ== X-Received: by 2002:a63:cb0f:: with SMTP id p15mr16975960pgg.81.1571560098458; Sun, 20 Oct 2019 01:28:18 -0700 (PDT) Received: from chrisp-dl.atlnz.lc ([2001:df5:b000:22:416:b45f:534b:826c]) by smtp.gmail.com with ESMTPSA id m12sm13639421pff.66.2019.10.20.01.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 01:28:17 -0700 (PDT) From: Chris Packham To: buildroot@buildroot.org Date: Sun, 20 Oct 2019 21:28:08 +1300 Message-Id: <20191020082808.15908-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] micropython: require python3 on the host X-BeenThere: buildroot@busybox.net 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" There are some scripts used when building micropython that require python3 on the build host. Use BR2_PYTHON3_HOST_DEPENDENCY so this can be either be satisfied by installing it on the build host or by building the host-python3 package. Fixes: - http://autobuild.buildroot.net/results/b85b2214576030026a8e04d142a77a2648379417/ Signed-off-by: Chris Packham --- package/micropython/micropython.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/micropython/micropython.mk b/package/micropython/micropython.mk index 5824b4ab18..a5b8218d1f 100644 --- a/package/micropython/micropython.mk +++ b/package/micropython/micropython.mk @@ -8,7 +8,7 @@ MICROPYTHON_VERSION = 1.11 MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION)) MICROPYTHON_LICENSE = MIT MICROPYTHON_LICENSE_FILES = LICENSE -MICROPYTHON_DEPENDENCIES = host-pkgconf libffi +MICROPYTHON_DEPENDENCIES = host-pkgconf libffi $(BR2_PYTHON3_HOST_DEPENDENCY) # Set GIT_DIR so package won't use buildroot's version number MICROPYTHON_MAKE_ENV = \