All of lore.kernel.org
 help / color / mirror / Atom feed
* inetlib_1.1.1.bb (classpathx) doesn't install inetlib.jar to the sysroot
@ 2011-08-18 11:25 Miroslav Kes
  2011-08-19  5:56 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Miroslav Kes @ 2011-08-18 11:25 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inetlib_1.1.1.bb (classpathx) doesn't install inetlib.jar to the sysroot
  2011-08-18 11:25 inetlib_1.1.1.bb (classpathx) doesn't install inetlib.jar to the sysroot Miroslav Kes
@ 2011-08-19  5:56 ` Khem Raj
  2011-08-19  7:26   ` Miroslav Kes
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2011-08-19  5:56 UTC (permalink / raw)
  To: openembedded-devel

On 8/18/2011 4:25 AM, Miroslav Kes wrote:
> 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.

can you post a patch for this please ?

>
> Regards
>
> Mira Kes
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inetlib_1.1.1.bb (classpathx) doesn't install inetlib.jar to the sysroot
  2011-08-19  5:56 ` Khem Raj
@ 2011-08-19  7:26   ` Miroslav Kes
  0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Kes @ 2011-08-19  7:26 UTC (permalink / raw)
  To: openembedded-devel

---- patch begin -----

Index: classpathx/inetlib_1.1.1.bb
===================================================================
--- classpathx.orig/inetlib_1.1.1.bb
+++ 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 openembedded-devel@lists.openembedded.org
Sent by:        openembedded-devel-bounces@lists.openembedded.org
To:     openembedded-devel@lists.openembedded.org
cc:      
Subject:        Re: [oe] inetlib_1.1.1.bb (classpathx) doesn't install 
inetlib.jar to the sysroot

On 8/18/2011 4:25 AM, Miroslav Kes wrote:
> 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.

can you post a patch for this please ?

>
> Regards
>
> Mira Kes
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-19  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 11:25 inetlib_1.1.1.bb (classpathx) doesn't install inetlib.jar to the sysroot Miroslav Kes
2011-08-19  5:56 ` Khem Raj
2011-08-19  7:26   ` Miroslav Kes

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.