Return-Path: Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mail.openembedded.org (Postfix) with ESMTP id 437F27ED31 for ; Fri, 5 Jul 2019 11:19:04 +0000 (UTC) Received: by mail-ed1-f52.google.com with SMTP id k8so7913206edr.11 for ; Fri, 05 Jul 2019 04:19:05 -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=iFMpLtk8wIszjk763qb549bpT593nqz5rLfhdqzpfYU=; b=u0coW04apW64QRuc2kXjUzDZIHWYRbG8zVQSj5bYzSSwVHHvkJU8CONXPOpv5mENXf n9AWa4mOTRhzT3n7aJSB259Vsf1wKWjr3IH5yrVRJAxepYNK1Le5Fgn/jNG5URFo2ewM Wwy6dn3sDL7APQTMCF00jyfTKyrhla152OoM0UJGgFdAn1vaRZlc/K5Uaud9jpudm5nY aDKX2FUmFDX2ORjMNj/uO9GdXFKsV+cjZJr+kvUPxZ8+sGve+pQsjX+ZKxTYZUZae2bo Qf/K6Z8BzjUf/W1k73236iMPsFs53n+L90yE03ZAy/Imuct3rHmL+y4YdyVC4ndegtzX 5c5Q== 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=iFMpLtk8wIszjk763qb549bpT593nqz5rLfhdqzpfYU=; b=ierHVm/eW+67STX7IsYqYnbMOuWGA/HSKYe4MaLum1WZ4t4PlCtRh9yo0eVAGpz97V 45mL2ARerVF+C6MTecLhWKKQ5JjPxnuAQa2i4fubSNnKZTJUAGS1H9D9TZQcD4yh8QyX 1IvGa9kXFsCnm3hNTg0Gzr/0ouzgdSlK7JR42X/sOz3N8FHl5LGNn8GRIa16Eow2WFSD kVgV/gtC/pnRrPFYSukX4ZeSJZBpQKBHlv7XDqWLE76py8l2Uthw6utKm8BIRZ6kwgNF UTZW1FKSWQAarfer3srD9faGXdVY6Tg9q2Xr29MwZ8XlhQy4Jt9tIW9ylrwVuIhcOlZ2 6AfA== X-Gm-Message-State: APjAAAUpBxV4Ub/T9aRc6uZr89L7LsQw/AWcVWDXX8eDLk1Xjz7Q24Ld BEFD2dZ0PMuByGI8MOGAXnAO0LxdzoM= X-Google-Smtp-Source: APXvYqzS4XI4EQqXcMKa+xkT/9yGv4VjkxG+LHZqWErGmlgYW2RAg03FXSnZ7U7cAuzSRhVkQmirag== X-Received: by 2002:a17:906:1845:: with SMTP id w5mr3052347eje.0.1562325544713; Fri, 05 Jul 2019 04:19:04 -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.02 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 04:19:03 -0700 (PDT) Sender: Ricardo Ribalda Delgado From: Ricardo Ribalda Delgado To: openembedded-devel@lists.openembedded.org Date: Fri, 5 Jul 2019 13:18:16 +0200 Message-Id: <20190705111824.22255-16-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 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: Fri, 05 Jul 2019 11:19:04 -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..ad985cb 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" +PR = "r2" 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