Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55453

couchbase-server build failure observed on Mac M1 (arm64) - JVM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.2.0
    • 7.2.0
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      17:55:49 – Downloading and caching openjdk-11.0.18+10
      17:56:00 – Using downloaded JDK at /Users/couchbase/workspace/toy-unix-simple/server_build/jdk.exploded/openjdk-11.0.18+10
      17:56:01– Found Java: /Users/couchbase/workspace/toy-unix-simple/server_build/jdk.exploded/openjdk-11.0.18+10/bin/java (found version "11.0.18") found components: Development
      17:56:01 – JAVA_HOME: /Users/couchbase/workspace/toy-unix-simple/server_build/jdk.exploded/openjdk-11.0.18+10
      17:56:01 – Creating JRE using jlink
      17:56:02 Error: Module jdk.aot not found
      17:56:02 CMake Error at analytics/cmake/Modules/FindCouchbaseJava.cmake:191 (MESSAGE):
      17:56:02 Error running jlink!
      17:56:02 Call Stack (most recent call first):
      17:56:02 analytics/CMakeLists.txt:8 (INCLUDE)
      17:56:02
      17:56:02
      17:56:02 – Configuring incomplete, errors occurred!
      17:56:02 See also "/Users/couchbase/workspace/toy-unix-simple/server_build/CMakeFiles/CMakeOutput.log".
      17:56:02 See also "/Users/couchbase/workspace/toy-unix-simple/server_build/CMakeFiles/CMakeError.log".
      17:56:02 Build step 'Execute shell' marked build as failure
      17:56:02 New run name is 'ming.ho@couchbase.com-macos-arm64-enterprise--'17:56:02 Finished: FAILURE
       

      The following jmods are not available on Mac's arm64 for java11:

      jdk.aot.jmod
      jdk.internal.vm.ci.jmod
      jdk.internal.vm.compiler.jmod
      jdk.internal.vm.compiler.management.jmod

       

      This is not an issue on master since java17 is used (see MB-51547)

      In order to reproduce this, https://review.couchbase.org/c/tlm/+/186260 be picked up.

      Attachments

        Issue Links

          Activity

            People

              wayne Wayne Siu
              ming.ho Ming Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty