How did you download it? Based on the banner, that's at least partially
master, not 9.0. A mismatched source tree could explain that error (or it
happened to be broken when you synced, and you should try syncing again if
you do want master).

- Dan

On Fri, Jun 28, 2019, 7:56 AM 岳羽 <[email protected]> wrote:

> Here is all the commands:
> 1. source build/envsetup.sh
> 2. lunch 21 (aosp_x86-eng)
> 3. rm -rf out && make -j4 2>&1 | tee b.log
> than, always show the error log.
>
> On Thursday, June 27, 2019 at 4:54:10 PM UTC+8, Alessio Balsini wrote:
>>
>> Can you please post all the exact commands you ran?
>>
>> Cheers,
>> Alessio
>>
>> On Mon, Jun 24, 2019 at 4:45 PM 岳羽 <[email protected]> wrote:
>> >
>> > I download the source code of AOSP with VMWare Ubuntu18.04, When I
>> build with "rm -rf out && make -j4 2>&1 | tee b.log", always failed.
>> > all the logs below
>> >
>> > ============================================
>> > PLATFORM_VERSION_CODENAME=R
>> > PLATFORM_VERSION=R
>> > TARGET_PRODUCT=aosp_x86_64
>> > TARGET_BUILD_VARIANT=eng
>> > TARGET_BUILD_TYPE=release
>> > TARGET_ARCH=x86_64
>> > TARGET_ARCH_VARIANT=x86_64
>> > TARGET_2ND_ARCH=x86
>> > TARGET_2ND_ARCH_VARIANT=x86_64
>> > HOST_ARCH=x86_64
>> > HOST_2ND_ARCH=x86
>> > HOST_OS=linux
>> > HOST_OS_EXTRA=Linux-4.18.0-23-generic-x86_64-Ubuntu-18.04.2-LTS
>> > HOST_CROSS_OS=windows
>> > HOST_CROSS_ARCH=x86
>> > HOST_CROSS_2ND_ARCH=x86_64
>> > HOST_BUILD_TYPE=release
>> > BUILD_ID=PI
>> > OUT_DIR=out
>> > ============================================
>> > [100% 1/1] out/soong/.minibootstrap/minibp
>> out/soong/.bootstrap/build.ninja
>> > [  1% 2/140] compile out/soong/.bootstrap/blueprint-deptools/pkg/
>> github.com/google/blueprint/deptools.a
>> > [  2% 3/140] compile out/soong/.bootstrap/blueprint-parser/pkg/
>> github.com/google/blueprint/parser.a
>> > [  2% 4/140] compile out/soong/.bootstrap/blueprint-parser/test/
>> github.com/google/blueprint/parser.a
>> > [  3% 5/140] compile out/soong/.bootstrap/blueprint-pathtools/test/
>> github.com/google/blueprint/pathtools.a
>> > [  4% 6/140] compile out/soong/.bootstrap/blueprint-pathtools/pkg/
>> github.com/google/blueprint/pathtools.a
>> > [  5% 7/140] compile out/soong/.bootstrap/blueprint-proptools/test/
>> github.com/google/blueprint/proptools.a
>> > [  5% 8/140] compile out/soong/.bootstrap/gotestmain/obj/gotestmain.a
>> > [  6% 9/140] compile out/soong/.bootstrap/loadplugins/obj/loadplugins.a
>> > [  7% 10/140] compile
>> out/soong/.bootstrap/gotestrunner/obj/gotestrunner.a
>> > [  7% 11/140] compile out/soong/.bootstrap/blueprint-proptools/pkg/
>> github.com/google/blueprint/proptools.a
>> > [  8% 12/140] link out/soong/.bootstrap/gotestmain/obj/a.out
>> > [  9% 13/140] link out/soong/.bootstrap/gotestrunner/obj/a.out
>> > [ 10% 14/140] link out/soong/.bootstrap/loadplugins/obj/a.out
>> > [ 10% 15/140] cp out/soong/.bootstrap/bin/gotestrunner
>> > [ 11% 16/140] cp out/soong/.bootstrap/bin/gotestmain
>> > [ 12% 17/140] cp out/soong/.bootstrap/bin/loadplugins
>> > [ 12% 18/140] gotestmain
>> out/soong/.bootstrap/blueprint-bootstrap-bpdoc/test/test.go
>> > [ 13% 19/140] gotestmain
>> out/soong/.bootstrap/blueprint-parser/test/test.go
>> > [ 14% 20/140] gotestmain out/soong/.bootstrap/blueprint/test/test.go
>> > [ 15% 21/140] gotestmain
>> out/soong/.bootstrap/blueprint-pathtools/test/test.go
>> > [ 15% 22/140] compile out/soong/.bootstrap/blueprint-parser/test/test.a
>> > [ 16% 23/140] compile
>> out/soong/.bootstrap/blueprint-pathtools/test/test.a
>> > [ 17% 24/140] compile out/soong/.bootstrap/blueprint/test/
>> github.com/google/blueprint.a
>> > [ 17% 25/140] link out/soong/.bootstrap/blueprint-parser/test/test
>> > [ 18% 26/140] compile out/soong/.bootstrap/blueprint/pkg/
>> github.com/google/blueprint.a
>> > [ 19% 27/140] compile out/soong/.bootstrap/blueprint/test/test.a
>> > [ 20% 28/140] test github.com/google/blueprint/parser
>> > [ 20% 29/140] link out/soong/.bootstrap/blueprint-pathtools/test/test
>> > [ 21% 30/140] test github.com/google/blueprint/pathtools
>> > [ 22% 31/140] gotestmain
>> out/soong/.bootstrap/blueprint-proptools/test/test.go
>> > [ 22% 32/140] compile
>> out/soong/.bootstrap/blueprint-bootstrap-bpdoc/pkg/
>> github.com/google/blueprint/bootstrap/bpdoc.a
>> > [ 23% 33/140] compile
>> out/soong/.bootstrap/blueprint-bootstrap-bpdoc/test/
>> github.com/google/blueprint/bootstrap/bpdoc.a
>> > [ 24% 34/140] compile
>> out/soong/.bootstrap/blueprint-proptools/test/test.a
>> > [ 25% 35/140] compile
>> out/soong/.bootstrap/blueprint-bootstrap-bpdoc/test/test.a
>> > [ 25% 36/140] compile out/soong/.bootstrap/blueprint-bootstrap/pkg/
>> github.com/google/blueprint/bootstrap.a
>> > [ 26% 37/140] link out/soong/.bootstrap/blueprint-proptools/test/test
>> > [ 27% 38/140] compile out/soong/.bootstrap/soong/pkg/android/soong.a
>> > [ 27% 39/140] gotestmain
>> out/soong/.bootstrap/soong-android/test/test.go
>> > [ 28% 40/140] gotestmain out/soong/.bootstrap/soong-apex/test/test.go
>> > [ 29% 41/140] gotestmain out/soong/.bootstrap/soong-bpf/test/test.go
>> > [ 30% 42/140] test github.com/google/blueprint/proptools
>> > [ 30% 43/140] link out/soong/.bootstrap/blueprint/test/test
>> > [ 31% 44/140] gotestmain out/soong/.bootstrap/soong-cc/test/test.go
>> > [ 32% 45/140] gotestmain
>> out/soong/.bootstrap/soong-cc-config/test/test.go
>> > [ 32% 46/140] gotestmain
>> out/soong/.bootstrap/soong-dexpreopt/test/test.go
>> > [ 33% 47/140] test github.com/google/blueprint
>> > [ 34% 48/140] gotestmain
>> out/soong/.bootstrap/soong-genrule/test/test.go
>> > [ 35% 49/140] gotestmain out/soong/.bootstrap/soong-java/test/test.go
>> > [ 35% 50/140] gotestmain out/soong/.bootstrap/soong-python/test/test.go
>> > [ 36% 51/140] compile
>> out/soong/.bootstrap/soong-env/pkg/android/soong/env.a
>> > [ 37% 52/140] compile
>> out/soong/.bootstrap/soong-shared/pkg/android/soong/shared.a
>> > [ 37% 53/140] gotestmain
>> out/soong/.bootstrap/soong-sysprop/test/test.go
>> > [ 38% 54/140] gotestmain out/soong/.bootstrap/soong-xml/test/test.go
>> > [ 39% 55/140] create out/soong/.bootstrap/soong_build/gen/plugin.go
>> > [ 40% 56/140] compile out/soong/.bootstrap/soong_env/obj/soong_env.a
>> > [ 40% 57/140] link
>> out/soong/.bootstrap/blueprint-bootstrap-bpdoc/test/test
>> > [ 41% 58/140] test github.com/google/blueprint/bootstrap/bpdoc
>> > [ 42% 59/140] link out/soong/.bootstrap/soong_env/obj/a.out
>> > [ 42% 60/140] cp out/soong/.bootstrap/bin/soong_env
>> > [ 43% 61/140] compile
>> out/soong/.bootstrap/soong-android/pkg/android/soong/android.a
>> > [ 44% 62/140] compile
>> out/soong/.bootstrap/kernel-config-soong-rules/pkg/android/soong/kernel/configs.a
>>
>> > [ 45% 63/140] compile
>> out/soong/.bootstrap/soong-cc-config/pkg/android/soong/cc/config.a
>> > [ 45% 64/140] compile
>> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a
>> > [ 46% 65/140] compile
>> out/soong/.bootstrap/soong-dexpreopt/test/android/soong/dexpreopt.a
>> > [ 47% 66/140] compile out/soong/.bootstrap/soong-cc-config/test/test.a
>> > [ 47% 67/140] compile out/soong/.bootstrap/soong-dexpreopt/test/test.a
>> > [ 48% 68/140] compile
>> out/soong/.bootstrap/soong-android/test/android/soong/android.a
>> > [ 49% 69/140] compile out/soong/.bootstrap/soong-android/test/test.a
>> > [ 50% 70/140] compile
>> out/soong/.bootstrap/soong-dexpreopt/pkg/android/soong/dexpreopt.a
>> > [ 50% 71/140] compile
>> out/soong/.bootstrap/soong-genrule/test/android/soong/genrule.a
>> > [ 51% 72/140] compile out/soong/.bootstrap/soong-genrule/test/test.a
>> > [ 52% 73/140] link out/soong/.bootstrap/soong-cc-config/test/test
>> > [ 52% 74/140] link out/soong/.bootstrap/soong-dexpreopt/test/test
>> > [ 53% 75/140] link out/soong/.bootstrap/soong-android/test/test
>> > [ 54% 76/140] compile
>> out/soong/.bootstrap/soong-genrule/pkg/android/soong/genrule.a
>> > [ 55% 77/140] compile
>> out/soong/.bootstrap/soong-java-config/pkg/android/soong/java/config.a
>> > [ 55% 78/140] compile
>> out/soong/.bootstrap/soong-fs_config/pkg/android/soong/fs_config.a
>> > [ 56% 79/140] compile
>> out/soong/.bootstrap/soong-java-config-error_prone/pkg/android/soong/java/config/error_prone.a
>>
>> > [ 57% 80/140] compile
>> out/soong/.bootstrap/soong-phony/pkg/android/soong/phony.a
>> > [ 57% 81/140] compile
>> out/soong/.bootstrap/soong-libchrome/pkg/android/soong/external/libchrome.a
>> > [ 58% 82/140] compile
>> out/soong/.bootstrap/soong-ca-certificates/pkg/android/soong/system/ca-certificates.a
>>
>> > [ 59% 83/140] link out/soong/.bootstrap/soong-genrule/test/test
>> > [ 60% 84/140] compile
>> out/soong/.bootstrap/soong-tradefed/pkg/android/soong/tradefed.a
>> > [ 60% 85/140] compile
>> out/soong/.bootstrap/soong-robolectric/pkg/android/soong/robolectric.a
>> > [ 61% 86/140] test android/soong/android
>> > [ 62% 87/140] compile
>> out/soong/.bootstrap/soong-selinux/pkg/android/soong/selinux.a
>> > [ 62% 88/140] test android/soong/cc/config
>> > [ 63% 89/140] test android/soong/dexpreopt
>> > [ 64% 90/140] test android/soong/genrule
>> > [ 65% 91/140] compile
>> out/soong/.bootstrap/soong-python/test/android/soong/python.a
>> > [ 65% 92/140] compile out/soong/.bootstrap/soong-python/test/test.a
>> > [ 66% 93/140] compile
>> out/soong/.bootstrap/soong-python/pkg/android/soong/python.a
>> > [ 67% 94/140] compile
>> out/soong/.bootstrap/soong-wayland-protocol-codegen/pkg/android/soong/external/wayland-protocol.a
>>
>> > [ 67% 95/140] compile
>> out/soong/.bootstrap/soong-xml/test/android/soong/xml.a
>> > [ 68% 96/140] compile out/soong/.bootstrap/soong-xml/test/test.a
>> > [ 69% 97/140] link out/soong/.bootstrap/soong-python/test/test
>> > [ 70% 98/140] test android/soong/python
>> > [ 70% 99/140] compile
>> out/soong/.bootstrap/soong-xml/pkg/android/soong/xml.a
>> > [ 71% 100/140] compile
>> out/soong/.bootstrap/vintf-compatibility-matrix-soong-rules/pkg/android/soong/vintf-compatibility-matrix.a
>>
>> > [ 72% 101/140] compile
>> out/soong/.bootstrap/soong-cc/test/android/soong/cc.a
>> > [ 72% 102/140] link out/soong/.bootstrap/soong-xml/test/test
>> > [ 73% 103/140] compile out/soong/.bootstrap/soong-cc/test/test.a
>> > [ 74% 104/140] test android/soong/xml
>> > [ 75% 105/140] compile
>> out/soong/.bootstrap/soong-cc/pkg/android/soong/cc.a
>> > [ 75% 106/140] compile
>> out/soong/.bootstrap/soong-bpf/pkg/android/soong/bpf.a
>> > [ 76% 107/140] compile
>> out/soong/.bootstrap/soong-bpf/test/android/soong/bpf.a
>> > [ 77% 108/140] compile
>> out/soong/.bootstrap/soong-clang/pkg/android/soong/external/clang.a
>> > [ 77% 109/140] compile out/soong/.bootstrap/soong-bpf/test/test.a
>> > [ 78% 110/140] compile
>> out/soong/.bootstrap/soong-clang-prebuilts/pkg/android/soong/prebuilts/clang/host/linux-x86/clangprebuilts.a
>>
>> > [ 79% 111/140] compile
>> out/soong/.bootstrap/soong-fluoride/pkg/android/soong/fluoride.a
>> > [ 80% 112/140] link out/soong/.bootstrap/soong-cc/test/test
>> > [ 80% 113/140] link out/soong/.bootstrap/soong-bpf/test/test
>> > [ 81% 114/140] compile
>> out/soong/.bootstrap/soong-llvm/pkg/android/soong/external/llvm.a
>> > [ 82% 115/140] compile
>> out/soong/.bootstrap/soong-java/pkg/android/soong/java.a
>> > [ 82% 116/140] compile
>> out/soong/.bootstrap/soong-java/test/android/soong/java.a
>> > [ 83% 117/140] compile
>> out/soong/.bootstrap/aidl-soong-rules/pkg/android/soong/aidl.a
>> > [ 84% 118/140] compile
>> out/soong/.bootstrap/hidl-soong-rules/pkg/android/soong/hidl.a
>> > [ 85% 119/140] compile out/soong/.bootstrap/soong-java/test/test.a
>> > [ 85% 120/140] compile
>> out/soong/.bootstrap/soong-apex/pkg/android/soong/apex.a
>> > [ 86% 121/140] compile
>> out/soong/.bootstrap/soong-apex/test/android/soong/apex.a
>> > [ 87% 122/140] compile
>> out/soong/.bootstrap/soong-art/pkg/android/soong/art.a
>> > [ 87% 123/140] compile out/soong/.bootstrap/soong-apex/test/test.a
>> > [ 88% 124/140] compile
>> out/soong/.bootstrap/soong-suite-harness/pkg/android/soong/suite_harness.a
>> > [ 89% 125/140] compile
>> out/soong/.bootstrap/soong-sysprop/test/android/soong/sysprop.a
>> > [ 90% 126/140] compile out/soong/.bootstrap/soong-sysprop/test/test.a
>> > [ 90% 127/140] link out/soong/.bootstrap/soong-java/test/test
>> > [ 91% 128/140] compile
>> out/soong/.bootstrap/soong-sysprop/pkg/android/soong/sysprop.a
>> > [ 92% 129/140] compile
>> out/soong/.bootstrap/xsdc-soong-rules/pkg/android/soong/xsdc.a
>> > [ 92% 130/140] link out/soong/.bootstrap/soong-apex/test/test
>> > [ 93% 131/140] compile
>> out/soong/.bootstrap/soong_build/obj/soong_build.a
>> > [ 94% 132/140] link out/soong/.bootstrap/soong-sysprop/test/test
>> > [ 95% 133/140] link out/soong/.bootstrap/soong_build/obj/a.out
>> > [ 95% 134/140] test android/soong/cc
>> > [ 96% 135/140] test android/soong/bpf
>> > [ 97% 136/140] test android/soong/java
>> > [ 97% 137/140] test android/soong/sysprop
>> > [ 98% 138/140] test android/soong/apex
>> > [ 99% 139/140] cp out/soong/.bootstrap/bin/soong_build
>> > [100% 140/140] out/soong/.bootstrap/bin/soong_build
>> out/soong/build.ninja
>> > FAILED: out/soong/build.ninja
>> > out/soong/.bootstrap/bin/soong_build -t -l
>> out/.module_paths/Android.bp.list -b out/soong -n out -d
>> out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o
>> out/soong/build.ninja Android.bp
>> > error: libcore/NativeCode.bp:48:1: "libjavacore" depends on undefined
>> module "libandroidicuinit"
>> > ninja: build stopped: subcommand failed.
>> > 11:56:44 soong bootstrap failed with: exit status 1
>> >
>> > #### failed to build some targets (51 seconds) ####
>> >
>> > --
>> > --
>> > 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].
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/android-building/c93c07ad-9b4a-4499-9e3e-534553ae1600%40googlegroups.com.
>>
>> > For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/965f6e27-5272-494e-920f-fdb7ff9013d5%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/965f6e27-5272-494e-920f-fdb7ff9013d5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdn%3DBU1e52JYBnq92%2Bism12Tefv472OSXj43%2BwM4B_2S7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to