What version of Android are you trying to build? This has been fixed on master, older versions generally aren't supported on new Mac versions (there's a range check for compatible SDK versions, but this is a runtime issue, so that may not catch it).
- Dan On Wed, Mar 21, 2018 at 7:04 AM Suyash Gupta <[email protected]> wrote: > I am facing the same issue. Please help guys here! > > On Sunday, December 3, 2017 at 1:44:46 AM UTC+5:30, 王晓辉 wrote: >> >> [1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja >> >> [56/57] glob prebuilts/ndk/stl.bp >> >> [76/76] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja >> >> out/build-full-cleanspec.ninja is missing, regenerating... >> >> out/build-full.ninja is missing, regenerating... >> >> [2/897] including art/Android.mk ... >> >> *art/build/Android.common.mk:50 <http://Android.common.mk:50>: **warning: >> **unsupported HOST_ARCH=x86_64* >> >> [590/897] including system/sepolicy/Android.mk ... >> >> *system/sepolicy/Android.mk:111: **warning: **BOARD_SEPOLICY_VERS not >> specified, assuming current platform version* >> >> [897/897] including tools/tradefederation/core/Android.mk ... >> >> *platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk >> <http://instrumentation_metric_test_list.mk>: **warning:** >> continuous_instrumentation_metric_tests: Unknown installed file for module >> perf-setup.sh * >> >> *platform_testing/build/tasks/tests/instrumentation_test_list.mk >> <http://instrumentation_test_list.mk>: **warning:** >> continuous_instrumentation_tests: Unknown installed file for module >> SettingsFunctionalTests * >> >> *platform_testing/build/tasks/tests/instrumentation_test_list.mk >> <http://instrumentation_test_list.mk>: **warning:** >> continuous_instrumentation_tests: Unknown installed file for module >> LauncherFunctionalTests * >> >> *platform_testing/build/tasks/tests/instrumentation_test_list.mk >> <http://instrumentation_test_list.mk>: **warning:** >> continuous_instrumentation_tests: Unknown installed file for module >> EmergencyInfoTests * >> >> *platform_testing/build/tasks/tests/native_metric_test_list.mk >> <http://native_metric_test_list.mk>: **warning:** >> continuous_native_metric_tests: Unknown installed file for module >> perf-setup.sh * >> >> [ 99% 439/440] glob tools/apksig/src/main/java/**/*.java >> >> [ 0% 123/62632] //external/protobuf:aprotoc >> cla...gle/protobuf/compiler/java/java_file.cc [darwin] >> >> In file included from >> external/protobuf/src/google/protobuf/compiler/java/java_file.cc:41: >> >> In file included from external/libcxx/include/set:389: >> >> *external/libcxx/include/__tree:1817:22: **warning: **the specified >> comparator type does not provide a const call operator >> [-Wuser-defined-warnings]* >> >> __trigger_diagnostics()), ""); >> >> * ^* >> >> *external/libcxx/include/set:400:28: note: *in instantiation of member >> function 'std::__1::__tree<const google::protobuf::FieldDescriptor *, >> google::protobuf::compiler::java::(anonymous >> namespace)::FieldDescriptorCompare, std::__1::allocator<const >> google::protobuf::FieldDescriptor *> >::~__tree' requested here >> >> class _LIBCPP_TEMPLATE_VIS set >> >> * ^* >> >> *external/libcxx/include/__tree:968:7: note: *from 'diagnose_if' >> attribute on '__trigger_diagnostics': >> >> _LIBCPP_DIAGNOSE_WARNING(!__invokable<_Compare const&, _Tp const&, >> _Tp const&>::value, >> >> * ^ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* >> >> *external/libcxx/include/__config:1058:20: note: *expanded from macro >> '_LIBCPP_DIAGNOSE_WARNING' >> >> __attribute__((diagnose_if(__VA_ARGS__, "warning"))) >> >> * ^ ~~~~~~~~~~~* >> >> 1 warning generated. >> >> [ 0% 236/62632] //external/selinux/checkpolicy:checkpolicy yacc >> policy_parse.y [darwin] >> >> FAILED: >> out/soong/.intermediates/external/selinux/checkpolicy/checkpolicy/darwin_x86_64/gen/yacc/external/selinux/checkpolicy/policy_parse.c >> out/soong/.intermediates/external/selinux/checkpolicy/checkpolicy/darwin_x86_64/gen/yacc/external/selinux/checkpolicy/policy_parse.h >> >> >> BISON_PKGDATADIR=external/bison/data >> prebuilts/misc/darwin-x86/bison/bison -d >> --defines=out/soong/.intermediates/external/selinux/checkpolicy/checkpolicy/darwin_x86_64/gen/yacc/external/selinux/checkpolicy/policy_parse.h >> -o >> out/soong/.intermediates/external/selinux/checkpolicy/checkpolicy/darwin_x86_64/gen/yacc/external/selinux/checkpolicy/policy_parse.c >> external/selinux/checkpolicy/policy_parse.y >> >> [ 0% 239/62632] //system/core/bootstat:bootstat clang++ bootstat.cpp >> >> ninja: build stopped: subcommand failed. >> >> 07:37:49 ninja failed with: exit status 1 >> >> >> #### failed to build some targets (02:24 (mm:ss)) #### >> >> ================================================= >> >> other : >> >> clang version >> >> clang version 6.0.0 (http://llvm.org/git/clang.git >> 4e37891c39a770085048c2e8c93f676ae8a3cc6a) (http://llvm.org/git/llvm.git >> f604fb5d6e2ed2553fd52fd3ce540e706b2f9bbe) >> >> Target: x86_64-apple-darwin17.2.0 >> >> Thread model: posix >> >> InstalledDir: /usr/local/bin >> >> >> gcc version >> >> Configured with: --prefix=/Library/Developer/CommandLineTools/usr >> --with-gxx-include-dir=/usr/include/c++/4.2.1 >> >> Apple LLVM version 9.0.0 (clang-900.0.38) >> >> Target: x86_64-apple-darwin17.2.0 >> >> Thread model: posix >> >> InstalledDir: /Library/Developer/CommandLineTools/usr/bin >> >> >> java version >> >> java version "9.0.1" >> >> Java(TM) SE Runtime Environment (build 9.0.1+11) >> >> Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode) >> > -- > -- > 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. > -- -- 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.
