[oe] meta-java openjdk-8 fails to compile for beaglebone

Belisko Marek marek.belisko at gmail.com
Fri Jun 29 12:33:02 UTC 2018


Hello,

I'm trying to compile openjdk-8 from actual meta-java master (I'm
using rocko poky though).
I basically copy content of openjdk to custom layer and added small
bbappend with following content:

DEPENDS += "cups libxrender xtst libxt"

as without that when building with X11 configure phase fails. But
during compilation I get this error:

i/openjdk-8/162b12-r0/build/jdk/gensrc_headers.BUILD_JDK.tmp
@/home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/classes/_the.BUILD_JDK_batch.tmp
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XRenderPictFormat.java:8:
error: cannot find symbol
| public class XRenderPictFormat extends XWrapperBase {
|                                        ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XRenderDirectFormat.java:8:
error: cannot find symbol
| public class XRenderDirectFormat extends XWrapperBase {
|                                          ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XVisibilityEvent.java:8:
error: cannot find symbol
| public class XVisibilityEvent extends XWrapperBase {
|                                       ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XkbExtensionDeviceNotifyEvent.java:8:
error: cannot find symbol
| public class XkbExtensionDeviceNotifyEvent extends XWrapperBase {
|                                                    ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/AwtGraphicsConfigData.java:8:
error: cannot find symbol
| public class AwtGraphicsConfigData extends XWrapperBase {
|                                            ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XVisualInfo.java:8:
error: cannot find symbol
| public class XVisualInfo extends XWrapperBase {
|                                  ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/awtImageData.java:8:
error: cannot find symbol
| public class awtImageData extends XWrapperBase {
|                                   ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/ColorData.java:8:
error: cannot find symbol
| public class ColorData extends XWrapperBase {
|                                ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XPixmapFormatValues.java:8:
error: cannot find symbol
| public class XPixmapFormatValues extends XWrapperBase {
|                                          ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/ColorEntry.java:8:
error: cannot find symbol
| public class ColorEntry extends XWrapperBase {
|                                 ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XKeymapEvent.java:8:
error: cannot find symbol
| public class XKeymapEvent extends XWrapperBase {
|                                   ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/AwtScreenData.java:8:
error: cannot find symbol
| public class AwtScreenData extends XWrapperBase {
|                                    ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XColormapEvent.java:8:
error: cannot find symbol
| public class XColormapEvent extends XWrapperBase {
|                                     ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XEvent.java:8:
error: cannot find symbol
| public class XEvent extends XWrapperBase {
|                             ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XAnyEvent.java:8:
error: cannot find symbol
| public class XAnyEvent extends XWrapperBase {
|                                ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XKeyEvent.java:8:
error: cannot find symbol
| public class XKeyEvent extends XWrapperBase {
|                                ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XButtonEvent.java:8:
error: cannot find symbol
| public class XButtonEvent extends XWrapperBase {
|                                   ^
|   symbol: class XWrapperBase
| /home/marek/projects/yocto/build-test/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openjdk-8/162b12-r0/build/jdk/gensrc/sun/awt/X11/XMotionEvent.java:8:
error: cannot find symbol

any ideas what to check, update? Also I plan to post dependency patch
with X11 missing dependencies. Thanks.

BR,

marek
-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com



More information about the Openembedded-devel mailing list