All of lore.kernel.org
 help / color / mirror / Atom feed
* building classpath / ecj-initial fails
@ 2010-01-09 20:47 Chris Veigl
  2010-01-09 22:11 ` Henning Heinold
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Veigl @ 2010-01-09 20:47 UTC (permalink / raw)
  To: openembedded-devel

Hi all,

  I ran into problems when bitbaking java-related stuff for the 
  OMAP3-platforms (gumstix-overo, beagleboard)
  in the current org.openembedded.dev environment:

  I receive the following error at task 
  /recipes/classpath/classpath-native_0.97.2.bb, do_configure

"checking if /media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/ecj-initial
works... configure: error: The Java compiler
/media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/ecj-initial failed (see
config.log, check the CLASSPATH?)"

  the problem seems to be that jamvm-initial (which is called by ecj-initial)
  produces a memory-allocation fault (maybe related to the argument -Xmx1024m ?)

  I found similar problems browsing the OE-build stats and the web, 
  but no hints for a solution ..

any help or comments very much apprechiated,
regards,
Chris




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

* Re: building classpath / ecj-initial fails
  2010-01-09 20:47 building classpath / ecj-initial fails Chris Veigl
@ 2010-01-09 22:11 ` Henning Heinold
  2010-01-11  9:27   ` Chris Veigl
  0 siblings, 1 reply; 12+ messages in thread
From: Henning Heinold @ 2010-01-09 22:11 UTC (permalink / raw)
  To: openembedded-devel

Hi,

jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98  yet as default
because there were some issues with cacao. So add
PREFFERED_VERSION_classpath = "0.98" 
to your local.conf and it should work.

Bye Henning



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

* Re: building classpath / ecj-initial fails
  2010-01-09 22:11 ` Henning Heinold
@ 2010-01-11  9:27   ` Chris Veigl
  2010-01-11  9:40     ` Martin Jansa
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Veigl @ 2010-01-11  9:27 UTC (permalink / raw)
  To: openembedded-devel


Dear Henning,

thank you for the fast response,

> jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98  yet as default
> because there were some issues with cacao. So add
> PREFFERED_VERSION_classpath = "0.98" 
> to your local.conf and it should work.

after my first rebuild i did not notice any effect,
then i relalized the type in "PREFERRED_VERSION_classpath" ;-)

after that changed, i still got the same error,
because the problem happens at the config of classpath_native... 

i then deleted my tmp folder and gave it another try, using
the settings recommended at http://wiki.openembedded.net/index.php/Java :

PREFERRED_VERSION_jamvm-initial = "1.4.5"
PREFERRED_VERSION_classpath-initial = "0.93"

PREFERRED_VERSION_jamvm-native = "1.5.3"
PREFERRED_VERSION_classpath-native = "0.98"

PREFERRED_VERSION_jamvm = "1.5.2"
PREFERRED_VERSION_classpath = "0.98"

PREFERRED_VERSION_libecj-bootstrap = "3.4"


Unfortunately, i ran into a different error using this configuration:

task 1610 of 7888 (ID: 3738,
/media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
native_0.98.bb,
do_compile)
ERROR: function do_compile failed

/media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
| 	  ./gnu/classpath/tools/gjdoc/expr/java-expression.g
| Unrecognised command line option: -o


any ideas what is going wrong now ?
regards,
chris




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

* Re: building classpath / ecj-initial fails
  2010-01-11  9:27   ` Chris Veigl
@ 2010-01-11  9:40     ` Martin Jansa
  2010-01-11 14:18       ` Jaap de Jong
  2010-01-11 20:57       ` Chris Veigl
  0 siblings, 2 replies; 12+ messages in thread
From: Martin Jansa @ 2010-01-11  9:40 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Jan 11, 2010 at 09:27:00AM +0000, Chris Veigl wrote:
> 
> Dear Henning,
> 
> thank you for the fast response,
> 
> > jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98  yet as default
> > because there were some issues with cacao. So add
> > PREFFERED_VERSION_classpath = "0.98" 
> > to your local.conf and it should work.
> 
> after my first rebuild i did not notice any effect,
> then i relalized the type in "PREFERRED_VERSION_classpath" ;-)
> 
> after that changed, i still got the same error,
> because the problem happens at the config of classpath_native... 
> 
> i then deleted my tmp folder and gave it another try, using
> the settings recommended at http://wiki.openembedded.net/index.php/Java :
> 
> PREFERRED_VERSION_jamvm-initial = "1.4.5"
> PREFERRED_VERSION_classpath-initial = "0.93"
> 
> PREFERRED_VERSION_jamvm-native = "1.5.3"
> PREFERRED_VERSION_classpath-native = "0.98"
> 
> PREFERRED_VERSION_jamvm = "1.5.2"
> PREFERRED_VERSION_classpath = "0.98"
> 
> PREFERRED_VERSION_libecj-bootstrap = "3.4"
> 
> 
> Unfortunately, i ran into a different error using this configuration:
> 
> task 1610 of 7888 (ID: 3738,
> /media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
> native_0.98.bb,
> do_compile)
> ERROR: function do_compile failed
> 
> /media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
> antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
> | 	  ./gnu/classpath/tools/gjdoc/expr/java-expression.g
> | Unrecognised command line option: -o

git pull.. se my commit yesterday

> any ideas what is going wrong now ?
> regards,
> chris

Regards,

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



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

* Re: building classpath / ecj-initial fails
  2010-01-11  9:40     ` Martin Jansa
@ 2010-01-11 14:18       ` Jaap de Jong
  2010-01-11 15:51         ` dfoley
  2010-01-11 19:01         ` Dallas Foley
  2010-01-11 20:57       ` Chris Veigl
  1 sibling, 2 replies; 12+ messages in thread
From: Jaap de Jong @ 2010-01-11 14:18 UTC (permalink / raw)
  To: openembedded-devel

Hi Henning,

My approach after many unsuccessful attempts:

	- install
		apt-get install sun-java6-jdk
	- edit local.conf 
		ASSUME_PROVIDED += " ecj-initial "
		ASSUME_PROVIDED += " virtual/java-initial "
		ASSUME_PROVIDED += " virtual/java-native "
		ASSUME_PROVIDED += " virtual/javac-native "
		PREFERRED_PROVIDER_classpath = "classpath"
		PREFERRED_VERSION_classpath = "0.97.2"
	- bitbake cacao

Could not get jamvm nor classpath 0.98 compiled.

Regards,
Jaap


On Mon, 2010-01-11 at 10:40 +0100, Martin Jansa wrote:
> On Mon, Jan 11, 2010 at 09:27:00AM +0000, Chris Veigl wrote:
> > 
> > Dear Henning,
> > 
> > thank you for the fast response,
> > 
> > > jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98  yet as default
> > > because there were some issues with cacao. So add
> > > PREFFERED_VERSION_classpath = "0.98" 
> > > to your local.conf and it should work.
> > 
> > after my first rebuild i did not notice any effect,
> > then i relalized the type in "PREFERRED_VERSION_classpath" ;-)
> > 
> > after that changed, i still got the same error,
> > because the problem happens at the config of classpath_native... 
> > 
> > i then deleted my tmp folder and gave it another try, using
> > the settings recommended at http://wiki.openembedded.net/index.php/Java :
> > 
> > PREFERRED_VERSION_jamvm-initial = "1.4.5"
> > PREFERRED_VERSION_classpath-initial = "0.93"
> > 
> > PREFERRED_VERSION_jamvm-native = "1.5.3"
> > PREFERRED_VERSION_classpath-native = "0.98"
> > 
> > PREFERRED_VERSION_jamvm = "1.5.2"
> > PREFERRED_VERSION_classpath = "0.98"
> > 
> > PREFERRED_VERSION_libecj-bootstrap = "3.4"
> > 
> > 
> > Unfortunately, i ran into a different error using this configuration:
> > 
> > task 1610 of 7888 (ID: 3738,
> > /media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
> > native_0.98.bb,
> > do_compile)
> > ERROR: function do_compile failed
> > 
> > /media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
> > antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
> > | 	  ./gnu/classpath/tools/gjdoc/expr/java-expression.g
> > | Unrecognised command line option: -o
> 
> git pull.. se my commit yesterday
> 
> > any ideas what is going wrong now ?
> > regards,
> > chris
> 
> Regards,
> 





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

* Re: building classpath / ecj-initial fails
  2010-01-11 14:18       ` Jaap de Jong
@ 2010-01-11 15:51         ` dfoley
  2010-01-11 19:01         ` Dallas Foley
  1 sibling, 0 replies; 12+ messages in thread
From: dfoley @ 2010-01-11 15:51 UTC (permalink / raw)
  To: openembedded-devel

Jaap de Jong wrote:
> Hi Henning,
> 
> My approach after many unsuccessful attempts:
> 
> 	- install
> 		apt-get install sun-java6-jdk
> 	- edit local.conf 
> 		ASSUME_PROVIDED += " ecj-initial "
> 		ASSUME_PROVIDED += " virtual/java-initial "
> 		ASSUME_PROVIDED += " virtual/java-native "
> 		ASSUME_PROVIDED += " virtual/javac-native "
> 		PREFERRED_PROVIDER_classpath = "classpath"
> 		PREFERRED_VERSION_classpath = "0.97.2"
> 	- bitbake cacao
> 
> Could not get jamvm nor classpath 0.98 compiled.
> 
> Regards,
> Jaap

Could you try changing "-Xmx1024m" to "-Xmx512m" in recipes/ecj/files/ecj.in
and I think rebuilding ecj-bootstrap-native and ecj-initial.
It worked for me.

> 
> 
> On Mon, 2010-01-11 at 10:40 +0100, Martin Jansa wrote:
>> On Mon, Jan 11, 2010 at 09:27:00AM +0000, Chris Veigl wrote:
>>> Dear Henning,
>>>
>>> thank you for the fast response,
>>>
>>>> jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98  yet as default
>>>> because there were some issues with cacao. So add
>>>> PREFFERED_VERSION_classpath = "0.98" 
>>>> to your local.conf and it should work.
>>> after my first rebuild i did not notice any effect,
>>> then i relalized the type in "PREFERRED_VERSION_classpath" ;-)
>>>
>>> after that changed, i still got the same error,
>>> because the problem happens at the config of classpath_native... 
>>>
>>> i then deleted my tmp folder and gave it another try, using
>>> the settings recommended at http://wiki.openembedded.net/index.php/Java :
>>>
>>> PREFERRED_VERSION_jamvm-initial = "1.4.5"
>>> PREFERRED_VERSION_classpath-initial = "0.93"
>>>
>>> PREFERRED_VERSION_jamvm-native = "1.5.3"
>>> PREFERRED_VERSION_classpath-native = "0.98"
>>>
>>> PREFERRED_VERSION_jamvm = "1.5.2"
>>> PREFERRED_VERSION_classpath = "0.98"
>>>
>>> PREFERRED_VERSION_libecj-bootstrap = "3.4"
>>>
>>>
>>> Unfortunately, i ran into a different error using this configuration:
>>>
>>> task 1610 of 7888 (ID: 3738,
>>> /media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
>>> native_0.98.bb,
>>> do_compile)
>>> ERROR: function do_compile failed
>>>
>>> /media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
>>> antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
>>> | 	  ./gnu/classpath/tools/gjdoc/expr/java-expression.g
>>> | Unrecognised command line option: -o
>> git pull.. se my commit yesterday
>>
>>> any ideas what is going wrong now ?
>>> regards,
>>> chris
>> Regards,
>>




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

* Re: building classpath / ecj-initial fails
  2010-01-11 14:18       ` Jaap de Jong
  2010-01-11 15:51         ` dfoley
@ 2010-01-11 19:01         ` Dallas Foley
  2010-01-11 20:56           ` Chris Veigl
  1 sibling, 1 reply; 12+ messages in thread
From: Dallas Foley @ 2010-01-11 19:01 UTC (permalink / raw)
  To: openembedded-devel

Jaap de Jong wrote:
> Hi Henning,
> 
> My approach after many unsuccessful attempts:
> 
> 	- install
> 		apt-get install sun-java6-jdk
> 	- edit local.conf 
> 		ASSUME_PROVIDED += " ecj-initial "
> 		ASSUME_PROVIDED += " virtual/java-initial "
> 		ASSUME_PROVIDED += " virtual/java-native "
> 		ASSUME_PROVIDED += " virtual/javac-native "
> 		PREFERRED_PROVIDER_classpath = "classpath"
> 		PREFERRED_VERSION_classpath = "0.97.2"
> 	- bitbake cacao
> 
> Could not get jamvm nor classpath 0.98 compiled.
> 
> Regards,
> Jaap

Not sure if this is the right answer, but I also could not build ecj-initial 
until I changed "-Xmx1024m" to "-Xmx512m" in recipes/ecj/files/ecj.in
and I think rebuilding ecj-bootstrap-native and ecj-initial worked for me.


> 
> 
> On Mon, 2010-01-11 at 10:40 +0100, Martin Jansa wrote:
>> On Mon, Jan 11, 2010 at 09:27:00AM +0000, Chris Veigl wrote:
>>> Dear Henning,
>>>
>>> thank you for the fast response,
>>>
>>>> jamvm 1.5 needs classpath-0.98, we don't use classpath-0.98  yet as default
>>>> because there were some issues with cacao. So add
>>>> PREFFERED_VERSION_classpath = "0.98" 
>>>> to your local.conf and it should work.
>>> after my first rebuild i did not notice any effect,
>>> then i relalized the type in "PREFERRED_VERSION_classpath" ;-)
>>>
>>> after that changed, i still got the same error,
>>> because the problem happens at the config of classpath_native... 
>>>
>>> i then deleted my tmp folder and gave it another try, using
>>> the settings recommended at http://wiki.openembedded.net/index.php/Java :
>>>
>>> PREFERRED_VERSION_jamvm-initial = "1.4.5"
>>> PREFERRED_VERSION_classpath-initial = "0.93"
>>>
>>> PREFERRED_VERSION_jamvm-native = "1.5.3"
>>> PREFERRED_VERSION_classpath-native = "0.98"
>>>
>>> PREFERRED_VERSION_jamvm = "1.5.2"
>>> PREFERRED_VERSION_classpath = "0.98"
>>>
>>> PREFERRED_VERSION_libecj-bootstrap = "3.4"
>>>
>>>
>>> Unfortunately, i ran into a different error using this configuration:
>>>
>>> task 1610 of 7888 (ID: 3738,
>>> /media/disk/overo-oe/org.openembedded.dev/recipes/classpath/classpath-
>>> native_0.98.bb,
>>> do_compile)
>>> ERROR: function do_compile failed
>>>
>>> /media/disk/overo-oe/tmp/staging/i686-linux/usr/bin/java-initial -classpath
>>> antlr.Tool -o ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
>>> | 	  ./gnu/classpath/tools/gjdoc/expr/java-expression.g
>>> | Unrecognised command line option: -o
>> git pull.. se my commit yesterday
>>
>>> any ideas what is going wrong now ?
>>> regards,
>>> chris
>> Regards,
>>




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

* Re: building classpath / ecj-initial fails
  2010-01-11 19:01         ` Dallas Foley
@ 2010-01-11 20:56           ` Chris Veigl
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Veigl @ 2010-01-11 20:56 UTC (permalink / raw)
  To: openembedded-devel


Dallas Foley <dfoley <at> techsol.ca> writes:

> 
> Jaap de Jong wrote:
> > Hi Henning,
> > 
> > My approach after many unsuccessful attempts:
> > 
> > 	- install
> > 		apt-get install sun-java6-jdk
> > 	- edit local.conf 
> > 		ASSUME_PROVIDED += " ecj-initial "
> > 		ASSUME_PROVIDED += " virtual/java-initial "
> > 		ASSUME_PROVIDED += " virtual/java-native "
> > 		ASSUME_PROVIDED += " virtual/javac-native "
> > 		PREFERRED_PROVIDER_classpath = "classpath"
> > 		PREFERRED_VERSION_classpath = "0.97.2"
> > 	- bitbake cacao
> > 

thank you for the hint - i will try this next

> > Could not get jamvm nor classpath 0.98 compiled.

what problems did arise ?


> 
> Not sure if this is the right answer, but I also could not build ecj-initial 
> until I changed "-Xmx1024m" to "-Xmx512m" in recipes/ecj/files/ecj.in
> and I think rebuilding ecj-bootstrap-native and ecj-initial worked for me.
> 


I suppose this solves the memory error in the "classpath - configure" - task.
which setup (in terms of PREFERRED_PROVIDER, PREFERRED_VERSION, ASSUME_PROVIDED)
did you use ? - and: could you build jamvm and classpath successfully ?

Using the OE-wiki setup, I got problems with the "compile" task (jamvm does not
recognize option "-o"), which do not relate to the above memory problems.



regards,
chris.










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

* Re: building classpath / ecj-initial fails
  2010-01-11  9:40     ` Martin Jansa
  2010-01-11 14:18       ` Jaap de Jong
@ 2010-01-11 20:57       ` Chris Veigl
  2010-01-11 21:35         ` Martin Jansa
  1 sibling, 1 reply; 12+ messages in thread
From: Chris Veigl @ 2010-01-11 20:57 UTC (permalink / raw)
  To: openembedded-devel

Martin Jansa <martin.jansa <at> gmail.com> writes:
> > ERROR: function do_compile failed
> > 

> git pull.. se my commit yesterday


I did a git pull, cleared the tmp folder and let 
bitbake run during the night, but get the same error:

  tmp/staging/i686-linux/usr/bin/java-initial -classpath  antlr.Tool -o \
    ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
    ./gnu/classpath/tools/gjdoc/expr/java-expression.g
  Unrecognised command line option: -o


must be something different ...
seems like jamvm version 1.4.5 does not have the "-o" switch !?

I currently use

  PREFERRED_VERSION_jamvm-initial = "1.4.5"
  PREFERRED_VERSION_classpath-initial = "0.93"

  PREFERRED_VERSION_jamvm-native = "1.5.3"
  PREFERRED_VERSION_classpath-native = "0.98"

  PREFERRED_VERSION_jamvm = "1.5.2"
  PREFERRED_VERSION_classpath = "0.98"

  PREFERRED_VERSION_libecj-bootstrap = "3.4"

as recommended in the openembedded wiki ...
regards,
chris.




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

* Re: building classpath / ecj-initial fails
  2010-01-11 20:57       ` Chris Veigl
@ 2010-01-11 21:35         ` Martin Jansa
  2010-01-12  0:03           ` Chris Veigl
  2010-01-12  8:32           ` Chris Veigl
  0 siblings, 2 replies; 12+ messages in thread
From: Martin Jansa @ 2010-01-11 21:35 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Jan 11, 2010 at 08:57:13PM +0000, Chris Veigl wrote:
> Martin Jansa <martin.jansa <at> gmail.com> writes:
> > > ERROR: function do_compile failed
> > > 
> 
> > git pull.. se my commit yesterday
> 
> 
> I did a git pull, cleared the tmp folder and let 
> bitbake run during the night, but get the same error:
> 
>   tmp/staging/i686-linux/usr/bin/java-initial -classpath  antlr.Tool -o \
>     ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
>     ./gnu/classpath/tools/gjdoc/expr/java-expression.g
>   Unrecognised command line option: -o

Strange because this should be built only with gjdoc enabled, which I
disabled, because I had exactly the same problem (it worked only on
system with antlr installed also outside OE staging).

http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=762fa9e86556d8f12031eaa383063d379fde21d7

I did it only for classpath-native, maybe you need similar workaround
for classpath (if you don't need to build gjdoc).

# SHR distro.. We had only this P_Vs now..:

# We need this for jamvm
PREFERRED_VERSION_classpath = "0.98"
PREFERRED_VERSION_classpath-native = "0.98"

And all PREFERRED_PROVIDERs set by compatibility-providers.conf

Regards,

> 
> 
> must be something different ...
> seems like jamvm version 1.4.5 does not have the "-o" switch !?
> 
> I currently use
> 
>   PREFERRED_VERSION_jamvm-initial = "1.4.5"
>   PREFERRED_VERSION_classpath-initial = "0.93"
> 
>   PREFERRED_VERSION_jamvm-native = "1.5.3"
>   PREFERRED_VERSION_classpath-native = "0.98"
> 
>   PREFERRED_VERSION_jamvm = "1.5.2"
>   PREFERRED_VERSION_classpath = "0.98"
> 
>   PREFERRED_VERSION_libecj-bootstrap = "3.4"
> 
> as recommended in the openembedded wiki ...
> regards,
> chris.
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



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

* Re: building classpath / ecj-initial fails
  2010-01-11 21:35         ` Martin Jansa
@ 2010-01-12  0:03           ` Chris Veigl
  2010-01-12  8:32           ` Chris Veigl
  1 sibling, 0 replies; 12+ messages in thread
From: Chris Veigl @ 2010-01-12  0:03 UTC (permalink / raw)
  To: openembedded-devel

Martin Jansa <martin.jansa <at> gmail.com> writes:

> > I did a git pull, cleared the tmp folder and let 
> > bitbake run during the night, but get the same error:
> > 
> >   Unrecognised command line option: -o
> 
> Strange because this should be built only with gjdoc enabled, which I
> disabled, because I had exactly the same problem (it worked only on
> system with antlr installed also outside OE staging).
> 
>
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=762fa9e86556d8f12031eaa383063d379fde21d7


thanks for the patch,
i use the angström distro, machine=beagleboard 
and applied the patch manually.

my most recent build, uses the original setup (no P_Vs defines) 
and the adjustment of the memory option suggested by Dallas 
("-Xmx512m" in recipes/ecj/files/ecj.in)
this try showed success: configure and compile of classpath-initial worked,
but I got another error at:

task 2434 of 7953 (ID: 3753,
/media/disk/overo-oe/org.openembedded.dev/recipes/antlr/antlr-native_2.7.7.bb,
do_compile)
ERROR: function do_compile failed
ERROR: log data follows (/media/disk/overo-oe/tmp/work/i686-linux/ \
  antlr-native-2.7.7-r0/temp/log.do_compile.11606)
 Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse
/jdt/internal/compiler/batch/Main
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.compiler.batch.Main not found in java.lang.ClassLoader



> 
> I did it only for classpath-native, maybe you need similar workaround
> for classpath (if you don't need to build gjdoc).
> 
> # SHR distro.. We had only this P_Vs now..:
> 
> # We need this for jamvm
> PREFERRED_VERSION_classpath = "0.98"
> PREFERRED_VERSION_classpath-native = "0.98"

> And all PREFERRED_PROVIDERs set by compatibility-providers.conf

OK. i will try that next...

thank you,
regards,
chris




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

* Re: building classpath / ecj-initial fails
  2010-01-11 21:35         ` Martin Jansa
  2010-01-12  0:03           ` Chris Veigl
@ 2010-01-12  8:32           ` Chris Veigl
  1 sibling, 0 replies; 12+ messages in thread
From: Chris Veigl @ 2010-01-12  8:32 UTC (permalink / raw)
  To: openembedded-devel

Martin Jansa <martin.jansa <at> gmail.com> writes:

> 
> On Mon, Jan 11, 2010 at 08:57:13PM +0000, Chris Veigl wrote:
> > Martin Jansa <martin.jansa <at> gmail.com> writes:
> 
> I did it only for classpath-native, maybe you need similar workaround
> for classpath (if you don't need to build gjdoc).
> 
> # SHR distro.. We had only this P_Vs now..:
> 
> # We need this for jamvm
> PREFERRED_VERSION_classpath = "0.98"
> PREFERRED_VERSION_classpath-native = "0.98"
> 
> And all PREFERRED_PROVIDERs set by compatibility-providers.conf


I disabled gjdoc as suggested and used 0.98 for classpath and classpath-native,
now i get lots of compilation-errors at

task 4127 of 7953 (ID: 2078, /media/disk/overo-oe/org.openembedded.dev/recipes
/maemo4/libhildonfm_1.9.46.bb, do_compile)
ERROR: function do_compile failed

(in files  hildon-file-system-model.h, hildon-file-common-private.h,
 hildon-file-selection.c, errors seem to be gtk - related...)


regards,
chris

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







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

end of thread, other threads:[~2010-01-12  8:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-09 20:47 building classpath / ecj-initial fails Chris Veigl
2010-01-09 22:11 ` Henning Heinold
2010-01-11  9:27   ` Chris Veigl
2010-01-11  9:40     ` Martin Jansa
2010-01-11 14:18       ` Jaap de Jong
2010-01-11 15:51         ` dfoley
2010-01-11 19:01         ` Dallas Foley
2010-01-11 20:56           ` Chris Veigl
2010-01-11 20:57       ` Chris Veigl
2010-01-11 21:35         ` Martin Jansa
2010-01-12  0:03           ` Chris Veigl
2010-01-12  8:32           ` Chris Veigl

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.