From patchwork Thu Jan 9 01:43:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anibal Limon X-Patchwork-Id: 182798 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp3215913ile; Sun, 12 Jan 2020 10:01:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxH2QvyXVQkehpnRe9MxLB2QzMXRkzzQQMzk7mc7ZrU12XMnrjGbcUFXQIl6aE+mzb2HyUo X-Received: by 2002:a17:902:8f8e:: with SMTP id z14mr1817350plo.195.1578845556305; Sun, 12 Jan 2020 08:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578845556; cv=none; d=google.com; s=arc-20160816; b=DDknPsMLJUjON8Pmhszj/+tdsZZKfmJBzcO8/hsIqZtACs3cdC3DpRhsiD8QMexF27 D+H2vR+b0h3ivADTzXVCtJU0Lmy3l1gy8KgF2ndEsBufzIfvpGuj3b/rj8/pAMRit7EQ NNrHJziJAvX5fJAsrdugTUEscQex4tWinKq4qMSsY92d5n+pAqCd2Pdt96aEPBw/qSAM SIZQwQo7kBMDcBd1UgZgzdzqrzavsT/KMW/y0AdlPk09p5kQEYyu5UxnXuPMV4eMQemq K/ey6H05j6YLT0WK+Mm6IBh7z+eznfQ4R9jbvVI0399h7kSq4D4EOt94nFkhXOhpVoVc gCeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=RKCatz/jDQkZ0EAyV2ZyiYacn8VAu3KaWuJRpbNv6Rc=; b=bFUYpMblpJMw5SkjhyVR4qMs7aIt/sGE6UdmfYAKR7lJGPFzypiNNb7jt4fhV34vFp mxOO7gB+tvynKEoQ/IRSkZyZV+FleTXcb1FxacyYQiBx0SnpysxgQOokoynZHcRL3Smq kZtEHsgPcmuOnkJL1p3dPvi7VGDQqcA9fAZ9cXhkv8HkImCNgexXG/3UbWz0e7ohQ24A JA2WfeeztyEFG7M7A20DWrFAkOOkcE/My/cPifYsEEsyZYiiPCPOslUxqIkOCa6P49g6 o+fUIi8wzREGpPH9h+VnPgGtRTH4466c63ex3qTDLM4Murr1JIhqRzjsbogIdX94NLgc 52nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J7EgcvuF; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r24si8840097pfh.203.2020.01.12.08.12.36 for ; Sun, 12 Jan 2020 08:12:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J7EgcvuF; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0CE9F7FECD; Thu, 9 Jan 2020 01:43:12 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by mail.openembedded.org (Postfix) with ESMTP id 11AA87FED7 for ; Thu, 9 Jan 2020 01:43:09 +0000 (UTC) Received: by mail-ot1-f65.google.com with SMTP id a15so5682053otf.1 for ; Wed, 08 Jan 2020 17:43:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Mp+mUP1SgbF/5hk2D0JWgzlWgcPbPD6LiovOrfBiSFU=; b=J7EgcvuF70K2j1dgNLEw4yVnXpQHWLxhpodFYxfl0cb9GmNywJEhO8GdzfQgVOJOsY rTaOVDFXo/wXX1qltM1ctDwgs9gZBRVKmcOGvJwKccryvqk3RT9t98tg62BJ0hVbichM G+k94WlUe7yU6AwzfNOLMdZlb53vyAu29icuBhDo9TKTu7Yh1EPtAu1oK3zWDXFVFzhU Hwpfzkue0YJ+o33t0JTNTRr24wInTrAM2tmttNYch1ZUMBjiyoOIS2YQxzYshpkivB21 XJxOkHg3ngVN3H1qOlq3ykM664riyVVwBIfR6bzKV8T32sC6Go0FEcvLH/nSNZ8/W/DZ ubpg== 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=Mp+mUP1SgbF/5hk2D0JWgzlWgcPbPD6LiovOrfBiSFU=; b=pVXD8/Vjik+x7HOxK2ISMW5hN1mpqWJWIRwOOTiKMv+SHzIIJ7yV/0XmOimemeUl63 +jk/Zeb8/RgQbgeVIO44X+3BNqkMRvD/faC+MD98lk9XYzHNR65TuSvXDH8cAKalokVI SXcAkmOy7tzLKF2tpzNxFrvRffHT3ioMbFuKrsInITtglvWbKASXA/Fz4IJegPK99BP4 sJhmWLxIcl/oSIDUxWApVZYmhGEBc6YdJyWHc3erUYzg189LIttm49lDaGas/VGs6/sM tVuRfj8I5VeVoOGNbv8w4LQWkYA0FX381orIfJnyekZjDiLEC+eoQkNx0Ialpf/u7Zds o99g== X-Gm-Message-State: APjAAAUPsVi095pRP6NDuYIHXY/1bKNnvt/9Lg3fQVmhPTmRicvJiBmZ oWjOHc1BqT7WYOHt5VflKZsowEqg+rs= X-Received: by 2002:a05:6830:121a:: with SMTP id r26mr6461310otp.225.1578534189957; Wed, 08 Jan 2020 17:43:09 -0800 (PST) Received: from blackbox.rga.ip ([2806:109f:4:e36:908a:c7ff:fe6a:e9f5]) by smtp.gmail.com with ESMTPSA id a17sm1785832otp.66.2020.01.08.17.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 17:43:09 -0800 (PST) From: =?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= To: openembedded-core@lists.openembedded.org Date: Wed, 8 Jan 2020 19:43:07 -0600 Message-Id: <20200109014307.37924-1-anibal.limon@linaro.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] meta/classes/menson.bbclass: Add python3 dependency X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org The python3native.bbclass set PYTHON_{LIBRARY, INCLUDE_DIR} pointing to python target build, a patch was add to use target _sysconfigdata too [1] but is not available without python3 dependency. Fixes waffle build when trying to find _sysconfigdata module, ... | Program python3 found: YES (/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3) | | meson.build:36:0: ERROR: ['/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3']> is not a valid python or it is missing setuptools | | A full log can be found at /home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/build/meson-logs/meson-log.txt | WARNING: exit code 1 from a shell command. ... [1] http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6 Signed-off-by: Aníbal Limón --- meta/classes/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index 5c0139f02a..203efaf8ed 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -1,6 +1,6 @@ inherit siteinfo python3native -DEPENDS_append = " meson-native ninja-native" +DEPENDS_append = " meson-native ninja-native python3" # As Meson enforces out-of-tree builds we can just use cleandirs B = "${WORKDIR}/build"