An action to build OpenJDK with OpenJ9
See action.yml
Openj9 Build
License: MIT License
An action to build OpenJDK with OpenJ9
See action.yml
ubuntu-16.04 is depreciated we need to update to ubuntu-latest( 18).
First try got error for all jdk versions:
configure: error: C compiler cannot create executables
, which probably need to update the dependencies base on ubuntu20. Need to confirm that how openj9 set up the dependencies for ubuntu20.
https://github.com/sophia-guo/runaqaTest/runs/2669520807?check_suite_focus=true
Nightly builds wasn't triggered as expected from Jan 27th. Could the usage limits be reached?
jdk 8 build failed on ubuntu with 'Package 'openjdk-7-jdk' has no installation candidate'
Will update to openjdk-8-jdk
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
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
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
I believe we have a 2nd PR that needs to be merged in order for nightlies to pass:
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 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 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.
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?
Currently this action either pulls from the upstream AdoptOpenJDK/openjdk-build repo, or pulls from the head of a PR.
I would like to have the option to specify my own repo and branch to implement comment-triggered PR builds using a custom repo and branch.
Started from Dec 3 jdk11 on macos failed.
https://github.com/eclipse/build-openj9/runs/1794677206?check_suite_focus=true
๐บ /usr/local/Cellar/nasm/2.15.05: 29 files, 2.9MB
==> Caveats
==> ccache
To install symlinks for compilers that will automatically use
ccache, prepend this directory to your PATH:
/usr/local/opt/ccache/libexec
If this is an upgrade and you have previously added the symlinks to
Change the matrix at:
https://github.com/eclipse/build-openj9/blob/master/.github/workflows/nightly.yml#L34
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.