[oe] inetlib_1.1.1.bb (classpathx) doesn't install inetlib.jar to the sysroot

Miroslav Kes mkes at ra.rockwell.com
Thu Aug 18 11:25:27 UTC 2011


I have experienced this error when building the gnumail:

$ cat log.do_configure
...
checking if
/home/mkes/sources/linux/platform/oebase/builds/beagleboard_gnu/build/tmp/sysroots/i686-linux/usr/bin/javac
works... yes
checking for fastjar... fastjar
checking for
/home/mkes/sources/linux/platform/oebase/builds/beagleboard_gnu/build/tmp/sysroots/java/activation.jar...
yes
checking for
/home/mkes/sources/linux/platform/oebase/builds/beagleboard_gnu/build/tmp/sysroots/java/inetlib.jar...
configure: error: can't find inetlib.jar in specified path

Really, the inetlib_1.1.1.bb doesn't install the jar to the
${TMPDIR/sysroots/java. The logs show that the oe_jarinstall() is never
called with the -s option.

I have created a local overlay and added a call to the the java_stage i.e.

do_install_append() {
  java_install
  java_stage
}

This fixed the problem.

Regards

Mira Kes




More information about the Openembedded-devel mailing list