It works.Thanks so much. 在 2017年12月10日星期日 UTC+8上午1:18:22,Leland Takamine写道: > > I was able to fix this issue with the following steps: > > > - > > Patch bison fix > > <https://android-review.googlesource.com/c/platform/external/bison/+/517740> > for High Sierra and build bison: > - > > cd /Volumes/AOSP/external/bison > - > > git cherry-pick c0c852bd6fe462b148475476d9124fd740eba160 > - > > mm > - > > Replace prebuilt bison binary with patched binary > - > > cp /Volumes/AOSP/out/host/darwin-x86/bin/bison > /Volumes/AOSP/prebuilts/misc/darwin-x86/bison/ > - Build > > > On Sunday, October 15, 2017 at 5:52:24 PM UTC-7, Hunter Aaron wrote: >> >> There is the log when I built *android-8.0.0_r17* on high sierra: >>> >>> [ 3% 2279/59686] yacc >>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp >>> >>> FAILED: >>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp >>> >>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h >>> >>> >>> >>> BISON_PKGDATADIR=external/bison/data >>> prebuilts/misc/darwin-x86/bison/bison -d >>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86 >>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o >>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp >>> >>> system/tools/aidl/aidl_language_y.yy >>> >>> [ 3% 2282/59686] lex >>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp >>> >>> ninja: build stopped: subcommand failed. >>> >>> 14:03:54 ninja failed with: exit status 1 >>> >>> make: *** [run_soong_ui] Error 1 >>> >> >> I google a log,but still can not solve.And I also had tried to build >> android-7.1.2,it also failed with similar log. >> >> Has anyone built successfully on Mac OS high sierra? >> >
-- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
