Re: [android-building] Can not locate config makefile for product "aosp_car_emu_x86_64"

2018-03-22 Thread 'Dan Willemsen' via Android Building
There was a typo in the shell script used to create that lunch menu.
Directly use `lunch aosp_car_x86_64-userdebug` instead (without the _emu).

- Dan


On Wed, Mar 21, 2018 at 7:04 AM Birender Singh 
wrote:

> Unable to compile any of car emulator.
>
> You're building on Linux
>
> Lunch menu... pick a combo:
>  1. aosp_arm-eng
>  2. aosp_arm64-eng
>  3. aosp_mips-eng
>  4. aosp_mips64-eng
>  5. aosp_x86-eng
>  6. aosp_x86_64-eng
>  7. full_fugu-userdebug
>  8. aosp_fugu-userdebug
>  9. aosp_car_emu_arm-userdebug
>  10. aosp_car_emu_arm64-userdebug
>  11. aosp_car_emu_x86-userdebug
>  12. aosp_car_emu_x86_64-userdebug
>  13. mini_emulator_arm64-userdebug
>  14. m_e_arm-userdebug
>  15. m_e_mips64-eng
>  16. m_e_mips-userdebug
>  17. mini_emulator_x86_64-userdebug
>  18. mini_emulator_x86-userdebug
>  19. uml-userdebug
>  20. aosp_dragon-userdebug
>  21. aosp_dragon-eng
>  22. aosp_marlin-userdebug
>  23. aosp_marlin_svelte-userdebug
>  24. aosp_sailfish-userdebug
>  25. aosp_walleye-userdebug
>  26. aosp_walleye_test-userdebug
>  27. aosp_taimen-userdebug
>  28. aosp_angler-userdebug
>  29. aosp_bullhead-userdebug
>  30. aosp_bullhead_svelte-userdebug
>  31. hikey-userdebug
>  32. hikey960-userdebug
>
> Which would you like? [aosp_arm-eng] 12
> build/core/product_config.mk:227: *** Can not locate config makefile for
> product "aosp_car_emu_x86_64".  Stop.
>
> Branch: android-8.1.0_r18
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] "sudo apt-get install ia32-libs git gnupg flex bison gperf build-essential zip" execution failure

2018-03-22 Thread 'Dan Willemsen' via Android Building
>
> "apt-get install ia32-libs git gnupg flex bison gperf build-essential zip"


E: Package 'ia32-libs' has no installation candidate
>

My experience with this error is that your system is set up as 64-bit only.
That's currently not supported to build android, we still execute some
32-bit programs.

As in this process during the download process of Java 6 I am getting the
> error as per below.


What version of Android are you trying to build? Java6 is only required for
very old branches -- Gingerbread through KitKat. The command that you're
using doesn't say anything about java, how are you actually downloading it?

Which OS are you building on? (If you're using Java6, you probably need to
be using Ubuntu 12.04 for your particular branch)

- Dan

On Wed, Mar 21, 2018 at 7:05 AM Explore India  wrote:

> Hi,
>
> I am right now trying to install all the required toolchain for building
> the android for the cubie board. But unfortunately, I am getting the error
> message given below after execution of the command "apt-get install
> ia32-libs git gnupg flex bison gperf build-essential zip"
>
> COMMAND
> =
> "apt-get install ia32-libs git gnupg flex bison gperf build-essential zip"
>
> ERROR MESSAGE
> 
> ip
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package ia32-libs is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> However the following packages replace it:
>   lib32ncurses5 lib32z1
>
> E: Package 'ia32-libs' has no installation candidate
>
>
> *Note : *I tried with the "lib32ncurses5" and "lib32z1" instead of
> "ia32-libs" as per the error message.But still, I am getting the failure
> response.As in this process during the download process of Java 6 I am
> getting the error as per below.
>
> COMMAND
> =
> apt-get install lib32z1 git gnupg flex bison gperf build-essential zip
> or
> apt-get install lib32ncurses5 git gnupg flex bison gperf build-essential
> zip
>
> ERROR MESSAGE
> ===
> Downloading Oracle Java 6...
> --2018-03-21 13:02:15--
> http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
> Resolving download.oracle.com (download.oracle.com)... 23.56.176.183
> Connecting to download.oracle.com (download.oracle.com)|23.56.176.183|:80...
> connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
> [following]
> --2018-03-21 13:02:16--
> https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
> Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.50.117.49,
> 2405:200:1630:481::2d3e, 2405:200:1630:497::2d3e
> Connecting to edelivery.oracle.com 
> (edelivery.oracle.com)|184.50.117.49|:443...
> connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1521617656_1bc06418683eb8cd61c93778460bd58a
> [following]
> --2018-03-21 13:02:17--
> http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1521617656_1bc06418683eb8cd61c93778460bd58a
> Connecting to download.oracle.com (download.oracle.com)|23.56.176.183|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-03-21 13:02:19 ERROR 404: Not Found.
>
> download failed
> Oracle JDK 6 is NOT installed.
> dpkg: error processing package oracle-java6-installer (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Setting up lib32z1 (1:1.2.8.dfsg-2ubuntu4.1) ...
> Processing triggers for libc-bin (2.23-0ubuntu10) ...
> Errors were encountered while processing:
>  oracle-java6-installer
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
>
> My Observation
> --
> I am thinking that " oracle-java6-installer" is obsolete now.So the
> support and dependency are not able to download.
>
>
>
> What should I do now 
> Please help me in this.
>
>
>
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed 

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
>>