All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ricardo Ribalda Delgado <ricardo@ribalda.com>
To: openembedded-devel@lists.openembedded.org
Cc: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Subject: [meta-java][PATCH 15/23] xalan-j: Do not use all as PACKAGE_ARCH
Date: Tue, 25 Jun 2019 09:52:15 +0200	[thread overview]
Message-ID: <20190625075223.13585-16-ricardo@ribalda.com> (raw)
In-Reply-To: <20190625075223.13585-1-ricardo@ribalda.com>

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: <module>
     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 <ricardo@ribalda.com>
---
 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



  parent reply	other threads:[~2019-06-25  7:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25  7:52 [meta-java][PATCH 00/23] Multiple patches for multiconfig Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 01/23] icedtea7: Add x11 as default pkgconfig Ricardo Ribalda Delgado
     [not found]   ` <3f5e60b7-c850-f052-88e7-cd41d1d4d65c@mikrodidakt.se>
     [not found]     ` <CAPybu_0Kpt2mTGBWpWC_7ZnNoM3gLEYn9S3kJnrshMBmqkurTA@mail.gmail.com>
     [not found]       ` <CAPybu_0XSbxwpbiUvCSf=fGfc7VpadRPNSZ9v-jSMi6wcHn-EQ@mail.gmail.com>
     [not found]         ` <11924260-4718-e57b-9684-728e5ded0a4f@mikrodidakt.se>
2019-06-25  9:05           ` Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 02/23] openjd7: remove support for kerberos Ricardo Ribalda Delgado
2019-06-25  9:41   ` Richard Leitner
2019-06-25 10:03     ` Ricardo Ribalda Delgado
2019-06-25 10:17       ` Richard Leitner
2019-06-25  7:52 ` [meta-java][PATCH 03/23] openjd8: " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 04/23] classpath: Fix build with targets aarch64 Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 05/23] jamvm: Do not build for aarch64 targets Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 06/23] cacao: " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 07/23] javasqlite: Create cc tool to make libtool happy Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 08/23] jdon: Fix location of S Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 09/23] rxtx: Fix path of javac Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 10/23] jamvm: Fix binary location for ecj-initial Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 11/23] cup: Do not use all as PACKAGE_ARCH Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 12/23] dbus-java: " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 13/23] rhino: " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 14/23] ca-certificates: Cannot be an allarch package Ricardo Ribalda Delgado
2019-06-25  7:52 ` Ricardo Ribalda Delgado [this message]
2019-06-25  7:52 ` [meta-java][PATCH 16/23] xom: Do not use all as PACKAGE_ARCH Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 17/23] jaxen: Do not build an all PACKAGE_ARCH Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 18/23] jlex: Do not build as " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 19/23] bsf: Do not build as " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 20/23] poi: " Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 21/23] xom: Allow re-running do_compile Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 22/23] jdom: Do not use all as PACKAGE_ARCH Ricardo Ribalda Delgado
2019-06-25  7:52 ` [meta-java][PATCH 23/23] dom4j: " Ricardo Ribalda Delgado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190625075223.13585-16-ricardo@ribalda.com \
    --to=ricardo@ribalda.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.