build failure on solaris-i586 in make/sun/cldr (original) (raw)
Weijun Wang weijun.wang at oracle.com
Wed Dec 12 07:33:02 UTC 2012
- Previous message: hg: jdk8/tl/jdk: 8004905: Correct license of test to remove classpath exception
- Next message: build failure on solaris-i586 in make/sun/cldr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I haven't build on solaris-i586 for some time and see a failure today in make/sun/cldr. The Makefile [1] has these lines:
75 for dir in $(GENSRCDIR); do \
76 if [ -d <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>dir ] ; then \
77 ( <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>C</mi><mi>D</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(CD) </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mopen">(</span><span class="mord mathnormal" style="margin-right:0.07153em;">C</span><span class="mord mathnormal" style="margin-right:0.02778em;">D</span><span class="mclose">)</span></span></span></span>$dir; \
78 for sdir in $(CLDRGENSRCDIR); do \
79 if [ -d <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>sdir ] ; then \
80 <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false">(</mo><mi>F</mi><mi>I</mi><mi>N</mi><mi>D</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">(FIND) </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mopen">(</span><span class="mord mathnormal" style="margin-right:0.13889em;">F</span><span class="mord mathnormal" style="margin-right:0.07847em;">I</span><span class="mord mathnormal" style="margin-right:0.10903em;">N</span><span class="mord mathnormal" style="margin-right:0.02778em;">D</span><span class="mclose">)</span></span></span></span>$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.
In my build, GENSRCDIR is something like ../../../build/solaris-i586/gensrc. Since this is a relative directory, you cannot cd into it and use it again.
Maybe the first CD is just useless.
Is everyone using ALT_OUTPUTDIR?
Thanks Max
[1] http://hg.openjdk.java.net/jdk8/tl/jdk/file/131a683a2ce0/make/sun/cldr/Makefile
- Previous message: hg: jdk8/tl/jdk: 8004905: Correct license of test to remove classpath exception
- Next message: build failure on solaris-i586 in make/sun/cldr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]