[Google TV General] mcdonagh:
I'm trying to build lineageos for dopinder, and was following the guide provided here: https://wiki.oddsolutions.us/devices/dopinder/build

I'm running Windows 10 with Debian Unstable WSL 2. After building for about 4 hours, it just fails. Part of the error log says ext2fs, but I'm running ext4 in wsl.

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) ####

Can anyone help me understand why this is failing here, and how I can fix and/or circumvent this?

I really don't want gapps on my devices