Android 11` Preview building failed initially

95 views
Skip to first unread message

Varun Kumar

unread,
Apr 2, 2020, 11:58:08 PM4/2/20
to Android Building
============================================
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)) ####

Screenshot from 2020-04-03 07-15-49.png

Dan Willemsen

unread,
Apr 3, 2020, 12:00:34 AM4/3/20
to Android Building
What branch/tag did you use to initialize this source tree? (`repo init ...`)

- Dan

--
--
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/c97e5216-cfd2-47c6-a7cb-7a67929f62a9%40googlegroups.com.

Varun Kumar

unread,
Apr 7, 2020, 12:41:59 PM4/7/20
to Android Building
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.


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.

Dan Willemsen

unread,
Apr 7, 2020, 12:45:15 PM4/7/20
to Android Building
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


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.

Dan Willemsen

unread,
Apr 8, 2020, 3:52:07 PM4/8/20
to 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

Reply all
Reply to author
Forward
0 new messages