built successfully !! mac :10.13.3 (17D47) xcode: Version 8.3.3 (8E3004b) android : android-7.1.2_r8
- 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 - make bison - Replace prebuilt bison binary with patched binary - cp /Volumes/AOSP/out/host/darwin-x86/bin/bison /Volumes/AOSP/prebuilts/misc/darwin-x86/bison/ - Build 在 2017年11月20日星期一 UTC+8上午4:17:10,zhao boliang写道: > > Same issue on macos high sierra > > 在 2017年10月16日星期一 UTC+8上午8:52:24,Hunter Aaron写道: >> >> 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.
