Skip to contentSkip to conversation

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

DISCUSSION Miroslav Kes 2 participants 3 messages Aug 18, 2011 – Aug 19, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 19 lines · Miroslav Kes

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.

Quoted 8 lines

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.

can you post a patch for this please ?

Quoted 9 lines

Regards

Mira Kes

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw

---- patch begin -----

inetlib_1.1.1.bb +1 -0
Index: classpathx/inetlib_1.1.1.bb
===================================================================
@@ -29,6 +29,7 @@ do_compile() {
 
 do_install_append() {
   java_install
+  java_stage
 }
 
 SRC_URI[md5sum] = "aaa24be4bc8d172ac675be8bdfa636ee"

----- patch end ------

Please respond to [email protected]

Sent by:        [email protected]
To:     [email protected]

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

Quoted 6 lines · Miroslav Kes

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

Quoted 4 lines

works... yes
checking for fastjar... fastjar
checking for

/home/mkes/sources/linux/platform/oebase/builds/beagleboard_gnu/build/tmp/sysroots/java/activation.jar...

Quoted 3 lines

yes
checking for

/home/mkes/sources/linux/platform/oebase/builds/beagleboard_gnu/build/tmp/sysroots/java/inetlib.jar...

Quoted 7 lines

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.

Quoted 7 lines

do_install_append() {
java_install
java_stage
}

This fixed the problem.

can you post a patch for this please ?

Quoted 9 lines

Regards

Mira Kes

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel