[android-building] ImportError : while building aosp9 on code build

2020-04-08 Thread Kandalai
Hello,

I am seeing that selinux module build is failing while trying to build 
aosp9 on code build. The environment setup is working fine on my EC2 
instance.

Can someone point me what could be the issue.

[ 99% 9131/9198] build 
out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
FAILED: 
out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
 
/bin/bash -c "(out/host/linux-x86/bin/sepolicy_tests -l 
out/host/linux-x86/lib64/libsepolwrap.so -f 
out/target/product/tb8788p1_64_bsp/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts
  
-f 
out/target/product/tb8788p1_64_bsp/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts
  
-p 
out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_intermediates/sepolicy 
) && (touch 
out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
 
)"
ImportError: No module named site

Thanks & Regards
SRK

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/f3c38d6d-07c7-4e34-a00e-5b2db6a3007f%40googlegroups.com.


Re: [android-building] How to build / run AOSP Car on the emulator from sources?

2020-04-08 Thread 'Frank Yang' via Android Building
BTW I use https://github.com/phracker/MacOSX-SDKs to download older macos
sdks but if anyone else has a better suggestion I'm all ears

On Wed, Apr 8, 2020 at 1:39 PM Frank Yang  wrote:

> I notice you're on a macOS host; you'll need to build the emu-master-dev
> linked against macos 10.13 sdk, not 10.15 (The latest has issues where
> there is a crash on startup).
>
> On Wed, Apr 8, 2020 at 12:46 PM andrada anca  wrote:
>
>> How to build / run AOSP Car on the emulator from sources?
>>
>> My goal is to enable the hidden features of "multi-display" on the
>> emulator. For that, I pulled the emulator sources from the 'emu-master-dev'
>> branch, made the changes, build.
>>
>> The problem is that, I can't run the emulator with the aosp_car_x86_64
>> images. The emulator hangs and android is not starting.
>>
>>
>> This is the lunch combo I use to build the images:
>>
>> 
>>
>> PLATFORM_VERSION_CODENAME=REL
>>
>> PLATFORM_VERSION=10
>>
>> TARGET_PRODUCT=aosp_car_x86_64
>>
>> TARGET_BUILD_VARIANT=userdebug
>>
>> TARGET_BUILD_TYPE=release
>>
>> TARGET_ARCH=x86_64
>>
>> TARGET_ARCH_VARIANT=x86_64
>>
>> TARGET_2ND_ARCH=x86
>>
>> TARGET_2ND_ARCH_VARIANT=x86_64
>>
>> HOST_ARCH=x86_64
>>
>> HOST_OS=darwin
>>
>> HOST_OS_EXTRA=Darwin-19.3.0-x86_64-10.15.3
>>
>> HOST_BUILD_TYPE=release
>>
>> BUILD_ID=QQ2A.200305.004.A1
>>
>> OUT_DIR=out
>>
>> 
>>
>>
>> The system runs on the prebuilts emulator.
>>
>>
>> Any idea what I am doing wrong?
>>
>> --
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/android-building/45b4595d-b9e9-46f7-a369-c498c7cb56e6%40googlegroups.com
>> 
>> .
>>
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAEkmjvUfgRXpd2jwAapuC1h6WPYqpsOBXNjE8HBmp_Fet0XPUg%40mail.gmail.com.


Re: [android-building] Android 11` Preview building failed initially

2020-04-08 Thread 'Dan Willemsen' via Android Building
Sorry, apparently that link didn't 
work. https://groups.google.com/d/msg/android-building/t-70r0IdkZY/sY_NhNd6AgAJ 
should work better.

- Dan

On Tuesday, April 7, 2020 at 9:45:15 AM UTC-7 Dan Willemsen wrote:

> Yep, that's not intended to be a buildable tag. See my previous messages: 
> https://groups.google.com/g/android-building/c/t-70r0IdkZY/m/sY_NhNd6AgAJ
>
> - Dan
>
> On Tue, Apr 7, 2020 at 9:41 AM Varun Kumar  wrote:
>
>> Hi Dan Willemsen,
>>
>> I have used below branch/tag 
>>
>> *repo init -u https://android.googlesource.com/platform/manifest 
>>  -b android-r-preview-2*
>>
>> I googled few things related with this error. It's because of a 
>> duplicate entry in somewhere  which both are trying to copy some file to 
>> the same destination.
>>
>>
>> On Friday, April 3, 2020 at 9:30:34 AM UTC+5:30, Dan Willemsen wrote:
>>>
>>> What branch/tag did you use to initialize this source tree? (`repo init 
>>> ...`)
>>>
>>> - Dan
>>>
>>> On Thu, Apr 2, 2020 at 8:57 PM Varun Kumar  wrote:
>>>
 
 PLATFORM_VERSION_CODENAME=R
 PLATFORM_VERSION=R
 TARGET_PRODUCT=aosp_arm64
 TARGET_BUILD_VARIANT=eng
 TARGET_BUILD_TYPE=release
 TARGET_ARCH=arm64
 TARGET_ARCH_VARIANT=armv8-a
 TARGET_CPU_VARIANT=generic
 TARGET_2ND_ARCH=arm
 TARGET_2ND_ARCH_VARIANT=armv8-a
 TARGET_2ND_CPU_VARIANT=generic
 HOST_ARCH=x86_64
 HOST_2ND_ARCH=x86
 HOST_OS=linux
 HOST_OS_EXTRA=Linux-4.15.0-91-generic-x86_64-Ubuntu-16.04.6-LTS
 HOST_CROSS_OS=windows
 HOST_CROSS_ARCH=x86
 HOST_CROSS_2ND_ARCH=x86_64
 HOST_BUILD_TYPE=release
 BUILD_ID=AOSP.MASTER
 OUT_DIR=out
 
 [100% 430/430] writing build rules ...
 FAILED: 
 build/make/core/base_rules.mk:491: error: overriding commands for 
 target `out/target/product/generic_arm64/system/bin/chattr', previously 
 defined at build/make/core/base_rules.mk:467
 07:04:16 ckati failed with: exit status 1

  failed to build some targets (03:53 (mm:ss)) 

 -- 
 -- 
 You received this message because you are subscribed to the "Android 
 Building" mailing list.
 To post to this group, send email to android-...@googlegroups.com
 To unsubscribe from this group, send email to
 android-...@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-...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/android-building/c97e5216-cfd2-47c6-a7cb-7a67929f62a9%40googlegroups.com
  
 
 .

>>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com
>> To unsubscribe from this group, send email to
>>
> android-buildi...@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-buildi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/16d2c2e3-6dba-410d-a730-3b239ad5c436%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/89249ef3-6117-448d-a3c2-11a945d35766%40googlegroups.com.


[android-building] How to build / run AOSP Car on the emulator from sources?

2020-04-08 Thread andrada anca


How to build / run AOSP Car on the emulator from sources?

My goal is to enable the hidden features of "multi-display" on the 
emulator. For that, I pulled the emulator sources from the 'emu-master-dev' 
branch, made the changes, build.

The problem is that, I can't run the emulator with the aosp_car_x86_64 
images. The emulator hangs and android is not starting.


This is the lunch combo I use to build the images:



PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=10

TARGET_PRODUCT=aosp_car_x86_64

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=x86_64

TARGET_ARCH_VARIANT=x86_64

TARGET_2ND_ARCH=x86

TARGET_2ND_ARCH_VARIANT=x86_64

HOST_ARCH=x86_64

HOST_OS=darwin

HOST_OS_EXTRA=Darwin-19.3.0-x86_64-10.15.3

HOST_BUILD_TYPE=release

BUILD_ID=QQ2A.200305.004.A1

OUT_DIR=out




The system runs on the prebuilts emulator.


Any idea what I am doing wrong?

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/45b4595d-b9e9-46f7-a369-c498c7cb56e6%40googlegroups.com.