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

build-infra: jobjc headers cause incorrect make dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • infrastructure

      In CompileJavaClasses.gmk (line 410), we have SetupJavaCompilation,BUILD_JOBJC_HEADERS_JAR. This has HEADERS=$(JDK_OUTPUTDIR)/gensrc_headers which is equal to HEADERS for SetupJavaCompilation,BUILD_JDK. This causes make to complain:
      CompileJavaClasses.gmk:408: warning: overriding commands for target `/HUDSON/workspace/2-build-macosx-x86_64/jdk8-newmake/1571/build/macosx-x86_64/jdk/gensrc_headers/_the.headers'
      CompileJavaClasses.gmk:302: warning: ignoring old commands for target `/HUDSON/workspace/2-build-macosx-x86_64/jdk8-newmake/1571/build/macosx-x86_64/jdk/gensrc_headers/_the.headers'
      make[2]: Circular /HUDSON/workspace/2-build-macosx-x86_64/jdk8-newmake/1571/build/macosx-x86_64/jdk/jobjc_classes_headers/_the.batch <- /HUDSON/workspace/2-build-macosx-x86_64/jdk8-newmake/1571/build/macosx-x86_64/jdk/gensrc_headers/_the.headers dependency dropped.
      make[2]: Circular /HUDSON/workspace/2-build-macosx-x86_64/jdk8-newmake/1571/build/macosx-x86_64/jdk/gensrc_headers/_the.headers <- /HUDSON/workspace/2-build-macosx-x86_64/jdk8-newmake/1571/build/macosx-x86_64/jdk/gensrc_headers/_the.headers dependency dropped.

            Unassigned Unassigned
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: