Android bootstrap fails with Golang panic

35 views
Skip to first unread message

나수환

unread,
Oct 6, 2021, 5:03:44 PM10/6/21
to Android Building
Hi all,
I was eager to try android 12. So I synced android-12.0.0_r2 and tried building with my device tree. But it fails to bootstrap with long lines of Golang panic.
Error Msg:  FAILED: out/soong/.bootstrap/bin/soong_build out/soong/build.ninja - Pastebin.com
The Blueprint (Android.bp) of the  libshim_sensorndkbridge:

cc_library_shared {
name: "libshim_sensorndkbridge",
srcs: ["ASensorManager.cpp"],
shared_libs: [
"libsensorndkbridge",
"libutils",
"liblog",
],
whole_static_libs: ["libbase"],
header_libs: ["libbase_headers"],
vendor: true,
include_dirs: [
"system/core/libutils/include",
"frameworks/hardware/interfaces/sensorservice/libsensorndkbridge",
],
}
It will be great if someone can guide me what is the problem

Dan Willemsen

unread,
Oct 6, 2021, 8:13:02 PM10/6/21
to android-...@googlegroups.com, Yi-yo Chiang
It looks like this was an issue in "VSDK"-based trees that are using a vendor snapshot, and was fixed in master (but not in Android 12): https://android-review.googlesource.com/q/topic:vendor_snapshot-192647618

You can either try to cherry-pick that topic, or disable the VSDK.

- 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/a1a7f78a-9a63-4d52-8939-0207cfa3255bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages