Re: [android-building] Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

2020-11-29 Thread 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  
>> 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>>> google::protobuf::compiler::java::(anonymous 
 namespace)::FieldDescriptorCompare, std::__1::allocator>>> 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 
 

Re: [android-building] Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

2018-04-07 Thread 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  > 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>> google::protobuf::compiler::java::(anonymous 
>>> namespace)::FieldDescriptorCompare, std::__1::allocator>> 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

Re: [android-building] Re: mac 10.13 high sierra build failed:ninja failed with: exit status 1 #### failed to build some target

2018-03-22 Thread 'Dan Willemsen' via Android Building
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 
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> google::protobuf::compiler::java::(anonymous
>> namespace)::FieldDescriptorCompare, std::__1::allocator> 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
>>