Return-Path: Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by mail.openembedded.org (Postfix) with ESMTP id 339547DD6E for ; Tue, 25 Jun 2019 07:52:47 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id p15so25695894eds.8 for ; Tue, 25 Jun 2019 00:52:48 -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=sKvf86NsyrbgE9kmiCKTrfl+t6prK8Hx3eT0PnFbAtI=; b=X0qudz6DWFubWMpu6Jp8OzCk0d5MtFKTfqavMNXU0teD3OjPxazRKtMUGpA3GmdsnB UNCTnGSNx6JYM0kdK2FFqcYWYdYkc2gCmyJuZrei3o6sCTHsnOQabelUNxaYifm8S6TO XbPPqM+CI4x4thN2QklAPPL+lusj/d/t9ES8I9ZWS3mz/3NFrpzy+AnJBJ1DBwDWen35 f2pvTgcflu/obRiFrhW696yV1ThK2egCT9ry4lEtZVB70SJIEz9uu0vHBNyoJ9CWKzWg eatAHRAOCeFWUIaoYtfb872PbhUUDJ93FsYCPviXeV6YBGXtpOGAspJGXZcGTqIWEnwI banw== 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=sKvf86NsyrbgE9kmiCKTrfl+t6prK8Hx3eT0PnFbAtI=; b=jI5nffQl3JPc3hsZ8WD+aDnckMH6iVV8Y+y4lDAE/LQbJtIM8W6Fqg12tGfSugjK33 ycK0Yf2tylPDjQ66BurHWyoxBebKLYxEQKHArZKsT4cCy9Eu9v6OVVvRiWxOTi+ocBtx KgtHYAzIV84d4k6m6oPGnQ2uoXXmJCcv1mC2v8vj02uFT6Jw8Cx7qySaSqL2utzT2l0N 0NfZIuzpR7Wvjqo3GRNBS6ZHOBWJqxmKKF0X3S/WnDmzMsgN0zK5GM7H+MgJsuP7nKbg NFiXdhzCeI9NcKmJXBP4UPOcikTczgqg9POorV2Gof0lyGcQDR1U1P7UcIHJEr4/MWli zw6A== X-Gm-Message-State: APjAAAW+ihD/YWx0u8S3IJoq0pXBImPUBNHvVjQPyDnE2/hiyXhdcVTa 9V6vRGJEK68ujkFFBTh+oSvhnkSrUIU= X-Google-Smtp-Source: APXvYqyXCXSai6+6+V4dYL5Qqo7k02EoUQL+bdcDvHAI9ZV4DlvLO9Mk2UZOaZ+CDMbJJZ4b2MQtdw== X-Received: by 2002:a50:a56b:: with SMTP id z40mr118055655edb.99.1561449167760; Tue, 25 Jun 2019 00:52:47 -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 y22sm4308640edw.94.2019.06.25.00.52.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 00:52:46 -0700 (PDT) Sender: Ricardo Ribalda Delgado From: Ricardo Ribalda Delgado To: openembedded-devel@lists.openembedded.org Date: Tue, 25 Jun 2019 09:52:15 +0200 Message-Id: <20190625075223.13585-16-ricardo@ribalda.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190625075223.13585-1-ricardo@ribalda.com> References: <20190625075223.13585-1-ricardo@ribalda.com> MIME-Version: 1.0 Cc: Ricardo Ribalda Delgado Subject: [meta-java][PATCH 15/23] xalan-j: 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: Tue, 25 Jun 2019 07:52:47 -0000 Content-Transfer-Encoding: 8bit It has DEPENDS that are not -native. Fixes: ERROR: mc:inteli7:xalan-j-2.7.1-r1 do_package: 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:emit_pkgdata(d) 0003: File: '/workdir/repo/poky/meta/classes/package.bbclass', lineno: 1502, function: emit_pkgdata 1498: allow_empty = d.getVar('ALLOW_EMPTY_%s' % pkg) 1499: if not allow_empty: 1500: allow_empty = d.getVar('ALLOW_EMPTY') 1501: root = "%s/%s" % (pkgdest, pkg) *** 1502: os.chdir(root) 1503: g = glob('*') 1504: if g or allow_empty == "1": 1505: # Symlinks needed for reverse lookups (from the final package name) 1506: subdata_sym = pkgdatadir + "/runtime-reverse/%s" % pkgval Exception: FileNotFoundError: [Errno 2] No such file or directory: '/workdir/build/tmp/work/all-poky-linux/xalan-j/2.7.1-r1/packages-split/xalan-j-src' Signed-off-by: Ricardo Ribalda Delgado --- recipes-core/xalan-j/xalan-j_2.7.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-core/xalan-j/xalan-j_2.7.1.bb b/recipes-core/xalan-j/xalan-j_2.7.1.bb index 7c68fba..922e293 100644 --- a/recipes-core/xalan-j/xalan-j_2.7.1.bb +++ b/recipes-core/xalan-j/xalan-j_2.7.1.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \ AUTHOR = "Apache Software Foundation" HOMEPAGE = "http://xml.apache.org/xalan-j" -PR = "r1" +PE = "1" DEPENDS = "xerces-j regexp jlex cup jaxp1.3 bcel" @@ -18,6 +18,8 @@ SRC_URI = "\ S = "${WORKDIR}/${BPN}_2_7_1" +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit java-library JPN = "libxalan2-java" -- 2.20.1