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

build failure in make/sun/cldr

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Build failed in make/sun/cldr. The Makefile [1] has these lines:

             75 for dir in $(GENSRCDIR); do \
             76 if [ -d $$dir ] ; then \
             77 ( $(CD) $$dir; \
             78 for sdir in $(CLDRGENSRCDIR); do \
             79 if [ -d $$sdir ] ; then \
             80 $(FIND) $$sdir \
             81 -name '*.java' -print >> $(JAVA_SOURCE_LIST) ; \
             82 fi ; \
             83 done \
             84 ); \
             85 fi; \
             86 done \

      So it goes into $(GENSRCDIR) and then tries to look for files inside (one of) $(CLDRGENSRCDIR). The latter is defined as

             49 CLDRGENSRCDIR = $(GENSRCDIR)/sun/text/resources/cldr \
             50 $(GENSRCDIR)/sun/util/cldr \
             51 $(GENSRCDIR)/sun/util/resources/cldr

      in the same file.

      GENSRCDIR can be a relative directory, you cannot cd into it and use it again.

      Maybe the cd command is just useless.

      [1] http://hg.openjdk.java.net/jdk8/tl/jdk/file/131a683a2ce0/make/sun/cldr/Makefile

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              weijun Weijun Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: