[android-building] Re: How to build emulator on MacOS

2022-02-16 Thread Sinan Güneş
Using this branch instead of master:
`repo init -b android-12.0.0_r31`
and adding my MacOS SDK version to this file:

`build/soong/cc/config/x86_darwin_host.go`

DID the trick. just leaving here in case other may need help around as well.

On Wednesday, 16 February 2022 at 02:47:04 UTC+3 Sinan Güneş wrote:

> I am using MacOS with Monterey. I have run following steps:
> - repo init
> - repo sync
> - source build/env**
> - lunch sdk_phone_x86_64
> - make
> - make sdk sdk_repo
>
> All of those steps succeeded, however I am not able to see an emulator 
> image in 
> out/host/darwin**/sdk directory. In addition I am not able to run emulator 
> command as well after those commands.
> it gives error:
>
> no initial system image for this configuration.
>
> I might be missing very obvious step somewhere. please help me understand, 
> and possibly fix the issue.
>
> Regards
>

-- 
-- 
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/f535ed6a-43ac-4703-b50a-1110c8be5998n%40googlegroups.com.


[android-building] mac docker build aosp

2022-02-16 Thread 杨波
 

root@8e09ec5398cb:/home/aosp# m

02:04:54 Build sandboxing disabled due to nsjail error. This may become 
fatal in the future.

02:04:54 Please let us know why nsjail doesn't work in your environment at:

02:04:54   https://groups.google.com/forum/#!forum/android-building

02:04:54   https://issuetracker.google.com/issues/new?component=381517



PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=10

TARGET_PRODUCT=aosp_sunfish

TARGET_BUILD_VARIANT=userdebug

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-5.10.76-linuxkit-x86_64-Ubuntu-18.04.6-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=QD4A.200317.024.A1

OUT_DIR=out

PRODUCT_SOONG_NAMESPACES=device/google/sunfish hardware/google/av 
hardware/google/interfaces hardware/google/pixel hardware/qcom/sm7150 
hardware/qcom/sm7150/display vendor/google/camera vendor/qcom/sm7150 
vendor/google/interfaces vendor/qcom/sm8150/codeaurora/telephony/ims 
vendor/qcom/sm8150/proprietary/data/permissions 
vendor/qcom/sm8150/proprietary/qcril-data-hal/qdp 
vendor/qcom/sm8150/proprietary/qcril-data-hal/util 
vendor/qcom/sm8150/proprietary/qcril-data-hal/datamodule 
vendor/qcom/sm8150/proprietary/qcril-hal



wildcard(out/target/product/sunfish/clean_steps.mk) was changed, 
regenerating...

[ 26% 11974/44406] test android/soong/ui/build/paths

FAILED: out/soong/.bootstrap/soong-ui-build-paths/test/test.passed

out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/ui/build/paths -f 
out/soong/.bootstrap/soong-ui-build-paths/test/test.passed -- 
out/soong/.bootstrap/soong-ui-build-paths/test/test -test.short

--- FAIL: TestSendLog (0.10s)

--- FAIL: TestSendLog/Long_name (0.01s)

logs_test.go:70: listen unix /proc/self/fd/4/ss: bind: 
invalid argument

--- FAIL: TestSendLog/Long_name_proc_fallback (0.02s)

logs_test.go:70: listen unix /proc/self/fd/4/ss: bind: 
invalid argument

--- FAIL: TestSendLog/Long_name_tmp_fallback (0.03s)

logs_test.go:70: listen unix /tmp/log_sock576361095/d/ss: 
bind: invalid argument

FAIL

[ 26% 11975/44406] //external/iproute2/misc:ss yacc ssfilter.y

external/iproute2/misc/ssfilter.y: conflicts: 35 shift/reduce

02:24:26 ninja failed with: exit status 1


Does anyone know how to fix 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/cfa2bbfb-dad7-4d83-9f17-7fd735811213n%40googlegroups.com.


[android-building] Re: Android 12 Released

2022-02-16 Thread 'del...@google.com' via Android Building
We pushed some reference Android mainline source code with the following 
tags:

android-mainline-12.0.0_r41 7929549 adbd
android-mainline-12.0.0_r42 7924123 art
android-mainline-12.0.0_r43 8055709 cellbroadcast
android-mainline-12.0.0_r44 7922654 extservices
android-mainline-12.0.0_r45 7915236 ipsec
android-mainline-12.0.0_r46 7913046 media
android-mainline-12.0.0_r47 7913047 media.swcodec
android-mainline-12.0.0_r48 8012820 mediaprovider
android-mainline-12.0.0_r49 7914710 networkstack
android-mainline-12.0.0_r50 7910499 neuralnetworks
android-mainline-12.0.0_r51 7921031 permission
android-mainline-12.0.0_r52 7983414 resolv
android-mainline-12.0.0_r53 7936552 tethering
android-mainline-12.0.0_r54 7920728 tzdata
android-mainline-11.0.0_r55 7929774 tzdata2
android-mainline-12.0.0_r56 7920574 tzdata3
android-mainline-12.0.0_r57 7999070 wifi
android-mainline-12.0.0_r58 7800431 statsd

-- 
-- 
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/c4cebaa7-ea0c-48ee-9b81-f3debb48276fn%40googlegroups.com.