Giter Site home page Giter Site logo

meta-java's Introduction

meta-java has moved

you can find it now under

git://git.yoctoproject.org/meta-java

meta-java's People

Contributors

jluebbe avatar koenkooi avatar kraj avatar mindrunner avatar otavio avatar shr-project avatar sledz avatar woglinde avatar xranby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-java's Issues

-native and -initial not safe for sstate reuse

On the angstrom autobuilders -native and -cross get blacklisted, but in meta-java *-initial is actually -native-initial and hardcodes paths.
People uploading sstate packages should blacklist *-initial when using meta-java.

Multiple providers

Hi,

following the instructions in README.md I end up in a local.conf containing
PREFERRED_PROVIDER_virtual/java-initial = "ecj-initial"
PREFERRED_PROVIDER_virtual/java-native = "icedtea7-native"
PREFERRED_PROVIDER_virtual/javac-native = "icedtea7-native"
PREFERRED_PROVIDER_java2-runtime = "openjdk-7-jre"
PREFERRED_PROVIDER_java2-vm = "openjdk-7-jre"

which complains as follows:

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for runtime java2-runtime (openjdk-7-jre, cacao, jamvm, openjdk-6-jre)
NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-runtime
NOTE: multiple providers are available for runtime java2-vm (openjdk-7-jre, openjdk-6-jre)
NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-vm
NOTE: multiple providers are available for virtual/java-native (cacao-native, jamvm-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/java-native
NOTE: multiple providers are available for virtual/java-initial (cacao-initial, jamvm-initial)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/java-initial

I'm using the dora branch, because we started with dora.

Yocto Daisy branch

Is there a Daisy branch planned?
Currently I use Yocto Daisy and try to use the master branch with versions and repos as described in the README file.
Unfortunately I get the following warnings/errors. Has this been seen by others or is this a mistake caused by me ? :)
The Daisy branch worked OK with Yocto Daisy.

tord@bob-the-builder:~/tng-repo/build$ bitbake openjdk-7-jre
...
NOTE: Executing RunQueue Tasks
WARNING: /home/tord/tng-repo/build/tmp/sstate-control/manifest-apalis-imx6-libecj-bootstrap.populate_sysroot not found
WARNING: /home/tord/tng-repo/build/tmp/sstate-control/manifest-apalis-imx6-ecj-initial.populate_sysroot not found
WARNING: /home/tord/tng-repo/build/tmp/sstate-control/manifest-apalis-imx6-jikes-initial.populate_sysroot not found
WARNING: /home/tord/tng-repo/build/tmp/sstate-control/manifest-apalis-imx6-cacao-initial.populate_sysroot not found
WARNING: /home/tord/tng-repo/build/tmp/sstate-control/manifest-apalis-imx6-classpath-initial.populate_sysroot not found
ERROR: Function failed: do_install (log file is located at /home/tord/tng-repo/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/temp/log.do_install.22953)
ERROR: Logfile of failure stored in: /home/tord/tng-repo/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/temp/log.do_install.22953
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| cp: cannot stat '/home/tord/tng-repo/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/build/openjdk.build/j2sdk-image': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/tord/tng-repo/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/temp/log.do_install.22953)
ERROR: Task 3 (/home/tord/tng-repo/sources/meta-java/recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb, do_install) failed with exit code '1'

How to fetch a perticular git branch to build

Hi,

Is there a way to specify a working git branch version while building the IcedTea JVM for OpenJDK 6/7? As whenever I take the git, I believe it fetches the latest branch (and I face some issue while build). So If I could mention somewhere in some config file to fetch a particular version of IcedTea git branch, I can build the same version again.

Thanks

Are there any example recipes for libraries that use JNI?

I'm working on a recipe for jzmq, and I'm stumbling over how to determine the paths to the jni.h and jni_md.h headers. Are there any existing recipes for libraries that use JNI that I can use as a reference?

For the time being, I'm hard-coding paths to tmp/sysroots/genericx86-64/usr/lib/jvm/java-7-openjdk/include, etc. But that's not going to work for other targets.

No X11 support for openjdk-7-jre

I was trying to run a graphical application in a iMX6 board through an image built using Yocto 1.6. I got the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-7-openjdk/jre/lib/arm/xawt/libmawt.so
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1842)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1061)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1953)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1087)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1646)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
    at java.awt.Insets.<clinit>(Insets.java:89)
    at javax.swing.plaf.synth.SynthLookAndFeel.<clinit>(SynthLookAndFeel.java:70)
    at br.com.ronaldonunez.presd.Main.main(Main.java:33)

Any help? Thanks in advance.

Daisy and Dora

Hi guys, just about to re-enable my buildbot.

So we have a dora branch here for Yocto 1.5.x and a master branch for yocto-development?
Is there anything for Yocto 1.6.x (Daisy)? Has anyone tested master or dora branch of meta-java with Yocto 1.6?

Cheers,
Lukas

wrong md5 in ecj-bootstrap-native

A few days ago my buildhost started complaining.

Maybe related to commit "1b636173ca88e5ccca1992f9a12367a1189fa674" in Poky
(From OE-Core rev: "b777180f317a844513fcaae42fd7c91dff308f9b")

ERROR: ecj-bootstrap-native: md5 data is not matching for file:///lu/yocto-autobuilder/yocto-slave/nightly-centralunit-openjdk/build/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58
ERROR: ecj-bootstrap-native: The new md5 checksum is 4d92cd373abda3937c2bc47fbc49d690
ERROR: ecj-bootstrap-native: Check if the license information has changed in /lu/yocto-autobuilder/yocto-slave/nightly-centralunit-openjdk/build/LICENSE to verify that the LICENSE value "MIT" remains valid
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
ERROR: Function failed: do_qa_configure

License md5 error with poky-dora-10.0.1

The following recipes:

  • meta-java/recipes-core/jikes/jikes-initial.bb
  • meta-java/recipes-core/ecj/ecj-bootstrap-native.bb
  • meta-java/recipes-core/jlex/jlex_1.2.6.bb

have a bad license md5 because ${COREBASE}/LICENSE has changed in poky-dora-10.0.1.
In each file we need to apply the next patch to fix the build error :

  • remove : LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
  • add : LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"

Another possibility is to add the license file in the meta and refer to it with a relative path

gnujaf on dora branch : do_install failed

Hello to all,

During compilation of the dora branch (commit 967975b), i got a strange error that i report here after.

Does anyone have seen this before ? I am trying to fix it, with no success yet. New eyes are more than welcome !

Gilles.

ERROR: Function failed: do_install (log file is located at /home/gbulthe/work/12053_KRG/BTA_dora/oe-core/fsl-community-bsp/build_dora/tmp/work/x86_64-linux/gnujaf-native/1.1.1-r1/temp/log.do_install.10764)
ERROR: Logfile of failure stored in: /home/gbulthe/work/12053_KRG/BTA_dora/oe-core/fsl-community-bsp/build_dora/tmp/work/x86_64-linux/gnujaf-native/1.1.1-r1/temp/log.do_install.10764
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 4 DESTDIR=/home/gbulthe/work/12053_KRG/BTA_dora/oe-core/fsl-community-bsp/build_dora/tmp/work/x86_64-linux/gnujaf-native/1.1.1-r1/image install
| mkdir -p classes/META-INF
| javac -classpath classes:./source -d classes source/javax/activation/MimeType.java
| javac -classpath classes:./source -d classes source/javax/activation/MimeTypeParameterList.java
| javac -classpath classes:./source -d classes source/javax/activation/MimeTypeParseException.java

javac -classpath classes:./source -d classes source/javax/activation/MimetypesFileTypeMap.java
1. ERROR in source/javax/activation/MimeType.java (at line 263)
throw new MimeTypeParseException(message, token);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The constructor MimeTypeParseException(String, String) is undefined
----------
2. ERROR in source/javax/activation/MimeType.java (at line 270)
throw new MimeTypeParseException(message, token);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The constructor MimeTypeParseException(String, String) is undefined
----------
2 problems (2 errors)make: *** [classes/javax/activation/MimeType.class] Error 255
make: *** Waiting for unfinished jobs....
----------
1. WARNING in source/javax/activation/MimeTypeParseException.java (at line 35)
public class MimeTypeParseException
^^^^^^^^^^^^^^^^^^^^^^
The serializable class MimeTypeParseException does not declare a static final serialVersionUID field of type long
----------
1 problem (1 warning)----------
1. WARNING in source/javax/activation/MimeTypeParameterList.java (at line 46)
private static final String TSPECIALS = "()<>@,;:/[]?=\"";
^^^^^^^^^
The field MimeTypeParameterList.TSPECIALS is never read locally
----------
2. ERROR in source/javax/activation/MimeTypeParameterList.java (at line 129)
MimeType.checkValidity(name, "Parameter name is invalid");
^^^^^^^^^^^^^
The method checkValidity(String, String) is undefined for the type MimeType
----------
3. ERROR in source/javax/activation/MimeTypeParameterList.java (at line 139)
MimeType.checkValidity(name, "Parameter value is invalid");
^^^^^^^^^^^^^
The method checkValidity(String, String) is undefined for the type MimeType
----------
4. ERROR in source/javax/activation/MimeTypeParameterList.java (at line 250)
if (!MimeType.isValidChar(value.charAt(i)))
^^^^^^^^^^^
The method isValidChar(char) is undefined for the type MimeType
----------
4 problems (3 errors, 1 warning)make: *** [classes/javax/activation/MimeTypeParameterList.class] Error 255
----------
1. WARNING in source/javax/activation/MimetypesFileTypeMap.java (at line 41)
import java.util.Iterator;
^^^^^^^^^^^^^^^^^^
The import java.util.Iterator is never used
----------
1 problem (1 warning)ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_install (log file is located at /home/gbulthe/work/12053_KRG/BTA_dora/oe-core/fsl-community-bsp/build_dora/tmp/work/x86_64-linux/gnujaf-native/1.1.1-r1/temp/log.do_install.10764)
ERROR: Task 3261 (virtual:native:/home/gbulthe/work/12053_KRG/BTA_dora/oe-core/fsl-community-bsp/sources/meta-java/recipes-core/classpathx/gnujaf_1.1.1.bb, do_install) failed with exit code '1'

Shark: LLVM 2.8 %R4Unsupported operand type for movw/movt

xranby@ac100-armel:/media/d3f564a8-fdb8-4516-88bf-6a87c212e471/qemuarm/usr/lib/jvm/java-6-openjdk/jre/lib/arm$ appletviewer -J-shark http://oneslime.net
%R4Unsupported operand type for movw/movt
UNREACHABLE executed at /usr/src/openembedded/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/Target/ARM/ARMCodeEmitter.cpp:261!
Stack dump:
0. Running pass 'ARM Machine Code Emitter' on function '@"java.lang.String::hashCode"'
Aborted (core dumped)

Revert back to the patched LLVM 2.7 that are known to be working from oe-classic?

openjdk-7 recipy do_install ERROR: cp: cannot stat /.../j2sdk-image

I have no idea why this has not been picked up before, but at least on my environment there seems to be a very small error inside the openjdk-7 recipe's do_install. I found that a ${WORKDIR} should be a ${S}.

I am at revision d2b75b6

The following patch sorts it out for me:

diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc
index 32fab16..4a08fe8 100644
--- a/recipes-core/openjdk/openjdk-7-common.inc
+++ b/recipes-core/openjdk/openjdk-7-common.inc
@@ -172,7 +172,7 @@ do_compile() {

 do_install() {
        install -d ${D}${libdir_jvm}
-       cp -R ${WORKDIR}/build/${BUILD_DIR}/j2sdk-image ${D}${JDK_HOME}
+       cp -R ${S}/build/${BUILD_DIR}/j2sdk-image ${D}${JDK_HOME}

        chmod u+rw -R ${D}${JDK_HOME}

jamvm: Fetcher failure

I'm getting the following error in 'dora' branch:

fatal: unable to connect to git.berlios.de:
git.berlios.de[0: 193.175.135.86]: errno=Connection refused

The same happens in the 'master'.

Well, another devs are getting the same as you can see in the following message https://www.mail-archive.com/[email protected]/msg18247.html

Maybe a mirror should solve it, but that's the big question: from where? Tomorrow I will try to contact the developers of jamvm to ask what happened...

Fail to use openjdk-7

Hi,

I have configured my image using

PREFERRED_PROVIDER_virtual/java-initial = "ecj-initial"
PREFERRED_PROVIDER_virtual/java-native = "icedtea7-native"
PREFERRED_PROVIDER_virtual/javac-native = "icedtea7-native"
PREFERRED_PROVIDER_java2-runtime = "openjdk-7-jre"
PREFERRED_PROVIDER_java2-vm = "openjdk-7-jre"

to create a maven recipe for later use to deploy some maven based projects. But https://github.com/rehsack/meta-jens/tree/master/recipes-devtools/apache-maven fails loudly with
| compile-boot:
| [mkdir] Created dir: /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/work/x86_64-linux/apache-maven-native/3.2.2-r0/apache-maven-3.2.2/bootstrap/target/classes
| [javac] Compiling 743 source files to /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/work/x86_64-linux/apache-maven-native/3.2.2-r0/apache-maven-3.2.2/bootstrap/target/classes
| [javac] Compliance level '1.5' is incompatible with source level '1.6'. A compliance level '1.6' or better is required
|
| BUILD FAILED

/home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/x86_64-linux/usr/bin/javac -version
Eclipse Compiler for Java(TM) 0.A76_R36x, 3.6.2, Copyright IBM Corp 2000, 2010. All rights reserved.

Why is there the ecj javac, which is intended for bootstrapping only? How can we force to use the openjdk-7(-native) one which should be the one for final building and running?

nio patch in main section causes exception with java7 application

Commit 83096c2 made jre7 throw an exception when starting my application.
My machine is an ARMv7 and I'm using openjdk-7-jre "25b30-2.3.12".
When I revert the commit everything is working fine.

The exception is listed below:

Exception in thread "Application" 2014-04-23 11:54:25,329 Application     Exception in thread "Application" 
java.lang.reflect.InvocationTargetException2014-04-23 11:54:25,333 Application     java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)2014-04-23 11:54:25,334 Application            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)2014-04-23 11:54:25,336 Application          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)2014-04-23 11:54:25,337 Application          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)2014-04-23 11:54:25,338 Application       at java.lang.reflect.Method.invoke(Method.java:606)
        at com.simontuffs.onejar.Boot.run(Boot.java:340)2014-04-23 11:54:25,339 Application          at com.simontuffs.onejar.Boot.run(Boot.java:340)
        at com.simontuffs.onejar.Boot.main(Boot.java:166)2014-04-23 11:54:25,340 Application         at com.simontuffs.onejar.Boot.main(Boot.java:166)
Caused by: java.awt.AWTError: Toolkit not found: sun.awt.X11.XToolkit2014-04-23 11:54:25,342 Application     Caused by: java.awt.AWTError: Toolkit not found: sun.awt.X11.XToolkit
        at java.awt.Toolkit$2.run(Toolkit.java:875)2014-04-23 11:54:25,343 Application       at java.awt.Toolkit$2.run(Toolkit.java:875)
        at java.security.AccessController.doPrivileged(Native Method)2014-04-23 11:54:25,344 Application             at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:860)2014-04-23 11:54:25,345 Application           at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:860)
        at com.mine.Application.main(Application.java:206)2014-04-23 11:54:25,346 Application            at com.mine.Application.main(Application.java:206)
        ... 6 more2014-04-23 11:54:25,347 Application        ... 6 more

I'll open a Pull-Request for reverting the commit 83096c2.
Please check if this is the "best" solution.

regards,
Richard

OE QA: jamvm_git use system /usr/share/classpath/glibj.zip during build.

| jikes -bootclasspath /usr/share/classpath/glibj.zip -d classes ./jamvm/java/lang/JarLauncher.java ./jamvm/java/lang/VMClassLoaderData.java ./jamvm/ThreadInfoHelper.java ./java/lang/VMRuntime.java ./java/lang/VMClass.java ./java/lang/VMClassLoader.java ./java/lang/VMString.java ./java/lang/VMThread.java ./java/lang/VMThrowable.java ./java/lang/reflect/VMConstructor.java ./java/lang/reflect/VMField.java ./java/lang/reflect/VMMethod.java ./java/security/VMAccessController.java ./gnu/classpath/VMSystemProperties.java ./sun/reflect/annotation/AnnotationInvocationHandler.java ./gnu/classpath/VMStackWalker.java
|
| Issued 1 system warning:
|
| *** Semantic Warning: I/O warning: "No such file or directory" while trying to open /usr/share/classpath/glibj.zip.
| make[6]: *** [classes.zip] Segmentation fault
| make[6]: Leaving directory `/home/xranby/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/jamvm-1.5.5+1.6.0-devel+git1+4617da717ecb05654ea5bb9572338061106a414d-r0/git/src/classlib/gnuclasspath/lib'

A quick and dirty workaround to make the package build:
sudo ln -s /home/xranby/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/share/classpath/glibj.zip /usr/share/classpath/glibj.zip

This needs to be fixed properly so that jamvm_git.bb use the OE built glibj.zip during compilation and generation of the rt.jar.

Build failure in auto-builder

----------
1. WARNING in src/main/java/org/apache/log4j/xml/DOMConfigurator.java (at line 37)
    import org.apache.log4j.spi.OptionHandler;
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.apache.log4j.spi.OptionHandler is never used
----------
----------
2. WARNING in src/main/java/org/apache/log4j/chainsaw/DetailPanel.java (at line 37)
    class DetailPanel
          ^^^^^^^^^^^
The serializable class DetailPanel does not declare a static final serialVersionUID field of type long
----------
3. WARNING in src/main/java/org/apache/log4j/chainsaw/DetailPanel.java (at line 42)
    private static final Logger LOG =
                                ^^^
The field DetailPanel.LOG is never read locally
----------
----------
4. WARNING in src/main/java/org/apache/log4j/chainsaw/MyTableModel.java (at line 37)
    class MyTableModel
          ^^^^^^^^^^^^
The serializable class MyTableModel does not declare a static final serialVersionUID field of type long
----------
5. WARNING in src/main/java/org/apache/log4j/chainsaw/MyTableModel.java (at line 142)
    private Priority mPriorityFilter = Priority.DEBUG;
                                                ^^^^^
The field Priority.DEBUG is deprecated
----------
----------
6. WARNING in src/main/java/org/apache/log4j/chainsaw/ExitAction.java (at line 29)
    class ExitAction
          ^^^^^^^^^^
The serializable class ExitAction does not declare a static final serialVersionUID field of type long
----------
----------
7. WARNING in src/main/java/org/apache/log4j/chainsaw/Main.java (at line 44)
    public class Main
                 ^^^^
The serializable class Main does not declare a static final serialVersionUID field of type long
----------
----------
8. WARNING in src/main/java/org/apache/log4j/chainsaw/ControlPanel.java (at line 40)
    class ControlPanel extends JPanel {
          ^^^^^^^^^^^^
The serializable class ControlPanel does not declare a static final serialVersionUID field of type long
----------
9. WARNING in src/main/java/org/apache/log4j/chainsaw/ControlPanel.java (at line 42)
    private static final Logger LOG = 
                                ^^^
The field ControlPanel.LOG is never read locally
----------
----------
10. WARNING in src/main/java/org/apache/log4j/chainsaw/LoadXMLAction.java (at line 40)
    class LoadXMLAction
          ^^^^^^^^^^^^^
The serializable class LoadXMLAction does not declare a static final serialVersionUID field of type long
----------
----------
11. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 1)
    /*
    ^
The type javax.mail.internet.MimeBodyPart cannot be resolved. It is indirectly referenced from required .class files
----------
12. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 45)
    import javax.mail.internet.MimeBodyPart;
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import javax.mail.internet.MimeBodyPart cannot be resolved
----------
13. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 299)
    MimeBodyPart part = new MimeBodyPart();
    ^^^^^^^^^^^^
MimeBodyPart cannot be resolved to a type
----------
14. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 299)
    MimeBodyPart part = new MimeBodyPart();
                            ^^^^^^^^^^^^
MimeBodyPart cannot be resolved to a type
----------
----------
15. WARNING in src/main/java/org/apache/log4j/lf5/Log4JLogRecord.java (at line 32)
    public class Log4JLogRecord extends LogRecord {
                 ^^^^^^^^^^^^^^
The serializable class Log4JLogRecord does not declare a static final serialVersionUID field of type long
----------
----------
16. WARNING in src/main/java/org/apache/log4j/lf5/LF5Appender.java (at line 20)
    import org.apache.log4j.lf5.util.Resource;
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.apache.log4j.lf5.util.Resource is never used
----------
----------
17. WARNING in src/main/java/org/apache/log4j/lf5/util/LogFileParser.java (at line 156)
    LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(
                          ^^^^^
The local variable error is never read
----------
18. WARNING in src/main/java/org/apache/log4j/lf5/util/LogFileParser.java (at line 165)
    _loadDialog.hide();
                ^^^^^^
The method hide() from the type Dialog is deprecated
----------
----------
19. WARNING in src/main/java/org/apache/log4j/lf5/util/AdapterLogRecord.java (at line 33)
    public class AdapterLogRecord extends LogRecord {
                 ^^^^^^^^^^^^^^^^
The serializable class AdapterLogRecord does not declare a static final serialVersionUID field of type long
----------
----------
20. WARNING in src/main/java/org/apache/log4j/lf5/LogLevel.java (at line 39)
    public class LogLevel implements java.io.Serializable {
                 ^^^^^^^^
The serializable class LogLevel does not declare a static final serialVersionUID field of type long
----------
----------
21. WARNING in src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java (at line 90)
    CategoryNode node = (CategoryNode) path.getLastPathComponent();
                 ^^^^
The local variable node is never read
----------
22. WARNING in src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java (at line 91)
    boolean rv = false;
            ^^
The local variable rv is never read
----------
----------
23. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java (at line 31)
    public abstract class LogFactor5Dialog extends JDialog {
                          ^^^^^^^^^^^^^^^^
The serializable class LogFactor5Dialog does not declare a static final serialVersionUID field of type long
----------
24. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java (at line 58)
    super.show();
          ^^^^^^
The method show() from the type Dialog is deprecated
----------
----------
25. WARNING in src/main/java/org/apache/log4j/lf5/viewer/FilteredLogTableModel.java (at line 39)
    public class FilteredLogTableModel
                 ^^^^^^^^^^^^^^^^^^^^^
The serializable class FilteredLogTableModel does not declare a static final serialVersionUID field of type long
----------
----------
26. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java (at line 33)
    public class LogFactor5ErrorDialog extends LogFactor5Dialog {
                 ^^^^^^^^^^^^^^^^^^^^^
The serializable class LogFactor5ErrorDialog does not declare a static final serialVersionUID field of type long
----------
27. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java (at line 55)
    hide();
    ^^^^^^
The method hide() from the type Dialog is deprecated
----------
----------
28. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java (at line 31)
    public class LogFactor5LoadingDialog extends LogFactor5Dialog {
                 ^^^^^^^^^^^^^^^^^^^^^^^
The serializable class LogFactor5LoadingDialog does not declare a static final serialVersionUID field of type long
----------
----------
29. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 24)
    import org.apache.log4j.lf5.util.StreamUtils;
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.apache.log4j.lf5.util.StreamUtils is never used
----------
30. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 795)
    JMenuItem menuItem = result;
              ^^^^^^^^
The local variable menuItem is never read
----------
31. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 914)
    JMenuItem exitMI;
              ^^^^^^
The local variable exitMI is never read
----------
32. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1066)
    LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(
                          ^^^^^
The local variable error is never read
----------
33. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1246)
    fonts = tk.getFontList();
               ^^^^^^^^^^^^^
The method getFontList() from the type Toolkit is deprecated
----------
34. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1428)
    LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(
           ERROR: Function failed: do_compile (see /home/otavio/hacking/ossystems/embedded-linux/tmp-eglibc-eglibc/work/x86_64-linux/log4j1.2-native-1.2.15-r0/temp/log.do_compile.10130 for further information)
               ^^^^^
The local variable error is never read
----------
35. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1475)
    LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(
                          ^^^^^
The local variable error is never read
----------
36. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1538)
    LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(
                          ^^^^^
The local variable error is never read
----------
37. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1555)
    LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(
                          ^^^^^
The local variable error is never read
----------
----------
38. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 38)
    public class LogFactor5InputDialog extends LogFactor5Dialog {
                 ^^^^^^^^^^^^^^^^^^^^^
The serializable class LogFactor5InputDialog does not declare a static final serialVersionUID field of type long
----------
39. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 88)
    hide();
    ^^^^^^
The method hide() from the type Dialog is deprecated
----------
40. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 96)
    hide();
    ^^^^^^
The method hide() from the type Dialog is deprecated
----------
41. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 103)
    hide();
    ^^^^^^
The method hide() from the type Dialog is deprecated
----------
----------
42. WARNING in src/main/java/org/apache/log4j/lf5/LogLevelFormatException.java (at line 30)
    public class LogLevelFormatException extends Exception {
                 ^^^^^^^^^^^^^^^^^^^^^^^
The serializable class LogLevelFormatException does not declare a static final serialVersionUID field of type long
----------
----------
43. WARNING in src/main/java/org/apache/log4j/lf5/LogRecord.java (at line 33)
    public abstract class LogRecord implements java.io.Serializable {
                          ^^^^^^^^^
The serializable class LogRecord does not declare a static final serialVersionUID field of type long
----------
----------
44. WARNING in src/main/java/org/apache/log4j/spi/NOPLogger.java (at line 59)
    void closeNestedAppenders() {
         ^^^^^^^^^^^^^^^^^^^^^^
The method NOPLogger.closeNestedAppenders() does not override the inherited method from Category since it is private to a different package
----------
44 problems (4 errors, 40 warnings)

0 Length jvm.cfg file.

When building the java-test-image, or adding IMAGE_INSTALL_append += " openjdk-7-vm-jamvm" to my local recipe, the jre/lib/arm/jvm.cfg file becomes empty. The alternate VM's do work, however, if they are manually added to the empty file, i.e. "-jamvm KNOWN"

xerces-c fails to build on master

Parsing recipes: 100% |##########################################################################################################################################################| Time: 00:00:23
Parsing of 1409 .bb files complete (0 cached, 1409 parsed). 1801 targets, 30 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION = "1.17.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "qemux86-64"
DISTRO = "poky"
DISTRO_VERSION = "1.3+snapshot-20130205"
TUNE_FEATURES = "m64"
TARGET_FPU = ""
meta
meta-yocto
meta-yocto-bsp = "master:cfb082961a6c9ac3d65738031c4071210529cd07"
meta-oe
meta-networking = "master:70f601b83279f6d309ac56eabd7428f50a60e125"
meta-java = "master:510c0446a3d69d123305d67a62d26a35630bfce4"
meta-virtualization = "master:f81c3f6abb7e4ab68d3d0b76d9ca88d285c01818"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/xerces-c/3.1.1-r0/xerces-c-3.1.1'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/xerces-c/3.1.1-r0/temp/log.do_configure.27305
ERROR: Task 208 (/media/sdb5/eel/upstream/m2/recipes-extended/xerces-c/xerces-c_3.1.1.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 822 tasks of which 819 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/media/sdb5/eel/upstream/m2/recipes-extended/xerces-c/xerces-c_3.1.1.bb, do_configure
Summary: There were 16 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

openjdk build error

Hi, I am getting the following error. Any hints how to fix it?

You can also run generated qemu images with a command like 'runqemu qemux86'
Parsing recipes...done.
Parsing of 1409 .bb files complete (0 cached, 1409 parsed). 1860 targets, 76 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_oraclejava '^/lu/yocto-autobuilder/yocto-slave/nightly-openjdk/build/meta-oracle-java/'
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 6b27-1.12.5 of openjdk-6-jre not available (for item java2-runtime)
NOTE: versions of openjdk-6-jre available: 6b24-1.11.1+1.11.2-devel+hgAUTOINC+54ceda20a0 6b24-1.11.9 6b27-1.12.8
ERROR: Trying to resolve runtime dependency java2-runtime resulted in conflicting PREFERRED_PROVIDER entries being found.
The providers found were: ['/lu/yocto-autobuilder/yocto-slave/nightly-openjdk/build/meta-java/recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb', '/lu/yocto-autobuilder/yocto-slave/nightly-openjdk/build/meta-java/recipes-core/openjdk/openjdk-6_6b27-1.12.8.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_openjdk-7-jre = openjdk-7-jre', 'PREFERRED_PROVIDER_openjdk-6-jre = openjdk-6-jre']
NOTE: multiple providers are available for runtime java2-runtime (openjdk-6-jre, openjdk-7-jre, cacao, jamvm)
NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-runtime
NOTE: Runtime target 'java2-runtime' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['java2-runtime']
NOTE: Runtime target 'openjdk-7-jre' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['openjdk-7-jre', 'java2-runtime']
ERROR: Required build target 'core-image-openjdk' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-openjdk', 'openjdk-7-jre', 'java2-runtime']

icedtea6-native: build failure at d430de31c167cd264

java.lang.NoClassDefFoundError: gnu/classpath/tools/rmic/Main
   <>
Caused by: java.lang.ClassNotFoundException: gnu.classpath.tools.rmic.Main not found in java.lang.ClassLoader$1{urls=[file:/home/otavio/hacking/ossystems/embedded-linux/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr/share/classpath/tools.zip], parent=null}
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
   at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
make[8]: *** [/home/otavio/hacking/ossystems/embedded-linux/tmp-eglibc-eglibc/work/x86_64-linux/icedtea6-native-1.8.11-r4.1/icedtea6-1.8.11/openjdk-ecj/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar] Error 1

classpath-native-0.99-r5.0 fails while build for ARM

Hi,
I am building icedtea jvm for ARM (jdk6) and its getting fail in configuring the classpath-native. I looked in the config.log of classpath, and found following error:

oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/bin/ecj-initial -nowarn -source 1.5 -target 1.5 Object.java
Aborting the VM -- couldn't allocate the heap: Cannot allocate memory

I tried to google the solution and tried many things but didn't help.
I set the classpath-version in local.conf, changed the "-Xmx1024m" to "-Xmx512m" in recipes/ecj/files/ecj.in (and in ecj-initial.in) and couple of more suggestions over multiple posts, but none helped.

Any help is really appreciated. Thanks

openjdk-7 build issues

I have 2 issues with building openjdk-7 (for arm)

I fixed both adding links to .../build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/lib. I suppose this is a rather dirty hack - but it works: The resulting ipk seems to work on the target.

Since I am not an expert in the openembedded internals I am not able to determine the real cause and fix them there.
Maybe this post is helpfull - if not please ignore it.

Issue 1 (do_configure):
checking if .../angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/lib/jvm/icedtea7-native/bin/javah exhibits Classpath bug 39408...
configure: error: The Java compiler .../angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/lib/jvm/icedtea7-native/bin/javac failed

This executeable complains it cannot find libjli.so
FIX with ln -s ./jvm/icedtea7-native/jre/lib/x86/jli/libjli.so .

Issue 2 (do_compile):
(cd rhino/rhino.new &&
.../angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/openjdk-7-jre-03b147-2.1-r0.0/icedtea-2.1/build/bootstrap/jdk1.6.0/bin/jar cfm ../rhino.jar META-INF/MANIFEST.MF sun )
java.lang.UnsatisfiedLinkError: .../angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/lib/jvm/icedtea7-native/jre/lib/x86/libnio.so: libnet.so: cannot open shared object file: No such file or directory

FIX with ln -s ./jvm/icedtea7-native/jre/lib/x86/libnet.so .

classpath 0.99 build issue

classpath do_configure fails with following error :

configure:24669: ecj-initial -nowarn -source 1.5 -target 1.5 Object.java
Exception occurred while VM initialising.
java/lang/NullPointerException

Thank you for your help on this topic

jamvm QA fix

This commit:
xranby@1f9bd36
fixes a jamvm QA bug similar to the classpath QA bug that Koen Kooi fixed.
Feel free to cherry pick it!

ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: jamvm path '/work/armv5te-oe-linux-gnueabi/jamvm-1.5.5+1.6.0-devel+git1+4617da717ecb05654ea5bb9572338061106a414d-r0/packages-split/jamvm/usr/lib/jamvm/libjvm.so'
| NOTE: Checking Package: jamvm-doc
| NOTE: Checking Package: jamvm-dev
| NOTE: Checking Package: jamvm-staticdev
| NOTE: Checking Package: jamvm-locale
| ERROR: QA run found fatal errors. Please consider fixing them.
| ERROR: Function 'do_package_qa' failed
NOTE: package jamvm-1.5.5+1.6.0-devel+git1+4617da717ecb05654ea5bb9572338061106a414d-r0: task do_package: Failed
ERROR: Task 504 (/home/xranby/oe-core/build/meta-java/recipes-core/jamvm/jamvm_git.bb, do_package) failed with exit code '1'

openjdk-7-jre build error on dora branch

Compiling worked fine a few days ago but now I got below error.

This error is also mentioned at http://mail-index.netbsd.org/pkgsrc-users/2014/12/31/msg020849.html.

It is clear that some hardcoded date is producing this error. As in the mail discussion above there is an hack to fix this but wanted to post here and see what you guys think.

/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/bootstrap/jdk1.6.0/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx1536m -Xms1536m -XX:PermSize=32m -XX:MaxPermSize=160m -jar /media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk.build/btjars/generatecurrencydata.jar -o /media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk.build/lib/currency.data.temp \
|       < ../../../src/share/classes/java/util/CurrencyData.properties
| Error: time is more than 10 years from present: 1104530400000
| java.lang.RuntimeException: time is more than 10 years from present: 1104530400000
|   at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285)
|   at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225)
|   at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154)
| make[5]: *** [/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk.build/lib/currency.data] Error 1
| make[5]: Leaving directory `/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk/jdk/make/java/java'
| make[4]: *** [all] Error 1
| make[4]: Leaving directory `/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk/jdk/make/java'
| make[3]: *** [all] Error 1
| make[3]: Leaving directory `/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk/jdk/make'
| make[2]: *** [jdk-build] Error 2
| make[2]: Leaving directory `/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk'
| make[1]: *** [build_product_image] Error 2
| make[1]: Leaving directory `/media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/build/openjdk'
| make: *** [stamps/icedtea.stamp] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /media/sdb1/oe-core-new/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/temp/log.do_compile.31112 for further information)
NOTE: recipe openjdk-7-jre-25b30-2.3.12-r5.1: task do_compile: Failed
ERROR: Task 5296 (/media/sdb1/oe-core-new/build/../stuff/meta-java/recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb, do_compile) failed with exit code '1'
NOTE: recipe libmad-0.15.1b-r3: task do_package: Succeeded
NOTE: recipe mpeg2dec-0.4.1-r2: task do_package: Succeeded
NOTE: recipe classpath-0.99-r3: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 6597 tasks of which 3155 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /media/sdb1/oe-core-new/build/../stuff/meta-java/recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb, do_compile
Summary: There were 6 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Command returned error code 1. Exiting
Command returned error code 1. Exiting
Cleaning up...
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE

Jamvm-native libFFI patch issue

Hello

Trying to build jamvm-native using bitbake, and getting errors with the configure script
basically the LIBFFI patch patches configure.ac but somehow some macros are left over, therefore configure fails to run
manually running "autoreconf" fixes it, but bitbake will re-run all scripts in there and block things.
I'm trying to figure out how this all works to fix it, but ain't easy

Oh, i'm trying to build on newest Angstrom 2014.6.
Host system is Gentoo x86

ecj-bootstrap fails to build

An excerpt from my tmp-eglibc/work/x86_64-linux/libecj-bootstrap-3.6.2-r0/temp/log.do_compile:

+ cd /oebuild/oe-core/build/tmp-eglibc/work/x86_64-linux/libecj-bootstrap-3.6.2-r0
+ do_compile
+ find source -name *.java
+ split -l 25 sourcefiles ecj-sources.
+ find . -name ecj-sources.*
+ echo building files in ./ecj-sources.an ...
building files in ./ecj-sources.an ...
+ cat ./ecj-sources.an
+ echo jikes-initial -d build -source 1.4 -sourcepath source source/org/eclipse/jdt/internal/compiler/Compiler.java source/or
g/eclipse/jdt/internal/compiler/ProcessTaskManager.java source/org/eclipse/jdt/internal/compiler/IProblemFactory.java source/
org/eclipse/jdt/core/compiler/batch/BatchCompiler.java source/org/eclipse/jdt/core/compiler/CategorizedProblem.java source/or
g/eclipse/jdt/core/compiler/CompilationProgress.java source/org/eclipse/jdt/core/compiler/CharOperation.java source/org/eclip
se/jdt/core/compiler/IProblem.java source/org/eclipse/jdt/core/compiler/InvalidInputException.java
jikes-initial -d build -source 1.4 -sourcepath source source/org/eclipse/jdt/internal/compiler/Compiler.java source/org/eclip
se/jdt/internal/compiler/ProcessTaskManager.java source/org/eclipse/jdt/internal/compiler/IProblemFactory.java source/org/ecl
ipse/jdt/core/compiler/batch/BatchCompiler.java source/org/eclipse/jdt/core/compiler/CategorizedProblem.java source/org/eclip
se/jdt/core/compiler/CompilationProgress.java source/org/eclipse/jdt/core/compiler/CharOperation.java source/org/eclipse/jdt/
core/compiler/IProblem.java source/org/eclipse/jdt/core/compiler/InvalidInputException.java
+ cat ./ecj-sources.an
+ jikes-initial -d build -source 1.4 -sourcepath source source/org/eclipse/jdt/internal/compiler/Compiler.java source/org/ecl
ipse/jdt/internal/compiler/ProcessTaskManager.java source/org/eclipse/jdt/internal/compiler/IProblemFactory.java source/org/e
clipse/jdt/core/compiler/batch/BatchCompiler.java source/org/eclipse/jdt/core/compiler/CategorizedProblem.java source/org/ecl
ipse/jdt/core/compiler/CompilationProgress.java source/org/eclipse/jdt/core/compiler/CharOperation.java source/org/eclipse/jd
t/core/compiler/IProblem.java source/org/eclipse/jdt/core/compiler/InvalidInputException.java

This leads to:

*** Semantic Error: No accessible field named "SUFFIX_STRING_class" was found in type "org.eclipse.jdt.internal.compiler.batch.FileSystem".

and others.

The problem is that the result of find is not sorted. When I tried to build openjdk-6 as layed out in http://icedtea.classpath.org/wiki/CrossCompileOECoreTutorial on an ext4 file system with dir_index enabled, the build failed because find returned the files in an order incompatible with the build process.

cacao postinst error

Upgrading openjdk-6-vm-cacao on root from 6b18-1.8.11-r11.0 to 6b24-1.10.4+1.11-devel+hg1+cf80d2049346-r13.0...

Configuring openjdk-6-vm-cacao.
sed: -e expression #1, char 12: unknown command: `'
Collected errors:

  • pkg_run_script: package "openjdk-6-vm-cacao" postinst script returned status 1.
  • opkg_configure: openjdk-6-vm-cacao.postinst returned 1.

openjdk-6 build issue

Openjdk-6 build fails with "ERROR: Function failed: Fetcher failure for URL: 'file://autotools.patch'. Unable to fetch URL from any source." meta-java/recipes-core/classpath/classpath-initial_0.93.bb, do_fetch.

Please help on this...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.