Cannot build jigsaw on Mac OSX 10.8.2
Paul Sandoz
paul.sandoz at oracle.com
Fri Apr 12 04:35:53 PDT 2013
On Apr 12, 2013, at 12:40 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
> I think this is just that the jigsaw forest doesn't have 8007387 yet. Can you set LANG=C and see if that resolves it?
That did not work. But the patch below fixed it.
Thanks,
Paul.
diff -r 4df6759a08ac makefiles/Images.gmk
--- a/makefiles/Images.gmk Sat Mar 23 21:09:13 2013 +0000
+++ b/makefiles/Images.gmk Fri Apr 12 13:35:19 2013 +0200
@@ -57,7 +57,7 @@
$(ECHO) $(LOG_INFO) Processing $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(RM) $@
- $(SED) 's/$$//g' $< > $@
+ LC_ALL=C $(SED) 's/$$//g' $< > $@
$(CHMOD) 444 $@
endef
diff -r 4df6759a08ac makefiles/ModuleImages.gmk
--- a/makefiles/ModuleImages.gmk Sat Mar 23 21:09:13 2013 +0000
+++ b/makefiles/ModuleImages.gmk Fri Apr 12 13:35:19 2013 +0200
@@ -129,7 +129,7 @@
$(ECHO) $(LOG_INFO) Processing $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(RM) $@
- $(SED) 's/$$//g' $< > $@
+ LC_ALL=C $(SED) 's/$$//g' $< > $@
$(CHMOD) 444 $@
endef
>
>
> On 12/04/2013 09:59, Paul Sandoz wrote:
>> Hi Erik,
>>
>> I cannot build Jigsaw on my Mac running OSX 10.8.2:
>>
>> --
>>
>> ...
>> Installing module jdk.classpath
>>>>> Finished making modularize @ Thu Apr 11 22:15:15 CEST 2013 ...
>> ## Finished post-modules (build time 00:02:19)
>>
>> ## Starting images
>> sed: RE error: illegal byte sequence
>> make[2]: *** [/Users/sandoz/Projects/jdk8/jigsaw/build/macosx-x86_64-normal-server-release/images/jre-base-image/THIRD_PARTY_README] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[1]: *** [images] Error 2
>> make: *** [images-only] Error 2
>>
>> --
>>
>> That is the same error i got previously when making images before the new build system was introduced.
>>
>> Note that i can build tl and lambda without any issue.
>>
>> Paul.
>
More information about the jigsaw-dev
mailing list