[Xoom Q&A, Help & Troubleshooting] Wajdi Muhtadi:
i am trying to build twrp for a device and i get this

[ 76% 10/13] ----- Making recovery ramdisk ------

FAILED: /home/wajdi/Documents/omni/out/target/product/wingray/ramdisk-recovery.cpio

/bin/bash -c "(mkdir -p /home/wajdi/Documents/omni/out/target/product/wingray/recovery ) && (mkdir -p /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/etc /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/sdcard /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/tmp ) && (echo Copying baseline ramdisk... ) && (rsync -a --exclude=etc --exclude=sdcard --exclude=vendor --exclude=/root/sepolicy --exclude=/root/plat_file_contexts --exclude=/root/nonplat_file_contexts --exclude=/root/plat_property_contexts --exclude=/root/nonplat_property_contexts --exclude=cache /home/wajdi/Documents/omni/out/target/product/wingray/root /home/wajdi/Documents/omni/out/target/product/wingray/recovery ) && (cp -f /home/wajdi/Documents/omni/out/target/product/wingray/system/bin/adbd /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/sbin/adbd ) && (echo Modifying ramdisk contents... ) && (rm -f /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/init*.rc ) && (cp -f bootable/recovery/etc/init.rc /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/ ) && (cp /home/wajdi/Documents/omni/out/target/product/wingray/root/init.recovery.*.rc /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/ || true ) && (mkdir -p /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/res ) && (rm -rf /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/res/* ) && (cp -rf bootable/recovery/res-xhdpi/* /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/res ) && (cp -f bootable/recovery/fonts/12x22.png /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/res/images/font.png ) && (cp -rf device/moto/wingray/recovery/root /home/wajdi/Documents/omni/out/target/product/wingray/recovery/ ) && (cp -f device/moto/wingray/twrp.fstab /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/etc/recovery.fstab ) && (cp /home/wajdi/Documents/omni/out/target/product/wingray/obj/PACKAGING/ota_keys_intermediates/keys /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/res/keys ) && (cat /home/wajdi/Documents/omni/out/target/product/wingray/root/default.prop > /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/prop.default ) && (cat /home/wajdi/Documents/omni/out/target/product/wingray/obj/ETC/system_build_prop_intermediates/build.prop >> /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/prop.default ) && (ln -sf prop.default /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root/default.prop ) && (echo "----- Making uncompressed recovery ramdisk ------" ) && (/home/wajdi/Documents/omni/out/host/linux-x86/bin/mkbootfs /home/wajdi/Documents/omni/out/target/product/wingray/recovery/root > /home/wajdi/Documents/omni/out/target/product/wingray/ramdisk-recovery.cpio )"

Copying baseline ramdisk...

cp: cannot stat '/home/wajdi/Documents/omni/out/target/product/wingray/system/bin/adbd': No such file or directory

ninja: build stopped: subcommand failed.

17:08:13 ninja failed with: exit status 1

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

ive spent a week searching for a solution and i didnt find anything