error when i setup ASOP Trade Federation project

326 views
Skip to first unread message

刘月

unread,
Nov 9, 2016, 10:38:37 AM11/9/16
to Android Building
hello,i need help :)

when i build my ASOP project

step

repo init -u https://android.googlesource.com/platform/manifest -b tradefed

repo sync

make -j8

failed when  make -j8

error information


/work# make -j8
find: `device': No such file or directory
find: `vendor': No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NYC
OUT_DIR=out
AUX_OS_VARIANT_LIST=
============================================
ninja: no work to do.
[1/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build  -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: build/kati/Android.bp:30:1: "libckati" depends on undefined module "libc++_static"
error: build/kati/Android.bp:30:1: "libckati" depends on undefined module "libcompiler_rt-extras"
error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on undefined module "libcompiler_rt-extras"
error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on undefined module "libc++"
error: build/tools/acp/Android.bp:5:1: "acp" depends on undefined module "libcompiler_rt-extras"
error: build/tools/libhost/Android.bp:1:1: "libhost" depends on undefined module "libcompiler_rt-extras"
error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module "libcompiler_rt-extras"
error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module "libc++"
error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined module "libcompiler_rt-extras"
error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined module "libc++"
error: build/kati/Android.bp:79:1: "ckati_test" depends on undefined module "libcompiler_rt-extras"
error: build/kati/Android.bp:79:1: "ckati_test" depends on undefined module "libc++"
error: build/kati/Android.bp:65:1: "ckati" depends on undefined module "libcompiler_rt-extras"
error: build/kati/Android.bp:65:1: "ckati" depends on undefined module "libc++"
error: build/kati/Android.bp:94:1: "ckati_fileutil_bench" depends on undefined module "libgoogle-benchmark"
error: build/kati/Android.bp:94:1: "ckati_fileutil_bench" depends on undefined module "libcompiler_rt-extras"
error: build/kati/Android.bp:94:1: "ckati_fileutil_bench" depends on undefined module "libc++"
error: build/kati/Android.bp:72:1: "ckati_stamp_dump" depends on undefined module "libcompiler_rt-extras"
error: build/kati/Android.bp:72:1: "ckati_stamp_dump" depends on undefined module "libc++"
[2/2] soong_build docs out/soong/.bootstrap/docs/soong_build.html
FAILED: out/soong/.bootstrap/docs/soong_build.html
out/soong/.bootstrap/bin/soong_build  -b out/soong --docs out/soong/.bootstrap/docs/soong_build.html ./Android.bp
error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined module "libcompiler_rt-extras"
error: build/tools/ziptime/Android.bp:21:1: "ziptime" depends on undefined module "libc++"
error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module "libcompiler_rt-extras"
error: build/tools/ijar/Android.bp:6:1: "ijar" depends on undefined module "libc++"
error: build/tools/acp/Android.bp:5:1: "acp" depends on undefined module "libcompiler_rt-extras"
error: build/tools/libhost/Android.bp:1:1: "libhost" depends on undefined module "libcompiler_rt-extras"
error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on undefined module "libcompiler_rt-extras"
error: build/tools/makeparallel/Android.bp:15:1: "makeparallel" depends on undefined module "libc++"
ninja: build stopped: subcommand failed.

Colin Cross

unread,
Nov 9, 2016, 12:45:57 PM11/9/16
to android-...@googlegroups.com
See http://source.android.com/devices/tech/test_infra/tradefed/fundamentals/machine_setup.html
for how to build tradefed. You need to run:
source build/envsetup.sh
tapas tradefed-all
make -j8
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

刘月

unread,
Nov 11, 2016, 10:01:52 AM11/11/16
to Android Building
hi
i have run source build/envsetup.sh ,but when i run tapas tradefed-all,it show: tapas: command not found

the result of run source build/envsetup.sh show:
ot@liuming-pc:~/work# source build/envsetup.sh
including device/asus/fugu/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips64/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/google/dragon/vendorsetup.sh
including device/google/marlin/vendorsetup.sh
including device/htc/flounder/vendorsetup.sh
including device/huawei/angler/vendorsetup.sh
including device/lge/bullhead/vendorsetup.sh
including device/linaro/hikey/vendorsetup.sh
including device/moto/shamu/vendorsetup.sh
including sdk/bash_completion/adb.bash

在 2016年11月10日星期四 UTC+8上午1:45:57,Colin Cross写道:

刘月

unread,
Nov 11, 2016, 10:02:04 AM11/11/16
to Android Building
and when i run make -j8 dist ,i show: inja: fatal: fork: Cannot allocate memory on 11%


在 2016年11月10日星期四 UTC+8上午1:45:57,Colin Cross写道:
Reply all
Reply to author
Forward
0 new messages