Return-Path: Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) by mail.openembedded.org (Postfix) with ESMTP id 1DAF97ED1C for ; Fri, 5 Jul 2019 11:19:00 +0000 (UTC) Received: by mail-ed1-f67.google.com with SMTP id i11so7953520edq.0 for ; Fri, 05 Jul 2019 04:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sU9+A6b5ky/7aFiV4NU4nMHNRnVX/Zyq8P+3C8063u4=; b=dEMOUfOiO/33q95MeX9cLdZROr9AFNbAxS52y0GOcp+nHCKhmT3gPHK/TN17SVlIeM WYz2bkTisJD5qGeojG0O9IEOwxzsUIKwk/ayU2zFZ4yELtjPLy39JmNf35seZN3mYvuV 6XzoYcnc/i9lbGwIws2sJ+P9W2YJxeoStsyCF6oUp0CWub+CosplygH8lKV+qdgZjyof 3UqmoWPaPy1vbMp6eororJI5b0Jjwc6xTGxucltEBnSu6Vh1b0/Ziop6jCaUv/Zqp3pV yhKC9kagVRnexuO2Nkqo8E50dZZAt+GfPJaJowCjaAYEEWnimOM7eGelJ52LtqVDC0Vl 3LGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=sU9+A6b5ky/7aFiV4NU4nMHNRnVX/Zyq8P+3C8063u4=; b=DJgsbpq6/OiDzDOMT8YZ5Wb5ViYuBdTydViJl9YIPvOvnqFCRL5JPfleTBn+L5Esi9 8VQQQLEd/kaMyUMxU4sGLergUvInzXu0pMLwF21dr9S1HxEhXfIfPDJErtKShHXlZyqR Rn6gkh4EUsDyPOHe6PKUT0xVQpdZ73jSFX7saEyqTLLly0R7RD0wxGX97a4J7dMNOOS3 r0SlFt9sQBW+V0quT3NJ1d1YhOfg666HA2SrNvUTi+/odoBzyrU0Tse/CPX0/JEa+22r cpOXmpwXMo+pkBXK5CGvmpPPuNMbbD3eLFShDMHK3OjubD+w0Txwwlu2Ac34+13WOoow rIwQ== X-Gm-Message-State: APjAAAVfSvd/qeoa7E+sLPO3eRJCA6IKYNpMSjTHb8fPT95eBcTKeJ8V aDJ7ZSwFlE5c+okcnPpFDiGrFArG09g= X-Google-Smtp-Source: APXvYqzu1WKkqG4B5GRE0Tj12vwsGNUoq/UFD1JRFrRwkdzFRLDvBLgi90lsb4iY6jMSclXtLJAuvg== X-Received: by 2002:a05:6402:12d2:: with SMTP id k18mr3805306edx.197.1562325541601; Fri, 05 Jul 2019 04:19:01 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h10sm136604edh.64.2019.07.05.04.19.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 04:19:00 -0700 (PDT) Sender: Ricardo Ribalda Delgado From: Ricardo Ribalda Delgado To: openembedded-devel@lists.openembedded.org Date: Fri, 5 Jul 2019 13:18:14 +0200 Message-Id: <20190705111824.22255-14-ricardo@ribalda.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705111824.22255-1-ricardo@ribalda.com> References: <20190705111824.22255-1-ricardo@ribalda.com> MIME-Version: 1.0 Cc: Ricardo Ribalda Delgado Subject: [meta-java][PATCH v4 13/23] rhino: Do not use all as PACKAGE_ARCH X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2019 11:19:01 -0000 Content-Transfer-Encoding: 8bit rhino has RDEPEND that are not PACKAGE_ARCH=all Fixes: ERROR: mc:inteli7:rhino-1.7r4-r0 do_package_write_deb_setscene: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_package_write_deb_setscene(d) 0003: File: '/workdir/repo/poky/meta/classes/package_deb.bbclass', lineno: 296, function: do_package_write_deb_setscene 0292: 0293: if os.access(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN"),os.R_OK): 0294: os.unlink(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN")) 0295: *** 0296: sstate_setscene(d) 0297:} 0298:addtask do_package_write_deb_setscene 0299: 0300:python () { Signed-off-by: Ricardo Ribalda Delgado --- recipes-core/rhino/rhino_1.7r4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/rhino/rhino_1.7r4.bb b/recipes-core/rhino/rhino_1.7r4.bb index 0a84473..4242005 100644 --- a/recipes-core/rhino/rhino_1.7r4.bb +++ b/recipes-core/rhino/rhino_1.7r4.bb @@ -6,6 +6,8 @@ DEPENDS_class-native += "classpath-native" BBCLASSEXTEND = "native" +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit java-library SRC_URI = "\ -- 2.20.1