build failure on solaris-i586 in make/sun/cldr
Weijun Wang
weijun.wang at oracle.com
Wed Dec 12 23:54:25 UTC 2012
On 12/13/2012 03:49 AM, Naoto Sato wrote:
> Hi Max,
>
> Looks like the "$(CD) $$dir;" is unnecessary here. Thanks for the catch.
> Just wondering why it is failing on solaris-i586 only. I don't use
> ALT_OUTPUTDIR, but never seen this failure on my environment.
I've filed the bug [1] but then noticed it's also my problem.
In fact, ../../../build/solaris-i586/gensrc goes up 3 levels and go
down another 3, so it's back to the current directory. Cool.
But here, my build/solaris-i586 is a symlink to a fast local drive, and
it's messed up.
I just lowered the priority and add a comment.
Thanks
Max
[1] https://jbs.oracle.com/bugs/browse/JDK-8004981
>
> Can you please file a bug for this?
>
> Naoto
>
> On 12/11/12 11:33 PM, Weijun Wang wrote:
>> 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 $$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.
>>
>> 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
>>
>>
>
More information about the core-libs-dev
mailing list