Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213736

Build fails with LOG=debug on F28 after JDK-8210958

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      After this fix I'm getting this when trying to build the JDK on F28 with make-4.2.1-6.fc28.x86_64 and autoconf-2.69-27.fc28.noarch:

      /disk/openjdk/upstream-sources/openjdk-head/make/Main.gmk:1056: *** target pattern contains no '%'. Stop.

      That line in make/Main.gmk is:

      $(foreach t, $(ALL_NAMED_TESTS), $(eval run-test-$t: test-$t))

      It appears those $(foreach) lines are problematic. I don't know why. Building revision 2b58b8e1d28f, which is the parent of JDK-8210958, builds fine with LOG=debug. Building revision 9341b077bd55, which corresponds to JDK-8210958 fails with LOG=debug as follows:

      ( /usr/bin/printf "DEPS_jdk.xml.dom :=" && /usr/bin/gawk -v MODULE=jdk.xml.dom ' BEGIN { if (MODULE != "java.base") printf(" java.base"); } /^ *requires/ { sub(/;/, ""); sub(/requires /, " "); sub(/ static /, " "); sub(/ transitive /, " "); sub(/\/\/.*/, ""); sub(/\/\*.*\*\//, ""); gsub(/^ +\*.*/, ""); gsub(/ /, ""); printf(" %s", $0) } END { printf("\n") }' /disk/openjdk/upstream-sources/openjdk-head-2/src/jdk.xml.dom/share/classes/module-info.java && /usr/bin/printf "TRANSITIVE_MODULES_jdk.xml.dom :=" && /usr/bin/gawk -v MODULE=jdk.xml.dom ' BEGIN { if (MODULE != "java.base") printf(" java.base"); } /^ *requires *transitive/ { sub(/;/, ""); sub(/requires/, ""); sub(/transitive/, ""); sub(/\/\/.*/, ""); sub(/\/\*.*\*\//, ""); gsub(/^ +\*.*/, ""); gsub(/ /, ""); printf(" %s", $0) } END { printf("\n") }' /disk/openjdk/upstream-sources/openjdk-head-2/src/jdk.xml.dom/share/classes/module-info.java ) >> /disk/openjdk/upstream-sources/openjdk-head-2/build/linux-x86_64-server-fastdebug/make-support/module-deps.gmk
      ( /usr/bin/printf "DEPS_jdk.zipfs :=" && /usr/bin/gawk -v MODULE=jdk.zipfs ' BEGIN { if (MODULE != "java.base") printf(" java.base"); } /^ *requires/ { sub(/;/, ""); sub(/requires /, " "); sub(/ static /, " "); sub(/ transitive /, " "); sub(/\/\/.*/, ""); sub(/\/\*.*\*\//, ""); gsub(/^ +\*.*/, ""); gsub(/ /, ""); printf(" %s", $0) } END { printf("\n") }' /disk/openjdk/upstream-sources/openjdk-head-2/src/jdk.zipfs/share/classes/module-info.java && /usr/bin/printf "TRANSITIVE_MODULES_jdk.zipfs :=" && /usr/bin/gawk -v MODULE=jdk.zipfs ' BEGIN { if (MODULE != "java.base") printf(" java.base"); } /^ *requires *transitive/ { sub(/;/, ""); sub(/requires/, ""); sub(/transitive/, ""); sub(/\/\/.*/, ""); sub(/\/\*.*\*\//, ""); gsub(/^ +\*.*/, ""); gsub(/ /, ""); printf(" %s", $0) } END { printf("\n") }' /disk/openjdk/upstream-sources/openjdk-head-2/src/jdk.zipfs/share/classes/module-info.java ) >> /disk/openjdk/upstream-sources/openjdk-head-2/build/linux-x86_64-server-fastdebug/make-support/module-deps.gmk
      FindJtregGroups /disk/openjdk/upstream-sources/openjdk-head-2/test/hotspot/jtreg
      FindJtregGroups /disk/openjdk/upstream-sources/openjdk-head-2/test/jdk
      FindJtregGroups /disk/openjdk/upstream-sources/openjdk-head-2/test/langtools
      FindJtregGroups /disk/openjdk/upstream-sources/openjdk-head-2/test/nashorn
      FindJtregGroups /disk/openjdk/upstream-sources/openjdk-head-2/test/jaxp
      /disk/openjdk/upstream-sources/openjdk-head-2/make/Main.gmk:1060: *** target pattern contains no '%'. Stop.
      make[1]: Leaving directory '/disk/openjdk/upstream-sources/openjdk-head-2'
      make: *** No rule to make target 'images'. Stop.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgehwolf Severin Gehwolf
                Reporter:
                sgehwolf Severin Gehwolf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: