Android 9.0编译出错

hardware/amlogic/wifi/configs/wifi.mk:43: warning: WIFI_MOUDLE is multiwifi
hardware/amlogic/wifi/configs/wifi.mk:47: warning: WIFI_BUILD_IN is false
hardware/amlogic/bluetooth/configs/bluetooth.mk:20: warning: BLUETOOTH_MODULE is BCMBT
hardware/amlogic/bluetooth/configs/bluetooth.mk:24: warning: BLUETOOTH_INF is not set

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=kvim3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-76-generic-x86_64-Ubuntu-16.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out

ninja: no work to do.
ninja: no work to do.
device/khadas/kvim3/preinstall/preinstall.mk was modified, regenerating…
hardware/amlogic/wifi/configs/wifi.mk:43: warning: WIFI_MOUDLE is multiwifi
hardware/amlogic/wifi/configs/wifi.mk:47: warning: WIFI_BUILD_IN is false
hardware/amlogic/bluetooth/configs/bluetooth.mk:20: warning: BLUETOOTH_MODULE is BCMBT
hardware/amlogic/bluetooth/configs/bluetooth.mk:24: warning: BLUETOOTH_INF is not set
device/khadas/kvim3/preinstall/preinstall.mk was modified, regenerating…
hardware/amlogic/wifi/configs/wifi.mk:43: warning: WIFI_MOUDLE is multiwifi
hardware/amlogic/wifi/configs/wifi.mk:47: warning: WIFI_BUILD_IN is false
hardware/amlogic/bluetooth/configs/bluetooth.mk:20: warning: BLUETOOTH_MODULE is BCMBT
hardware/amlogic/bluetooth/configs/bluetooth.mk:24: warning: BLUETOOTH_INF is not set
[5/946] including build/make/Android.mk …
device/khadas/common/factory.mk:182: warning: echo “radio add dt and bootloader”
device/khadas/common/factory.mk:316: warning: will keep out/target/product/kvim3/update.img
device/khadas/common/factory.mk:459: warning: will keep out/target/product/kvim3/kvim3-fastboot-flashall-20200218.zip
[313/946] including hardware/amlogic/audio/Android.mk …
“---------ott audio mode, compiler configure 2 channels output by default--------”
[316/946] including hardware/amlogic/camera/Android.mk …
eth0: error fetching interface information: Device not found


pdk or not:
target board: g12b
git version: “86f387d823e75abe086648da7ac24020b744b6ac”
uncomment: 0 files
last changed: “Date: Mon Dec 30 18:28:56 2019 +0800”
build time: " Tue Feb 18 20:10:12 CST 2020"
builder name: " root"
branch name: “* (no branch)”
build mode: userdebug
host name: “anyway”
eth0: error fetching interface information: Device not found
host IP: “”
path: “/work/disk3/s905d3/hardware/amlogic/camera/v3/fake-pipeline2/tests”


[319/946] including hardware/amlogic/gralloc/Android.mk …
hardware/amlogic/gralloc/Android.mk:79: warning: “the value of GPU_ARCH is bifrost”
hardware/amlogic/gralloc/Android.mk:135: warning: “the value of BOARD_RESOLUTION_RATIO is 1080”
hardware/amlogic/gralloc/Android.mk:144: warning: “the value of GPU_TYPE is gondul”
[321/946] including hardware/amlogic/hwcomposer/Android.mk …
“Build HWC 2.0”
[534/946] including system/sepolicy/Android.mk …
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[905/946] including vendor/amlogic/common/LibTsPlayer/Android.mk …
vendor/amlogic/common/LibTsPlayer/jni/media_control/Android.mk:27: warning: 9
vendor/amlogic/common/LibTsPlayer/jni/media_control/Android.mk:98: warning: 9
vendor/amlogic/common/LibTsPlayer/jni/media_processor/Android.mk:4: warning: .
vendor/amlogic/common/LibTsPlayer/jni/media_processor/Android.mk:45: warning: 9
vendor/amlogic/common/LibTsPlayer/jni/test/Android.mk:5: warning: Kitkat
vendor/amlogic/common/LibTsPlayer/jni/test/Android.mk:6: warning: vendor/amlogic/common/LibTsPlayer/jni/test
[914/946] including vendor/amlogic/common/apps/NativeImagePlaye/Android.mk …
vendor/amlogic/common/apps/NativeImagePlaye/jni/Android.mk:10: warning: libnativehelper/include_jni
[932/946] including vendor/amlogic/common/frameworks/Android.mk …
vendor/amlogic/common/frameworks/core/jni/screencontrol/Android.mk:7: warning: libnativehelper/include_jni
vendor/amlogic/common/frameworks/core/jni/systemcontrol/Android.mk:10: warning: libnativehelper/include_jni
[933/946] including vendor/amlogic/common/gpu/lib/Android.mk …
vendor/amlogic/common/gpu/lib/Android.mk:100: warning: “the value of BOARD_INSTALL_VULKAN is false”
[938/946] including vendor/amlogic/common/prebuilt/Android.mk …
“no bootaccelerate source code, add prebuilts”
“no exoplayer source code, add prebuilts”
[941/946] including vendor/amlogic/common/tdk/linuxdriver/Android.mk …

make: Entering directory /work/disk3/s905d3/out/target/product/kvim3/obj/KERNEL_OBJ' CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/tee_core.o CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/tee_shm.o CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/tee_shm_pool.o CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/core.o CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/call.o CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/rpc.o CC [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/supp.o AS [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/smccc-call-a32.o LD [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee.o LD [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/optee_armtz.o Building modules, stage 2. MODPOST 2 modules CC /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee.mod.o CC /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/optee_armtz.mod.o LD [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee.ko LD [M] /work/disk3/s905d3/out/target/product/kvim3/obj/optee_modules/optee/optee_armtz.ko make: Leaving directory /work/disk3/s905d3/out/target/product/kvim3/obj/KERNEL_OBJ’
[944/946] including vendor/amlogic/common/tv/tvserver/Android.mk …
“have hardware/amlogic/media”
“have hardware/amlogic/media”
[946/946] including vendor/widevine/Android.mk …
device/khadas/kvim3/Kernel.mk:174: warning: overriding commands for target out/target/product/kvim3/obj/lib_vendor/mali.ko' vendor/amlogic/common//gpu/gpu-v2.mk:23: warning: ignoring old commands for target out/target/product/kvim3/obj/lib_vendor/mali.ko’
build/make/core/base_rules.mk:412: warning: overriding commands for target out/target/product/kvim3/system/usr/icu/icudt60l.dat' build/make/core/base_rules.mk:412: warning: ignoring old commands for target out/target/product/kvim3/system/usr/icu/icudt60l.dat’
build/make/core/base_rules.mk:412: warning: overriding commands for target out/host/linux-x86/usr/icu/icudt60l.dat' build/make/core/base_rules.mk:412: warning: ignoring old commands for target out/host/linux-x86/usr/icu/icudt60l.dat’
build/make/core/Makefile:28: warning: overriding commands for target out/target/product/kvim3/obj/lib_vendor/ddr_window_64.ko' device/khadas/kvim3/Kernel.mk:174: warning: ignoring old commands for target out/target/product/kvim3/obj/lib_vendor/ddr_window_64.ko’
build/make/core/Makefile:28: warning: overriding commands for target out/target/product/kvim3/vendor/etc/init/android.hardware.wifi@1.0-service.rc' build/make/core/base_rules.mk:426: warning: ignoring old commands for target out/target/product/kvim3/vendor/etc/init/android.hardware.wifi@1.0-service.rc’
[ 0% 6/21615] target Prebuilt: Chrome (out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk)
FAILED: out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk
/bin/bash -c “(rm -f out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ) && (cp “device/khadas/kvim3/preinstall/Chrome.apk” “out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk” ) && (if (zipinfo out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ‘lib/.so’ 2>/dev/null | grep -v ’ stor ’ >/dev/null) ; then rm -rf out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && mkdir out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs; unzip -q out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk 'lib/.so’ -d out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && zip -qd out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk ‘lib/*.so’ && ( cd out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs && find lib -type f | sort | zip -qD -X -0 …/package.apk -@ ) && rm -rf out/target/product/kvim3/obj/APPS/Chrome_intermediates/uncompressedlibs; fi ) && (if ! out/host/linux-x86/bin/zipalign -c -p 4 out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk >/dev/null ; then mv out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned; mv out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk; fi )”
Unable to open ‘out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk’ for verification
Unable to open ‘out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unaligned’ as zip archive
mv: cannot stat ‘out/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.aligned’: No such file or directory
[ 0% 15/21615] build out/target/product/kvim3/obj/KERNEL_OBJ/.config
make: Entering directory /work/disk3/s905d3/common' make[1]: Entering directory /work/disk3/s905d3/out/target/product/kvim3/obj/KERNEL_OBJ’
GEN ./Makefile
arch/arm/configs/kvim_a32_defconfig:481:warning: unexpected data: GONFIG_GPIOLIB=y
arch/arm/configs/kvim_a32_defconfig:482:warning: unexpected data: GONFIG_OF_GPIO=y

configuration written to .config

make[1]: Leaving directory /work/disk3/s905d3/out/target/product/kvim3/obj/KERNEL_OBJ' make: Leaving directory /work/disk3/s905d3/common’
ninja: build stopped: subcommand failed.
20:11:09 ninja failed with: exit status 1

failed to build some targets (06:00 (mm:ss))

image
Here, the download code is not complete, resulting in compilation failure.



Has the screenshot been operated?

root@anyway:/work/disk3/s905d3/device/khadas/kvim3/preinstall# ls -l
total 21100
-rw-r–r-- 1 root root 736 2月 18 22:05 Android.mk
-rw-r–r-- 1 root root 21835310 2月 18 22:04 Aptoide.apk
-rw-r–r-- 1 root root 134 2月 18 22:04 Chrome.apk
-rw-r–r-- 1 root root 55 2月 18 22:05 preinstall.mk
-rwxr-xr-x 1 root root 511 2月 18 22:04 preinstall.sh
root@anyway:/work/disk3/s905d3/device/khadas/kvim3/preinstall#

-rw-r–r-- 1 root root 134 2月 18 22:04 Chrome.apk
服务器下载下来的代码特别小

执行repo sync
Skipped fetching project android_external_mesa3d (already have persistent ref)
Skipped fetching project android_packages_wallpapers_LivePicker (already have persistent ref)
Skipped fetching project android_packages_services_Telephony (already have persistent ref)
Skipped fetching project android_external_python_uritemplates (already have persistent ref)
Skipped fetching project android_external_libhevc (already have persistent ref)
Fetching projects: 96% (660/687) android_external_libhevcSkipped fetching project android_external_python_requests (already have persistent ref)
Skipped fetching project android_pdk (already have persistent ref)
Skipped fetching project android_frameworks_opt_car_services (already have persistent ref)
Skipped fetching project android_prebuilts_devtools (already have persistent ref)
Skipped fetching project android_external_javassist (already have persistent ref)
Skipped fetching project android_packages_providers_MediaProvider (already have persistent ref)
Skipped fetching project android_external_speex (already have persistent ref)
Fetching projects: 97% (667/687) platform/ctsSkipped fetching project android_external_dagger2 (already have persistent ref)
Skipped fetching project android_external_xz-embedded (already have persistent ref)
Skipped fetching project android_external_jemalloc (already have persistent ref)
Skipped fetching project android_packages_providers_ContactsProvider (already have persistent ref)
Skipped fetching project android_packages_inputmethods_OpenWnn (already have persistent ref)
Fetching projects: 98% (674/687) android_packages_inputmethods_OpenWnnSkipped fetching project android_external_volley (already have persistent ref)
Skipped fetching project android_vendor_amlogic_system_droidvold (already have persistent ref)
Skipped fetching project android_vendor_amlogic_external_ntfs-3g (already have persistent ref)
Skipped fetching project android_external_wayland (already have persistent ref)
Skipped fetching project android_libnativehelper (already have persistent ref)
Skipped fetching project android_hardware_wifi_realtek_drivers_8822bs (already have persistent ref)
Skipped fetching project android_external_archive-patcher (already have persistent ref)
Skipped fetching project android_external_perfetto (already have persistent ref)
Fetching projects: 99% (681/687) android_external_archive-patcherSkipped fetching project android_system_libfmq (already have persistent ref)
Skipped fetching project android_kernel_tests (already have persistent ref)
Skipped fetching project android_external_fec (already have persistent ref)
Skipped fetching project android_external_python_proto-google-cloud-pubsub-v1 (already have persistent ref)
Skipped fetching project android_prebuilts_vndk_v27 (already have persistent ref)
Fetching projects: 100% (687/687), done.
Checking out projects: 100% (687/687), done.
repo sync has finished successfully.
root@anyway:/work/disk3/s905d3#

链接:https://pan.baidu.com/s/1oaaggY31DS0UM5J-GRCaMQ
提取码:8k71
先用这里文件进行替换。后续会有人跟进此问题