Re: [android-building] Android bootstrap fails with Golang panic

2021-10-06 Thread 'Dan Willemsen' via Android Building
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

On Wed, Oct 6, 2021 at 2:03 PM 나수환  wrote:

> 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
>
> --
> --
> 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/a1a7f78a-9a63-4d52-8939-0207cfa3255bn%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/CALQgHdmM27ASMr8t%2BrjTGofa2TGYro67QNX4OoDFVy8PAitOpQ%40mail.gmail.com.


[android-building] Android bootstrap fails with Golang panic

2021-10-06 Thread 나수환
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

-- 
-- 
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/a1a7f78a-9a63-4d52-8939-0207cfa3255bn%40googlegroups.com.