[Android Q&A, Help & Troubleshooting] segfaultcoder:
When I run "mka recoveryimage", ninja gives me this error:

(...)

No private recovery resources for TARGET_DEVICE A7_Pro

build/core/tasks/kernel.mk:109: ***************************************************************

build/core/tasks/kernel.mk:110: * Using prebuilt kernel binary instead of source *

build/core/tasks/kernel.mk:111: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *

build/core/tasks/kernel.mk:112: * Please configure your device to download the kernel *

build/core/tasks/kernel.mk:113: * source repository to kernel/umidigi/A7_Pro

build/core/tasks/kernel.mk:114: * See http://xdaforums.com/wiki/ROM/Integrated_Kernel_Build

build/core/tasks/kernel.mk:115: * for more information *

build/core/tasks/kernel.mk:116: ***************************************************************

build/core/base_rules.mk:407: warning: overriding commands for target `/recovery_unit_test'

build/core/base_rules.mk:407: warning: ignoring old commands for target `/recovery_unit_test'

build/core/base_rules.mk:407: warning: overriding commands for target `/recovery_component_test'

build/core/base_rules.mk:407: warning: ignoring old commands for target `/recovery_component_test'

build/core/base_rules.mk:407: warning: overriding commands for target `/minadbd_test'

build/core/base_rules.mk:407: warning: ignoring old commands for target `/minadbd_test'

bootable/recovery/toolbox/Android.mk:302: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/recovery/root/sbin/start'

bootable/recovery/toolbox/Android.mk:302: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/recovery/root/sbin/start'

bootable/recovery/toolbox/Android.mk:302: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/recovery/root/sbin/stop'

bootable/recovery/toolbox/Android.mk:302: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/recovery/root/sbin/stop'

build/core/base_rules.mk:319: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/system/xbin/unzip'

./external/busybox/Android.mk:172: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/system/xbin/unzip'

build/core/base_rules.mk:319: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:319: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/root/res/images/charger/battery_scale.png'

build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/root/res/images/charger/battery_scale.png'

build/core/Makefile:1112: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/ramdisk-recovery.cpio'

build/core/Makefile:1068: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/ramdisk-recovery.cpio'

build/core/Makefile:1118: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/ramdisk-recovery.img'

build/core/Makefile:1074: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/ramdisk-recovery.img'

build/core/Makefile:1124: warning: overriding commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/recovery.img'

build/core/Makefile:1079: warning: ignoring old commands for target `/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/recovery.img'

Starting build with ninja

ninja: Entering directory `.'

ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]

ninja: error: '/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/system/xbin/zip', needed by '/home/segfaultcoder/Downloads/twrp/out/target/product/A7_Pro/obj_arm/SHARED_LIBRARIES/libbmlutils_intermediates/teamwin', missing and no known rule to make it

make: *** [build/core/ninja.mk:158: ninja_wrapper] Error 1

That's not a problem, I have a PC with 16 GB of RAM running Ubuntu 20.04 :)