0

我正在尝试为 dopinder(onn AndroidTV)构建 lineageos。我正在关注本指南:https ://wiki.oddsolutions.us/devices/dopinder/build

我正在运行带有 Debian Unstable WSL 2 的 Windows 10。构建了大约 4 个小时后,它就失败了。部分错误日志显示ext2fs,但我在 wsl 中运行 ext4。

Looking for dependencies in device/askey/dopinder
Looking for dependencies in device/amlogic/g12-common
Looking for dependencies in kernel/amlogic/linux-4.9
kernel/amlogic/linux-4.9 has no additional dependencies.
Looking for dependencies in hardware/amlogic/kernel-modules/mali-driver
hardware/amlogic/kernel-modules/mali-driver has no additional dependencies.
product/dopinder/obj/PACKAGING/odm_intermediates/odm_image_info.txt out/target/product/dopinder/odm.img out/target/product/dopinder/system ) && (true )"
2022-01-17 17:52:29 - build_image.py - ERROR   : Failed to build out/target/product/dopinder/odm.img from out/target/product/dopinder/odm
Traceback (most recent call last):
  File "~/lineageos/out/host/linux-x86/bin/build_image/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "~/lineageos/out/host/linux-x86/bin/build_image/internal/stdlib/runpy.py", line 72, in _run_code
  File "~/lineageos/out/host/linux-x86/bin/build_image/__main__.py", line 12, in <module>
  File "~/lineageos/out/host/linux-x86/bin/build_image/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "~/lineageos/out/host/linux-x86/bin/build_image/internal/stdlib/runpy.py", line 72, in _run_code
  File "~/lineageos/out/host/linux-x86/bin/build_image/build_image.py", line 816, in <module>
  File "~/lineageos/out/host/linux-x86/bin/build_image/build_image.py", line 808, in main
  File "~/lineageos/out/host/linux-x86/bin/build_image/build_image.py", line 438, in BuildImage
  File "~/lineageos/out/host/linux-x86/bin/build_image/build_image.py", line 101, in GetFilesystemCharacteristics
  File "~/lineageos/out/host/linux-x86/bin/build_image/common.py", line 281, in RunAndCheckOutput
common.ExternalError: Failed to run command '['tune2fs', '-l', 'out/target/product/dopinder/unsparse_odm.img']' (exit code 1):
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether out/target/product/dopinder/unsparse_odm.img is mounted.
tune2fs 1.45.4 (23-Sep-2019)

[  0% 19/3121] Building Kernel Config
make: Entering directory '~/lineageos/kernel/amlogic/linux-4.9'
make[1]: Entering directory '~/lineageos/out/target/product/dopinder/obj/KERNEL_OBJ'
  GEN     ./Makefile
KCONFIG_SELINUX((null))
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm64/configs/g12a_variant_defconfig)
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory '~/lineageos/out/target/product/dopinder/obj/KERNEL_OBJ'
make: Leaving directory '~/lineageos/kernel/amlogic/linux-4.9'
make: Entering directory '~/lineageos/kernel/amlogic/linux-4.9'
make[1]: Entering directory '~/lineageos/out/target/product/dopinder/obj/KERNEL_OBJ'
  GEN     ./Makefile
scripts/kconfig/conf  --savedefconfig=defconfig Kconfig
make[1]: Leaving directory '~/lineageos/out/target/product/dopinder/obj/KERNEL_OBJ'
make: Leaving directory '~/lineageos/kernel/amlogic/linux-4.9'
17:52:32 ninja failed with: exit status 1

#### failed to build some targets (13 seconds) ####

谁能帮我理解为什么这里会失败,以及如何解决和/或规避这个问题?

4

0 回答 0