20231224解决outcommit_id.xml1 parser error Document is empty的问题
2023/12/24 18:13
在开发RK3399的Android10的时候,出现:
rootroot@rootroot-X99-Turbo:~/3TB/Rockchip_Android10.0_SDK_Release$ make installclean
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=rk3399_Android10
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-91-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200305.004.A1
OUT_DIR=out
============================================
16:51:00 Deleted images and staging directories.
build completed successfully (14 seconds)
rootroot@rootroot-X99-Turbo:~/3TB/Rockchip_Android10.0_SDK_Release$ ll
total 249120
drwxrwxr-x 38 rootroot rootroot 4096 12月 24 16:43 ./
drwxrwxrwx 10 rootroot rootroot 4096 12月 24 07:30 ../
drwxrwxr-x 26 rootroot rootroot 4096 12月 24 16:09 10u-boot/
drwxrwxr-x 27 rootroot rootroot 4096 12月 20 19:18 61u-boot/
lrwxrwxrwx 1 rootroot rootroot 19 12月 20 15:06 Android.bp -> build/soong/root.bp
drwxrwxr-x 31 rootroot rootroot 4096 12月 20 15:06 art/
drwxrwxr-x 13 rootroot rootroot 4096 12月 20 15:06 bionic/
drwxrwxr-x 3 rootroot rootroot 4096 12月 20 15:06 bootable/
lrwxrwxrwx 1 rootroot rootroot 26 12月 20 15:06 bootstrap.bash -> build/soong/bootstrap.bash*
drwxrwxr-x 6 rootroot rootroot 4096 12月 20 15:06 build/
-r-xr-xr-x 1 rootroot rootroot 6914 12月 20 15:06 build.sh*
-r-xr-xr-x 1 rootroot rootroot 14109 12月 20 15:06 .classpath*
drwxrwxr-x 12 rootroot rootroot 4096 12月 20 15:06 cts/
drwxrwxr-x 10 rootroot rootroot 4096 12月 20 15:06 dalvik/
drwxrwxr-x 5 rootroot rootroot 4096 12月 20 15:06 developers/
drwxrwxr-x 20 rootroot rootroot 4096 12月 20 15:06 development/
drwxrwxr-x 4 rootroot rootroot 4096 12月 20 15:06 device/
drwxrwxr-x 306 rootroot rootroot 12288 12月 20 15:08 external/
drwxrwxr-x 15 rootroot rootroot 4096 12月 20 15:10 frameworks/
drwxrwxr-x 13 rootroot rootroot 4096 12月 20 15:10 hardware/
-r--r--r-- 1 rootroot rootroot 162 12月 20 15:06 javaenv.sh
drwxrwxr-x 30 rootroot rootroot 4096 12月 22 20:47 kernel/
-rwx------ 1 rootroot rootroot 214721754 12月 20 08:23 kernel72.tgz*
drwxrwxr-x 19 rootroot rootroot 4096 12月 20 15:11 libcore/
drwxrwxr-x 8 rootroot rootroot 4096 12月 20 15:11 libnativehelper/
-r--r--r-- 1 rootroot rootroot 92 12月 20 15:06 Makefile
-r-xr-xr-x 1 rootroot rootroot 10370 12月 20 15:06 mkimage.sh*
drwxrwxr-x 11 rootroot rootroot 4096 12月 24 16:51 out/
drwxrwxr-x 9 rootroot rootroot 4096 12月 20 15:11 packages/
drwxrwxr-x 6 rootroot rootroot 4096 12月 20 15:11 pdk/
drwxrwxr-x 3 rootroot rootroot 4096 12月 20 15:11 platform/
drwxrwxr-x 10 rootroot rootroot 4096 12月 20 15:12 platform_testing/
drwxrwxr-x 28 rootroot rootroot 4096 12月 20 15:24 prebuilts/
drwxrwxr-x 7 rootroot rootroot 4096 5月 22 2020 .repo/
-r-xr-xr-x 1 rootroot rootroot 519 12月 20 15:24 restore_patches.sh*
drwxrwxr-x 9 rootroot rootroot 4096 12月 24 16:03 rkbin/
drwxrwxr-x 9 rootroot rootroot 4096 12月 20 15:06 RKDocs/
drwxrwxr-x 5 rootroot rootroot 4096 12月 20 15:24 rkst/
drwxrwxr-x 5 rootroot rootroot 4096 12月 20 15:06 RKTools/
drwxrwxr-x 7 rootroot rootroot 4096 12月 24 16:45 rockdev/
drwxrwxr-x 24 rootroot rootroot 4096 12月 20 15:24 sdk/
drwxrwxr-x 38 rootroot rootroot 4096 12月 20 15:24 system/
drwxrwxr-x 9 rootroot rootroot 4096 12月 20 15:24 test/
drwxrwxr-x 4 rootroot rootroot 4096 12月 20 15:24 toolchain/
drwxrwxr-x 19 rootroot rootroot 4096 12月 20 15:25 tools/
drwxrwxr-x 22 rootroot rootroot 4096 12月 24 16:44 u-boot/
-rwx------ 1 rootroot rootroot 22333991 12月 24 16:39 u-boot81.tgz*
-rwx------ 1 rootroot rootroot 17818883 12月 14 19:21 u-boot81在firefly.tgz*
drwxrwxr-x 5 rootroot rootroot 4096 12月 22 19:45 vendor/
rootroot@rootroot-X99-Turbo:~/3TB/Rockchip_Android10.0_SDK_Release$
rootroot@rootroot-X99-Turbo:~/3TB/Rockchip_Android10.0_SDK_Release rootroot@rootroot-X99-Turbo:\~/3TB/Rockchip_Android10.0_SDK_Release make -j36
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=rk3399_Android10
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-91-generic-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200305.004.A1
OUT_DIR=out
============================================
(shell find kernel/drivers/net/wireless/rockchip_wlan -name ""\*.ko"" -type f \| sed -E "s:(kernel/drivers/net/wireless/rockchip_wlan/?(.\*)):\\\\1\\\\:/recovery/root/pcba/lib/modules/\\\\2:" \| sed "s://:/:g") was changed, regenerating...
(shell find kernel/drivers/net/wireless/rockchip_wlan -name ""*.ko"" -type f | sed -E "s:(kernel/drivers/net/wireless/rockchip_wlan/?(.*)):\\1\\:/recovery/root/pcba/lib/modules/\\2:" | sed "s://:/:g") was changed, regenerating...
100% 449/449\] initializing build system ...
device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml...
device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk
Traceback (most recent call last):
File "/home/rootroot/3TB/Rockchip_Android10.0_SDK_Release/.repo/repo/main.py", line 531, in \