Skip to contentSkip to conversation

problem building openjdk-6

DISCUSSION Jaap de Jong 4 participants 14 messages Aug 11, 2010 – Aug 20, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

since a day or 6/7 ago I can't build openjdk-6 anymore. This is the latest patch that builds fine; later fail...

commit 13423cbf48e09af101dacba5e23695091582fc92
Author: Robert Schuster <[email protected]>
Date: Thu Jul 22 12:13:29 2010 +0200

jamvm-native 1.5.4: New version.

Any clue?
Thanks!
Jaap de Jong

| 4380. WARNING in src/org/apache/xalan/xslt/Process.java (at line 757)
|     PrintWriter resultWriter;
|                 ^^^^^^^^^^^^
| The local variable resultWriter is never read
| ----------
| 4380 problems (3888 errors, 492 warnings)

NOTE: Task failed: /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/xalan-j-2.7.1-r2/temp/log.do_compile.4145
ERROR: TaskFailed event exception, aborting
ERROR: Build of /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xalan-j/xalan-j_2.7.1.bb do_compile failed
ERROR: Task 1879 (/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xalan-j/xalan-j_2.7.1.bb, do_compile) failed
NOTE: Waiting for 2 active tasks to finish

#1 lore raw
Quoted 9 lines · Jaap de Jong

Hi,

since a day or 6/7 ago I can't build openjdk-6 anymore. This is the latest patch that builds fine; later fail...

commit 13423cbf48e09af101dacba5e23695091582fc92
Author: Robert Schuster <[email protected]>
Date: Thu Jul 22 12:13:29 2010 +0200

Quoted 6 lines

jamvm-native 1.5.4: New version.

Any clue?
Thanks!
Jaap de Jong

Hi Jaap,

the problem is that jamvm sometimes misscompiles some java-classes and the result is that the class is has 0 bytes. That's happening really rare and we didnt build yet a guard for it in. So find out from the errorlog which class is missing, mostly it some gnumail stuff and force to rebuild this package.

Bye Henning

#2 lore raw
Quoted 17 lines · Henning Heinold
Quoted 9 lines · Jaap de Jong

Hi,

since a day or 6/7 ago I can't build openjdk-6 anymore. This is the latest patch that builds fine; later fail...

commit 13423cbf48e09af101dacba5e23695091582fc92
Author: Robert Schuster <[email protected]>
Date: Thu Jul 22 12:13:29 2010 +0200

Quoted 6 lines

jamvm-native 1.5.4: New version.

Any clue?
Thanks!
Jaap de Jong

Quoted 7 lines

Hi Jaap,

the problem is that jamvm sometimes misscompiles some java-classes and the result is that the class is has 0 bytes. That's happening really rare and we didnt build yet a guard for it in. So find out from the errorlog which class is missing, mostly it some gnumail stuff and force to rebuild this package.

Bye Henning

Hi,

did you resolve it somehow? I still have the same issue on 2 hosts, 2 different DISTROs and I didn't find any empty .jar or something.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 9 lines · Martin Jansa

Hi,

did you resolve it somehow? I still have the same issue on 2 hosts, 2 different DISTROs and I didn't find any empty .jar or something.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]

Hi,

not the jars are empty, some classes inside the jar. Unfornatly I will not have the time to fix this before Sept. 13

So rebuild packages where classes inside the jars have 0 Bytes.

Bye Henning

#4 lore raw
Quoted 11 lines · Henning Heinold
Quoted 9 lines · Martin Jansa

Hi,

did you resolve it somehow? I still have the same issue on 2 hosts, 2 different DISTROs and I didn't find any empty .jar or something.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Quoted 8 lines

Hi,

not the jars are empty, some classes inside the jar. Unfornatly I will not have the time to fix this before Sept. 13

So rebuild packages where classes inside the jars have 0 Bytes.

Bye Henning

Hi,

found better fix and pushed it :).

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

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw

Hi Martin,

I've read about your fix on this matter and did a complete new rebuild last night, but it still does not translate here. Although the error is somewhere else.

///
| checking for a xalan2 jar...
/media/OpenEmbedded/unstable/tmp/sysroots/java/xalan2.jar
| checking for a xalan2 serializer jar... no
| configure: error: "A xalan2-serializer jar was not found."
NOTE: Task failed:
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.6/temp/log.do_configure.12290
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb
do_configure failed
ERROR: Task 909 (/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb,
do_configure) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/mono/mono-mcs-intermediate_2.6.3.bb, do_compile (9520)
NOTE: 2:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/busybox/busybox_1.13.2.bb,
do_package (14124)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/busybox/busybox_1.13.2.bb,
do_package (14124)
NOTE: Tasks Summary: Attempted 3363 tasks of which 0 didn't need to
be rerun and 1 failed.
ERROR:
'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb'
failed

Jaap

Quoted 32 lines · Martin Jansa
Quoted 12 lines · Henning Heinold
Quoted 10 lines · Martin Jansa

Hi,

did you resolve it somehow? I still have the same issue on 2 hosts, 2 different DISTROs and I didn't find any empty .jar or something.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Quoted 9 lines

Hi,

not the jars are empty, some classes inside the jar. Unfornatly I will not have the time to fix this before Sept. 13

So rebuild packages where classes inside the jars have 0 Bytes.

Bye Henning

Hi,

found better fix and pushed it :).

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

Regards,

#7 lore raw

Thanks Martin,

it is translating right now...
do_configure for openjdk-6-jre-6b18-1.8-r10.6 passed, so this problem is solved!

The same (minor changes) applies to the stable/2009 branch?

Jaap

Quoted 19 lines · Martin Jansa
Quoted 2 lines · Jaap de Jong

Hi Martin,

Hi Jaap,

Quoted 4 lines

I've read about your fix on this matter and did a complete new rebuild last night, but it still does not translate here.
Although the error is somewhere else.

Yes, I know..

try again with:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=aa5fae1ad0f33ca478873ffd1a48fcaefff61b13

Regards,

#8 lore raw
Quoted 7 lines · Jaap de Jong

Thanks Martin,

it is translating right now...
do_configure for openjdk-6-jre-6b18-1.8-r10.6 passed, so this problem is solved!

The same (minor changes) applies to the stable/2009 branch?

You're welcome!

I'm not using/watching stable/2009 branch at all, so no idea, but openjdk built fine about month ago.

check if this patch and other java related changes are already in stable/2009
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=fb352eddb0c1356a03cb304ae40d3d67077de521

Or wait for OE java gurus to test/fix it.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#9 lore raw

Martin,
the translation (unstable) is successful!
Many thanks!
Jaap

Quoted 22 lines · Martin Jansa
Quoted 8 lines · Jaap de Jong

Thanks Martin,

it is translating right now...
do_configure for openjdk-6-jre-6b18-1.8-r10.6 passed, so this problem is solved!

The same (minor changes) applies to the stable/2009 branch?

You're welcome!

I'm not using/watching stable/2009 branch at all, so no idea, but openjdk built fine about month ago.

check if this patch and other java related changes are already in stable/2009
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=fb352eddb0c1356a03cb304ae40d3d67077de521

Or wait for OE java gurus to test/fix it.

Regards,

#10 lore raw
In reply to Jaap de Jong

Hi Jaap,
no the fix is not necessary since stable does not have the virtclass-native stuff.

Apart from that adding the jamvm-native 1.5.4 recipe to stable would be a good idea.

Regards
Robert

Am 20.08.2010 09:56, schrieb Jaap de Jong:

Quoted 36 lines

Thanks Martin,

it is translating right now...
do_configure for openjdk-6-jre-6b18-1.8-r10.6 passed, so this problem is solved!

The same (minor changes) applies to the stable/2009 branch?

Jaap

Quoted 11 lines · Martin Jansa
Quoted 2 lines · Jaap de Jong

Hi Martin,

Hi Jaap,

Quoted 4 lines

I've read about your fix on this matter and did a complete new rebuild last night, but it still does not translate here.
Although the error is somewhere else.

Quoted 9 lines

Yes, I know..

try again with:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=aa5fae1ad0f33ca478873ffd1a48fcaefff61b13

Regards,

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

#11 lore raw

Hi Robert,

virtclass-native: I understand; but what about the changes in the link from Martin (see below)

Jaap

Quoted 63 lines · Robert Schuster

Hi Jaap,
no the fix is not necessary since stable does not have the virtclass-native stuff.

Apart from that adding the jamvm-native 1.5.4 recipe to stable would be a good idea.

Regards
Robert

Am 20.08.2010 09:56, schrieb Jaap de Jong:

Quoted 33 lines

Thanks Martin,

it is translating right now...
do_configure for openjdk-6-jre-6b18-1.8-r10.6 passed, so this problem is solved!

The same (minor changes) applies to the stable/2009 branch?

Jaap

Quoted 21 lines · Martin Jansa
Quoted 3 lines · Jaap de Jong

Hi Martin,

Hi Jaap,

Quoted 5 lines

I've read about your fix on this matter and did a complete new rebuild last night, but it still does not translate here.
Although the error is somewhere else.

Yes, I know..

try again with:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=aa5fae1ad0f33ca478873ffd1a48fcaefff61b13

Quoted 9 lines
Quoted 4 lines

Regards,

_______________________________________________
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

#12 lore raw
In reply to Robert Schuster

The trouble is somewhere else:

ERROR: function do_compile failed
ERROR: log data follows (/media/OpenEmbedded/stable-2009/tmp/work/armv5te-angstrom-linux-gnueabi/llvm2.7-2.7-r8/temp/log.do_compile.20297)

| NOTE: make -j5
| Scanning dependencies of target count
| Scanning dependencies of target LLVMHello
| Scanning dependencies of target LLVMSystem
| [  1%] [  1%] Building C object utils/count/CMakeFiles/count.dir/count.c.o
| [  1%] Building CXX object lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o
| [  1%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Alarm.cpp.o
| [  1%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Atomic.cpp.o
| Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Disassembler.cpp.o
| Linking C executable ../../bin/count
| [  1%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/DynamicLibrary.cpp.o
| [  2%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Errno.cpp.o
| [  2%] Built target count
| [  2%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Host.cpp.o
| [  2%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/IncludeFile.cpp.o
| [  2%] Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Memory.cpp.o
| [  2%] /media/OpenEmbedded/stable-2009/tmp/work/armv5te-angstrom-linux-gnueabi/llvm2.7-2.7-r8/llvm-2.7/lib/System/Memory.cpp: In static member function 'static void llvm::sys::Memory::InvalidateInstructionCache(const void*, size_t)':
| /media/OpenEmbedded/stable-2009/tmp/work/armv5te-angstrom-linux-gnueabi/llvm2.7-2.7-r8/llvm-2.7/lib/System/Memory.cpp:67: error: '__clear_cache' was not declared in this scope
| [  3%] make[2]: *** [lib/System/CMakeFiles/LLVMSystem.dir/Memory.cpp.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| Linking CXX shared module ../../LLVMHello.so
| Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Mutex.cpp.o
| Building CXX object lib/System/CMakeFiles/LLVMSystem.dir/Path.cpp.o
| [  3%] Built target LLVMHello
| make[1]: *** [lib/System/CMakeFiles/LLVMSystem.dir/all] Error 2
| make: *** [all] Error 2
| FATAL: oe_runmake failed
Quoted 63 lines · Robert Schuster

Hi Jaap,
no the fix is not necessary since stable does not have the virtclass-native stuff.

Apart from that adding the jamvm-native 1.5.4 recipe to stable would be a good idea.

Regards
Robert

Am 20.08.2010 09:56, schrieb Jaap de Jong:

Quoted 33 lines

Thanks Martin,

it is translating right now...
do_configure for openjdk-6-jre-6b18-1.8-r10.6 passed, so this problem is solved!

The same (minor changes) applies to the stable/2009 branch?

Jaap

Quoted 21 lines · Martin Jansa
Quoted 3 lines · Jaap de Jong

Hi Martin,

Hi Jaap,

Quoted 5 lines

I've read about your fix on this matter and did a complete new rebuild last night, but it still does not translate here.
Although the error is somewhere else.

Yes, I know..

try again with:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=aa5fae1ad0f33ca478873ffd1a48fcaefff61b13

Quoted 9 lines
Quoted 4 lines

Regards,

_______________________________________________
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

#13 lore raw
In reply to Henning Heinold
Quoted 11 lines · Henning Heinold
Quoted 9 lines · Martin Jansa

Hi,

did you resolve it somehow? I still have the same issue on 2 hosts, 2 different DISTROs and I didn't find any empty .jar or something.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Quoted 8 lines

Hi,

not the jars are empty, some classes inside the jar. Unfornatly I will not have the time to fix this before Sept. 13

So rebuild packages where classes inside the jars have 0 Bytes.

Bye Henning

xalan-j now compiled fine but openjdk failed later with:

| checking for a xalan2 serializer jar... no
| configure: error: "A xalan2-serializer jar was not found."
NOTE: package openjdk-6-jre-6b18-1.8-r10.6: task do_configure: Failed

http://tinderbox.openembedded.org/packages/704760/

any hint?

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]