mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

王晓辉

[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: 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: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests 

platform_testing/build/tasks/tests/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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

Suyash Gupta
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/<a href="http://Android.common.mk:50" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FAndroid.common.mk%3A50\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcI4RpbefHbCnadRqcIPQMsV_H-g&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FAndroid.common.mk%3A50\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcI4RpbefHbCnadRqcIPQMsV_H-g&#39;;return true;">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/<a href="http://instrumentation_metric_test_list.mk" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb5K_pH4CmBvEJBpdbNf1DbTTMcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb5K_pH4CmBvEJBpdbNf1DbTTMcA&#39;;return true;">instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh 

platform_testing/build/tasks/tests/<a href="http://instrumentation_test_list.mk" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;">instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests 

platform_testing/build/tasks/tests/<a href="http://instrumentation_test_list.mk" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;">instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests 

platform_testing/build/tasks/tests/<a href="http://instrumentation_test_list.mk" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;">instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests 

platform_testing/build/tasks/tests/<a href="http://native_metric_test_list.mk" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fnative_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFC7LOB69iFb0ilVv3Hs-0am7ArXg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fnative_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFC7LOB69iFb0ilVv3Hs-0am7ArXg&#39;;return true;">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 (<a href="http://llvm.org/git/clang.git" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fclang.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyClTtidbTUI22RJM1EFKcngNEtQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fclang.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyClTtidbTUI22RJM1EFKcngNEtQ&#39;;return true;">http://llvm.org/git/clang.git 4e37891c39a770085048c2e8c93f676ae8a3cc6a) (<a href="http://llvm.org/git/llvm.git" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fllvm.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH08QDxPT-BkW2Fp-wP5LOiFtUYFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fllvm.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH08QDxPT-BkW2Fp-wP5LOiFtUYFw&#39;;return true;">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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

Dan Willemsen-2
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 <[hidden email]> 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: 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: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests 

platform_testing/build/tasks/tests/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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

Jon Gordon
I'm getting this error trying to build -b android-8.1.0_r20

Jon

On Thursday, 22 March 2018 19:19:28 UTC, Dan Willemsen wrote:
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="20Dbs6TdAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">suyash....@...> 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/<a href="http://Android.common.mk:50" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FAndroid.common.mk%3A50\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcI4RpbefHbCnadRqcIPQMsV_H-g&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FAndroid.common.mk%3A50\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcI4RpbefHbCnadRqcIPQMsV_H-g&#39;;return true;">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/<a href="http://instrumentation_metric_test_list.mk" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb5K_pH4CmBvEJBpdbNf1DbTTMcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFb5K_pH4CmBvEJBpdbNf1DbTTMcA&#39;;return true;">instrumentation_metric_test_list.mk: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh 

platform_testing/build/tasks/tests/<a href="http://instrumentation_test_list.mk" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;">instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests 

platform_testing/build/tasks/tests/<a href="http://instrumentation_test_list.mk" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;">instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests 

platform_testing/build/tasks/tests/<a href="http://instrumentation_test_list.mk" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Finstrumentation_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFxJJtWhqdiLHtXeKPCBh-_17NMww&#39;;return true;">instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests 

platform_testing/build/tasks/tests/<a href="http://native_metric_test_list.mk" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fnative_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFC7LOB69iFb0ilVv3Hs-0am7ArXg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fnative_metric_test_list.mk\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFC7LOB69iFb0ilVv3Hs-0am7ArXg&#39;;return true;">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 (<a href="http://llvm.org/git/clang.git" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fclang.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyClTtidbTUI22RJM1EFKcngNEtQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fclang.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyClTtidbTUI22RJM1EFKcngNEtQ&#39;;return true;">http://llvm.org/git/clang.git 4e37891c39a770085048c2e8c93f676ae8a3cc6a) (<a href="http://llvm.org/git/llvm.git" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fllvm.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH08QDxPT-BkW2Fp-wP5LOiFtUYFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fllvm.org%2Fgit%2Fllvm.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH08QDxPT-BkW2Fp-wP5LOiFtUYFw&#39;;return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="20Dbs6TdAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-...@googlegroups.com
To unsubscribe from this group, send email to
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="20Dbs6TdAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-buildi...@googlegroups.com
For more options, visit this group at
<a href="http://groups.google.com/group/android-building?hl=en" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://groups.google.com/group/android-building?hl\x3den&#39;;return true;" onclick="this.href=&#39;http://groups.google.com/group/android-building?hl\x3den&#39;;return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="20Dbs6TdAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-buildi...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

kk57
I ran into similar issue trying to build android-8.1.0_r52

On Sunday, April 8, 2018 at 6:33:03 AM UTC+9 Jon Gordon wrote:
I'm getting this error trying to build -b android-8.1.0_r20

Jon

On Thursday, 22 March 2018 19:19:28 UTC, Dan Willemsen wrote:
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 <[hidden email]> 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: 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: warning: continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests 

platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module EmergencyInfoTests 

platform_testing/build/tasks/tests/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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
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 [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/48974bc5-ac93-4d1d-accd-1858f02eabf8n%40googlegroups.com.