Code Monkey home page Code Monkey logo

build-openj9's Introduction

Building OpenJDK with OpenJ9

An action to build OpenJDK with OpenJ9

Usage

See action.yml

build-openj9's People

Contributors

dependabot[bot] avatar eclipsewebmaster avatar keithc-ca avatar llxia avatar pshipton avatar smlambert avatar sophia-guo avatar step-security-bot avatar

Stargazers

 avatar

Watchers

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

build-openj9's Issues

jdk14 on windows issue

Build jdk14 on windows got the issue:
https://github.com/sophia-guo/build-jdk-openj9/runs/715421996?check_suite_focus=true

[builder] PREPROCESS WAS SUCCESSFUL
Building target 'all' in configuration 'windows-x86_64-server-release'
make[3]: *** No rule to make target '/cygdrive/d/a/build-jdk-openj9/build-jdk-openj9/openj9-openjdk-jdk14/build/windows-x86_64-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS.vardeps', needed by '/cygdrive/d/a/build-jdk-openj9/build-jdk-openj9/openj9-openjdk-jdk14/build/windows-x86_64-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_batch'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [make/Main.gmk:70: buildtools-langtools] Error 2
make[2]: *** Waiting for unfinished jobs.... 

Details on discussion https://openj9.slack.com/archives/C8312LCV9/p1590702464216800

This issue should be fixed by the patch promoted from the master to openj9 branch in extension repo

jdk 15 failed on Mac

jdk15 on Mac got:

Creating support/modules_cmds/openj9.dtfj/jextract from 1 file(s)
/Users/runner/work/runaqaTest/runaqaTest/openj9-openjdk-jdk15/src/java.desktop/macosx/native/libawt_lwawt/awt/CSystemColors.m:129:9: error: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Werror,-Wtautological-constant-compare]
    if (colorIndex < (useAppleColor) ? sun_lwawt_macosx_LWCToolkit_NUM_APPLE_COLORS : java_awt_SystemColor_NUM_COLORS) {
        ^
1 error generated.
make[3]: *** [/Users/runner/work/runaqaTest/runaqaTest/openj9-openjdk-jdk15/build/macosx-x86_64-server-release/support/native/java.desktop/libawt_lwawt/CSystemColors.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [java.desktop-libs] Error 2

https://github.com/sophia-guo/runaqaTest/runs/1419354025?check_suite_focus=true

Security Best Practices

Hi,

As a member of the Security Team from the Eclipse Foundation, we used a tools Scorecard and StepSecurity to analyze this repo in order to push a pull request that cover some or all the following best practices below:

As a result, You will see a PR coming from StepSecurity to help to implement those fixes above which will cover a list of points below identified detected:

Please donโ€™t hesitate and reach out if there is something unclear above.

Kind Regards,
Francisco Perez

jdk15 build failed with unsuccessful proprocess

Started from Jan 25 or Jan 26 the build failed as:

Building OpenJ9 Java Preprocessor
Building /home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/support/j9tools/jpp.jar
Generating J9JCL sources
Reading preprocess instructions from xml...
No configuration or non-existant configuration specified (Configurations are case sensitive)
PREPROCESS WAS NOT SUCCESSFUL
/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/closed/GensrcJ9JCL.gmk:41: recipe for target '/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/make-support/j9jcl.done' failed
make[2]: *** [/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/make-support/j9jcl.done] Error 1
Building OpenJ9 Java Preprocessor
Generating J9JCL sources
Reading preprocess instructions from xml...
No configuration or non-existant configuration specified (Configurations are case sensitive)
PREPROCESS WAS NOT SUCCESSFUL
/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/closed/GensrcJ9JCL.gmk:41: recipe for target '/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/make-support/j9jcl.done' failed
make[2]: *** [/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/make-support/j9jcl.done] Error 1
Building OpenJ9 Java Preprocessor
Generating J9JCL sources
Reading preprocess instructions from xml...
No configuration or non-existant configuration specified (Configurations are case sensitive)
PREPROCESS WAS NOT SUCCESSFUL
/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/closed/GensrcJ9JCL.gmk:41: recipe for target '/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/make-support/j9jcl.done' failed
make[2]: *** [/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/build/linux-x86_64-server-release/make-support/j9jcl.done] Error 1
/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk15/closed/custom/common/Modules.gmk:52: recipe for target 'generate-j9jcl-sources' failed
make[1]: *** [generate-j9jcl-sources] Error 2
make: *** No rule to make target 'all'.  Stop.

https://github.com/eclipse/build-openj9/runs/1794677206?check_suite_focus=true

jdk 11 ubuntu build failed with 'Exception in thread "main" java.lang.RuntimeException: Failed to load alias map from resource: /com/ibm/j9ddr/StructureAliases29.dat - cannot continue'

jdk 11 ubuntu build failed with message: 'Exception in thread "main" java.lang.RuntimeException: Failed to load alias map from resource: /com/ibm/j9ddr/StructureAliases29.dat - cannot continue' from May 12 or May 13th.

Generating DDR pointer and structure class files
Exception in thread "main" java.lang.RuntimeException: Failed to load alias map from resource: /com/ibm/j9ddr/StructureAliases29.dat - cannot continue
	at com.ibm.j9ddr.StructureReader.loadAliasMapData(StructureReader.java:438)
	at com.ibm.j9ddr.StructureReader.loadAliasMap(StructureReader.java:306)
	at com.ibm.j9ddr.StructureReader.applyAliases(StructureReader.java:222)
	at com.ibm.j9ddr.StructureReader.<init>(StructureReader.java:120)
	at com.ibm.j9ddr.tools.ClassGenerator.readBlob(ClassGenerator.java:93)
	at com.ibm.j9ddr.tools.ClassGenerator.run(ClassGenerator.java:174)
	at com.ibm.j9ddr.tools.ClassGenerator.main(ClassGenerator.java:79)
make[4]: *** [/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk11/build/linux-x86_64-normal-server-release/support/ddr/classes.done] Error 1
/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk11/closed/DDR.gmk:106: recipe for target '/home/runner/work/build-openj9/build-openj9/openj9-openjdk-jdk11/build/linux-x86_64-normal-server-release/support/ddr/classes.done' failed
Gensrc-openj9.dtfj.gmk:25: recipe for target 'all' failed
make[3]: *** [all] Error 2
make/Main.gmk:112: recipe for target 'openj9.dtfj-gensrc-src' failed
make[2]: *** [openj9.dtfj-gensrc-src] Error 1

https://github.com/eclipse-openj9/build-openj9/runs/2659808852?check_suite_focus=true

jdk11 fails to build on Windows with updated cygwin

jdk11 on windows broken
https://github.com/sophia-guo/runaqa/runs/758463431?check_suite_focus=true

TR_BUILD_NAME:        aa9321e4f
J9SRC:                D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm
JIT_SRCBASE:          D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm
JIT_OBJBASE:          D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm/objs
JIT_DLL_DIR:          D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm
OMR_DIR:              D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm/omr
BUILD_CONFIG:         prod
NUMBER_OF_PROCESSORS: 2
VERSION_MAJOR:        11
Compiling 51 files for jdk.internal.opt
ENABLE_GPU:           1
CUDA_HOME:            C:/progra~1/nvidia~2/cuda/v9.0
GDK_HOME:             /NVIDIA/gdk
/usr/bin/make -j 2 -C D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm/compiler -f compiler.mk
make[6]: Entering directory '/cygdrive/d/a/runaqa/runaqa/openj9-openjdk-jdk11/build/windows-x86_64-normal-server-release/vm/compiler'
make[6]: warning: -j2 forced in submake: resetting jobserver mode.
if not exist "D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm\" mkdir "D:\a\runaqa\runaqa\openj9-openjdk-jdk11\build\windows-x86_64-normal-server-release\vm\"
The filename, directory name, or volume label syntax is incorrect.
make[6]: *** [D:/a/runaqa/runaqa/openj9-openjdk-jdk11/build/windows-x86_64-normal-server-release/vm/compiler/build/rules/win-msvc/common.mk:90: jit_createdirs] Error 1
make[6]: Leaving directory '/cygdrive/d/a/runaqa/runaqa/openj9-openjdk-jdk11/build/windows-x86_64-normal-server-release/vm/compiler'
make[5]: *** [makefile:70: default] Error 2

Based on the discussion on https://openj9.slack.com/archives/C862YFGL9/p1592068314032000 we know it was caused by the updated version of cygwin (3.1.4.1 to 3.1.5.1 on June 1) . (Note: make version is same version 4.3.1. ). Though we haven't
figured out the underlying or fundamental issue about it.

Release v1

We need to release v1 to enable the nightly build or publish the action to be used in other workflow. @smlambert I don't have permission to do it. Could you help with 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.