[oe] build errors bitbaking gnumail_1.1.2.bb

Khem Raj raj.khem at gmail.com
Thu Sep 2 18:32:05 UTC 2010


Hi

When I bitbake above recipe for qemuarm/minimal it ends up with this error

| checking for a BSD-compatible install...
/scratch/oe/sysroots/x86_64-linux/usr/bin/install -c
| checking whether build environment is sane... yes
| checking for arm-oe-linux-gnueabi-strip... arm-oe-linux-gnueabi-strip
| checking for a thread-safe mkdir -p...
/scratch/oe/sysroots/x86_64-linux/usr/bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking if /scratch/oe/sysroots/x86_64-linux/usr/bin/javac works... yes
| checking for fastjar... fastjar
| checking for /scratch/oe/sysroots/java/activation.jar... yes
| checking for /scratch/oe/sysroots/java/inetlib.jar... configure:
error: can't find inetlib.jar in specified path


This jar file is actually staged in

./x86_64-linux/usr/share/java/inetlib.jar
./armv5te-oe-linux-gnueabi/usr/share/java/inetlib.jar


for native and target in my sysroot but then I looked into
/scratch/oe/sysroots/java/
and indeed it has some .jar there but not the one its looking for and
recipe specifically
asks to look into this location via

 EXTRA_OECONF = "\
  --with-inetlib-jar=${STAGING_DATADIR_JAVA} \
  --with-activation-jar=${STAGING_DATADIR_JAVA} \
  "


As Andy also found out that

we have

native.bbclass:
STAGING_DIR_JAVA = "${STAGING_DATADIR_JAVA_NATIVE}"

java.bbclass:
STAGING_DATADIR_JAVA ?= ${STAGING_DIR_JAVA}
STAGING_DATADIR_JAVA_NATIVE ?= ${STAGING_DATADIR_NATIVE}/java

Who sets what here ?

Thanks for your help

-Khem




More information about the Openembedded-devel mailing list