Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8313661 [REDO] Relax prerequisites for java.base-jmod target
  3. JDK-8313274

[BACKOUT] Relax prerequisites for java.base-jmod target

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P1
    • 22
    • 22
    • infrastructure
    • None
    • b10

    Description

      I am seeing inscrutable build failures from clean builds configured --with-default-make-target='jdk-image test-image-jdk-jtreg-native' --with-jobs=1

      Recipe:

      ```
      rm -rf build; bash ./configure --with-default-make-target='jdk-image test-image-jdk-jtreg-native' --with-boot-jdk=/home/martin/jdk/jdk21 --with-jobs=1 && make
      ...
      Creating java.base.jmod
      Error: Resolution failed: Module java.compiler not found, required by jdk.jdeps
      gmake[3]: *** [CreateJmods.gmk:245: /home/martin/ws/jdk/build/linux-x86_64-server-release/support/images/jmods/_create_java.base.jmod_exec.marker] Error 2
      gmake[2]: *** [make/Main.gmk:412: java.base-jmod] Error 2

      ERROR: Build failed for target 'default (jdk-image test-image-jdk-jtreg-native)' in configuration 'linux-x86_64-server-release' (exit code 2)
      ```

      I am seeing this only when using **both** --with-default-make-target=... and --with-jobs=1

      Not sure when this was introduced (I haven't git-bisected) but it was likely 2023-07.

      Attachments

        Issue Links

          Activity

            People

              erikj Erik Joelsson
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: