I am a newbie to build aosp.I just follow the guild 
on https://source.android.com/source/building.html in preparing to build 
section. When I execute make clobber after a successful repo sync, I got 
some error:

[1/1] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
removed old ninja-created file 
out/soong/.glob/external/dbus/dbus/Android_bp.glob because it has no rule 
to generate it
removed old ninja-created file 
out/soong/.glob/external/dbus/bus/Android_bp.glob because it has no rule to 
generate it
removed old ninja-created file 
out/soong/.glob/test/vts-testcase/fuzz/func_fuzzer/renderscript/_/Android_bp.glob
 
because it has no rule to generate it
[41/42] glob test/vts-testcase/security/selinux/policy/Android.bp
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja 
out/soong/.bootstrap/bin/soong_build -t -b out/soong -d 
out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: bionic/tools/versioner/src/Android.bp:1:1: module "versioner" 
variant "linux_x86_64": depends on disabled module "libclang"
error: bionic/tools/versioner/src/Android.bp:1:1: module "versioner" 
variant "linux_x86_64": depends on disabled module "libLLVM"
error: external/spirv-llvm/lib/SPIRV/Android.bp:22:1: module "libSPIRV" 
variant "linux_x86_64_shared": depends on disabled module "libLLVM"
error: external/llvm/tools/llvm-ar/Android.bp:5:1: module "llvm-ar" variant 
"linux_x86_64": depends on disabled module "libLLVM"
error: frameworks/compile/libbcc/tools/bcc_strip_attr/Android.bp:19:1: 
module "bcc_strip_attr" variant "linux_x86_64": depends on disabled module 
"libLLVM"
error: development/vndk/tools/vtable-dumper/Android.bp:17:1: module 
"vndk-vtable-dumper" variant "linux_x86_64": depends on disabled module 
"libLLVM"
error: external/llvm/tools/gold/Android.bp:20:1: module "LLVMgold" variant 
"linux_x86_64_shared": depends on disabled module "libLLVM"
ninja: build stopped: subcommand failed.
23:00:13 soong bootstrap failed with: exit status 1
build/core/main.mk:24: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

#### make failed to build some targets (01:15 (mm:ss)) ####

How can I handle this?
The only thing I want to do is build it and import into Intellij Idea to 
read some java codes.
Can anyone help me?

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to