[Realme X ROMs, Kernels, Recoveries, & Other Develo] Almasd:
Hello. I'm trying to build it from the source you shared. But I am stuck at the error below. Please help me. What did I do wrong?

[ 0% 400/53270] Building dtbo.img
FAILED: out/target/product/RMX1901/obj/DTBO_OBJ/arch/arm64/boot/dtbo.img
/bin/bash -c "(find out/target/product/RMX1901/obj/DTBO_OBJ/arch/arm64/boot/d
ts -type f -name \"*.dtbo\" | xargs rm -f ) && (PATH=/home/almas/Projects/DerpFe
st/out/host/linux-x86/bin:\$PATH LD_LIBRARY_PATH=/home/almas/Projects/DerpFest/p
rebuilts/clang/host/linux-x86/clang-proton/lib64:\$LD_LIBRARY_PATH PATH=/home
/dd/Projects/DerpFest/prebuilts/clang/host/linux-x86/clang-proton/bin:\$PATH
PATH=/home/almas/Projects/DerpFest/prebuilts/gcc/linux-x86/aarch64/aarch64-linux
-android-4.9/bin:\$PATH PERL5LIB=/home/almas/Projects/DerpFest/prebuilts/tools-l
ineage/common/perl-base PATH=/home/almas/Projects/DerpFest/prebuilts/tools-linea
ge/linux-x86/bin:/home/almas/Projects/DerpFest/prebuilts/gcc/linux-x86/arm/arm-l
inux-androideabi-4.9/bin:\$PATH BISON_PKGDATADIR=/home/almas/Projects/DerpFest/p
rebuilts/build-tools/common/bison /home/almas/Projects/DerpFest/prebuilts/build-
tools/linux-x86/bin/make -j4 CPATH=\"/usr/include:/usr/include/x86_64-linux-
gnu\" HOSTLDFLAGS=\"-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" H
OSTCC=/home/almas/Projects/DerpFest/prebuilts/clang/host/linux-x86/clang-proton/
bin/clang HOSTCXX=/home/almas/Projects/DerpFest/prebuilts/clang/host/linux-x86/c
lang-proton/bin/clang++ LEX=/home/almas/Projects/DerpFest/prebuilts/build-tools/
linux-x86/bin/flex YACC=/home/almas/Projects/DerpFest/prebuilts/build-tools/linu
x-x86/bin/bison M4=/home/almas/Projects/DerpFest/prebuilts/build-tools/linux-x86
/bin/m4 DTC_EXT=/home/almas/Projects/DerpFest/out/host/linux-x86/bin/dtc HOSTCFL
AGS=\"-fuse-ld=lld -Wno-unused-command-line-argument\" -C kernel/realme/RMX19
01 O=/home/almas/Projects/DerpFest/out/target/product/RMX1901/obj/DTBO_OBJ ARCH=
arm64 CROSS_COMPILE=\"/home/almas/Projects/DerpFest/prebuilts/gcc/linux-x86/aarc
h64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM3
2=\"/home/almas/Projects/DerpFest/prebuilts/gcc/linux-x86/arm/arm-linux-androide
abi-4.9/bin/arm-linux-androidkernel-\" CROSS_COMPILE_COMPAT=\"/home/almas/Projec
ts/DerpFest/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-lin
ux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache clan
g\" RMX1901_defconfig ) && (PATH=/home/almas/Projects/DerpFest/out/host/linux-x8
6/bin:\$PATH LD_LIBRARY_PATH=/home/almas/Projects/DerpFest/prebuilts/clang/host/
linux-x86/clang-proton/lib64:\$LD_LIBRARY_PATH PATH=/home/almas/Projects/DerpFes
t/prebuilts/clang/host/linux-x86/clang-proton/bin:\$PATH PATH=/home/almas/Projec
ts/DerpFest/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:\$P
ATH PERL5LIB=/home/almas/Projects/DerpFest/prebuilts/tools-lineage/common/perl-b
ase PATH=/home/almas/Projects/DerpFest/prebuilts/tools-lineage/linux-x86/bin:/ho
me/dd/Projects/DerpFest/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
/bin:\$PATH BISON_PKGDATADIR=/home/almas/Projects/DerpFest/prebuilts/build-tools
/common/bison /home/almas/Projects/DerpFest/prebuilts/build-tools/linux-x86/bin/
make -j4 CPATH=\"/usr/include:/usr/include/x86_64-linux-gnu\" HOSTLDFLAGS=\"
-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" HOSTCC=/home/almas/Proje
cts/DerpFest/prebuilts/clang/host/linux-x86/clang-proton/bin/clang HOSTCXX=/h
ome/dd/Projects/DerpFest/prebuilts/clang/host/linux-x86/clang-proton/bin/clan
g++ LEX=/home/almas/Projects/DerpFest/prebuilts/build-tools/linux-x86/bin/flex Y
ACC=/home/almas/Projects/DerpFest/prebuilts/build-tools/linux-x86/bin/bison M4=/
home/dd/Projects/DerpFest/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/hom
e/dd/Projects/DerpFest/out/host/linux-x86/bin/dtc HOSTCFLAGS=\"-fuse-ld=lld -
Wno-unused-command-line-argument\" -C kernel/realme/RMX1901 O=/home/almas/Projec
ts/DerpFest/out/target/product/RMX1901/obj/DTBO_OBJ ARCH=arm64 CROSS_COMPILE=
\"/home/almas/Projects/DerpFest/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-an
droid-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/home/almas/Project
s/DerpFest/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linu
x-androidkernel-\" CROSS_COMPILE_COMPAT=\"/home/almas/Projects/DerpFest/prebuilt
s/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\"
CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache clang\" dtbs ) && (out/h
ost/linux-x86/bin/mkdtboimg.py create out/target/product/RMX1901/obj/DTBO_OBJ
/arch/arm64/boot/dtbo.img --page_size=4096 \$(find out/target/product/RMX1901
/obj/DTBO_OBJ/arch/arm64/boot/dts -type f -name \"*.dtbo\" | sort) ) && (touc
h -c out/target/product/RMX1901/obj/DTBO_OBJ )"
make: Entering directory '/home/almas/Projects/DerpFest/kernel/realme/RMX1901'
make[1]: Entering directory '/home/almas/Projects/DerpFest/out/target/product/RM
X1901/obj/DTBO_OBJ'
GEN ./Makefile
drivers/power/oppo/Kconfig:14:warning: ignoring type redefinition of 'OPPO_SH
ORT_C_BATT_CHECK' from 'tristate' to 'boolean'
drivers/power/oppo/Kconfig:24:warning: ignoring type redefinition of 'OPPO_SH
ORT_IC_CHECK' from 'tristate' to 'boolean'
drivers/power/oppo/Kconfig:29:warning: ignoring type redefinition of 'OPPO_SH
ORT_HW_CHECK' from 'tristate' to 'boolean'
arch/arm64/configs/RMX1901_defconfig:464:warning: override: reassigning to sy
mbol HID_SONY
arch/arm64/configs/RMX1901_defconfig:731:warning: override: reassigning to sy
mbol PROCESS_RECLAIM
#
# configuration written to .config
#
make[1]: Leaving directory '/home/almas/Projects/DerpFest/out/target/product/RMX
1901/obj/DTBO_OBJ'
make: Leaving directory '/home/almas/Projects/DerpFest/kernel/realme/RMX1901'
make: Entering directory '/home/almas/Projects/DerpFest/kernel/realme/RMX1901'
make[1]: Entering directory '/home/almas/Projects/DerpFest/out/target/product/RM
X1901/obj/DTBO_OBJ'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/power/oppo/Kconfig:14:warning: ignoring type redefinition of 'OPPO_SH
ORT_C_BATT_CHECK' from 'tristate' to 'boolean'
drivers/power/oppo/Kconfig:24:warning: ignoring type redefinition of 'OPPO_SH
ORT_IC_CHECK' from 'tristate' to 'boolean'
drivers/power/oppo/Kconfig:29:warning: ignoring type redefinition of 'OPPO_SH
ORT_HW_CHECK' from 'tristate' to 'boolean'
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK scripts/mod/devicetable-offsets.h
Using /home/almas/Projects/DerpFest/kernel/realme/RMX1901 as source for kernel
CHK include/generated/utsrelease.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL /home/almas/Projects/DerpFest/kernel/realme/RMX1901/scripts/checksysca
lls.sh
VDSOC arch/arm64/kernel/vdso/vgettimeofday.o
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s: Assembler
messages:
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:3: Error: j
unk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:3: Error: f
ile number less than one
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:4: Error: j
unk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:5: Error: j
unk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:6: Error: j
unk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:7: Error: j
unk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:54: Error:
junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:67: Error:
junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:139: Error:
junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:170: Error:
junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:1100: Error
: junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:1101: Error
: junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:1102: Error
: junk at end of line, first unrecognized character is `"'
/home/almas/Projects/DerpFest/out/soong/.temp/vgettimeofday-806ba3.s:1103: Error
: junk at end of line, first unrecognized character is `"'
/home/almas/: junk at end of line, first unrecognized character is `"'
clang-14: error: assembler command failed with exit code 1 (use -v to see inv
ocation)
make[2]: *** [/home/almas/Projects/DerpFest/kernel/realme/RMX1901/arch/arm64/ker
nel/vdso/Makefile:71: arch/arm64/kernel/vdso/vgettimeofday.o] Error 1
make[1]: *** [arch/arm64/Makefile:212: vdso_prepare] Error 2
make[1]: Leaving directory '/home/almas/Projects/DerpFest/out/target/product/RMX
1901/obj/DTBO_OBJ'
make: *** [Makefile:152: sub-make] Error 2
make: Leaving directory '/home/almas/Projects/DerpFest/kernel/realme/RMX1901'
11:08:52 ninja failed with: exit status 1