[Q][Solved]acp fails during compilation - Android Q&A, Help & Troubleshooting

Hello,
I'm not completely sure if this is the right forum, because this happens during compilation of SlimLP, but considering it's an unspecific tool (acp) that fails it's not exclusively related to SlimLP.
Problem: No matter what arguments I use the output of acp is this
Code:
bash: /home/<account>/Source/out/host/linux-x86/bin/acp: No such file or directory
What I did: I invested a whole day into fixing the problem. I googled several things and tried to compile acp to no avail (several errors I can't fix), but I'm not very experienced so it might be simple still. And ofc I compiled, repo synced and repeated every step again and again.
For the sake of completeness here are my steps:
installed phablet-tools, openjdk-7-sdk, ruby-bacon (On Ubuntu 14.04 LTS x64 [VM].
repo init <manifest.git>
repo sync
. build/envsetup.sh
lunch slim_d802-userdebug
make -j1 bacon
I have to move the mkbootimg from <src>/out/host/linux-x86/obj32 to ../bin , but the acp is generated before that anyway.
The whole error message is this:
Code:
make[1]: Leaving directory `/home/<account>/Source/kernel/lge/msm8974'
mdpath=`find /home/<account>/Source/out/target/product/d802/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do arm-eabi-strip --strip-unneeded $i; mv $i /home/<account>/Source/out/target/product/d802/system/lib/modules/; done; fi
mdpath=`find /home/<account>/Source/out/target/product/d802/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/<account>/Source/out/target/product/d802/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do arm-eabi-strip --strip-unneeded $i; mv $i /home/<account>/Source/out/target/product/d802/system/lib/modules/; done; fi
mdpath=`find /home/<account>/Source/out/target/product/d802/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: (/home/<account>/Source/out/target/product/d802/kernel)
/bin/bash: /home/<account>/Source/out/host/linux-x86/bin/acp: No such file or directory
make: *** [/home/<account>/Source/out/target/product/d802/kernel] Error 127
Kind Regard,
NetDwarf

Oh rly ... it was easy. I mean that's expected, but I did not think that acp would fail because of that and just acp a simple tool for copying files. Atop of that it does even compile, but doesn't work as intended. Whatever, when you get this error:
Code:
sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip
(from http://source.android.com/source/initializing.html) It was one of the starting tools, but considering phablet-tools includes most (and I thought all) tools, I was thinking I don't need to do it. I mean in the end I had to made a mistake to fail, there was no other option. Only question was at what point. So beware, if you ever encounter this, it's probably of a missing tool.
Kind Regards.

Related

[Script Error] SQLite database defragging - solved

I used to use a script on my original SGS to defrag the sql databases. I came across a similar code but its giving me errors
Script is:
Code:
#!/system/bin/sh
# ==============================================================
# Optimize SQlite databases of apps
# ==============================================================
echo "";
echo "*********************************************";
echo "Optimizing and defragging your database files (*.db)";
echo "Ignore the 'database disk image is malformed' error";
echo "Ignore the 'no such collation sequence' error";
echo "*********************************************";
echo "";
for i in \
`busybox find /data -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
if [ -d "/dbdata" ]; then
for i in \
`busybox find /dbdata -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
fi;
if [ -d "/datadata" ]; then
for i in \
`busybox find /datadata -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
fi;
for i in \
`busybox find /sdcard -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
and outputted recursive errors stating
Code:
/system/xbin/sqlite3: not found
I'm assuming the location is wrong (had a browse around the system but couldn't find location of any sql DB)
or is it something else I'm missing (like incomplete busybox)?
any help would be much appreciated.
if you get sd maid from play, that has sq data base vacuuming, so does the supercharger script
managed to sort it out.
copied an sqlite3 from another app to the previously mentioned location and then gave correct permissions.

[Q] cant build a Boot.img

[email protected]:~/android$ make -j4 bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=
TARGET_PRODUCT=full_asanti_c
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-39-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/harry/android/out
============================================
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
No private recovery resources for TARGET_DEVICE asanti_c
make -C kernel/moto/asanti_c O=/home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" msm8960_mmi_defconfig
make[1]: Enter '/home/harry/android/kernel/moto/asanti_c'
GEN /home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ/Makefile
drivers/usb/gadget/Kconfig:968:warning: defaults for choice values not supported
#
# configuration written to .config
#
make[1]: Leave '/home/harry/android/kernel/moto/asanti_c'
make -C kernel/moto/asanti_c O=/home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" headers_install
make[1]: Enter '/home/harry/android/kernel/moto/asanti_c'
CHK include/linux/version.h
make[1]: Leave '/home/harry/android/kernel/moto/asanti_c'
make -C kernel/moto/asanti_c O=/home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" zImage
make[1]: Enter '/home/harry/android/kernel/moto/asanti_c'
GEN /home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/usb/gadget/Kconfig:968:warning: defaults for choice values not supported
GEN /home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/harry/android/kernel/moto/asanti_c as source for kernel
CHK include/generated/utsrelease.h
make[3]: »include/generated/mach-types.h« ist bereits aktualisiert.
CALL /home/harry/android/kernel/moto/asanti_c/scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[1]: Leave '/home/harry/android/kernel/moto/asanti_c'
make -C kernel/moto/asanti_c O=/home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules
make[1]: Enter '/home/harry/android/kernel/moto/asanti_c'
GEN /home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/harry/android/kernel/moto/asanti_c as source for kernel
CHK include/generated/utsrelease.h
make[3]: »include/generated/mach-types.h« ist bereits aktualisiert.
CALL /home/harry/android/kernel/moto/asanti_c/scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 23 modules
make[1]: Leave '/home/harry/android/kernel/moto/asanti_c'
make -C kernel/moto/asanti_c O=/home/harry/android/out/target/product/asanti_c/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install
make[1]: Enter '/home/harry/android/kernel/moto/asanti_c'
INSTALL arch/arm/mach-msm/dma_test.ko
INSTALL arch/arm/mach-msm/msm-buspm-dev.ko
INSTALL arch/arm/mach-msm/reset_modem.ko
INSTALL crypto/ansi_cprng.ko
INSTALL drivers/bluetooth/bluetooth-power.ko
INSTALL drivers/crypto/msm/qcedev.ko
INSTALL drivers/crypto/msm/qce40.ko
INSTALL drivers/crypto/msm/qcrypto.ko
INSTALL drivers/input/evbug.ko
INSTALL drivers/input/evfwd.ko
INSTALL drivers/media/radio/radio-iris-transport.ko
INSTALL drivers/media/video/gspca/gspca_main.ko
INSTALL drivers/misc/config/config.ko
INSTALL drivers/misc/eeprom/eeprom_93cx6.ko
INSTALL drivers/net/ks8851.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/spi/spidev.ko
INSTALL drivers/staging/prima/wlan.ko
INSTALL drivers/staging/zram/zram.ko
INSTALL drivers/video/backlight/lcd.ko
INSTALL net/ipv4/tcp_htcp.ko
INSTALL net/ipv4/tcp_westwood.ko
INSTALL net/wireless/cfg80211.ko
DEPMOD 3.0.72-cm
make[1]: Leave '/home/harry/android/kernel/moto/asanti_c'
mdpath=`find /home/harry/android/out/target/product/asanti_c/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/harry/android/out/target/product/asanti_c/system/lib/modules/; done; fi
mdpath=`find /home/harry/android/out/target/product/asanti_c/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/harry/android/out/target/product/asanti_c/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/harry/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/harry/android/out/target/product/asanti_c/system/lib/modules/; done; fi
mdpath=`find /home/harry/android/out/target/product/asanti_c/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: (/home/harry/android/out/target/product/asanti_c/kernel)
Target boot image: /home/harry/android/out/target/product/asanti_c/boot.img
usage: mkbootimg
--kernel <filename>
--ramdisk <filename>
[ --second <2ndbootloader-filename> ]
[ --cmdline <kernel-commandline> ]
[ --board <boardname> ]
[ --base <address> ]
[ --pagesize <pagesize> ]
[ --ramdisk_offset <address> ]
-o|--output <filename>
make: *** [/home/harry/android/out/target/product/asanti_c/boot.img] Error 1
[email protected]:~/android$
Click to expand...
Click to collapse
what is the problem
Don't know, somehow arguments to mkbootimg are not well passed.

[Q] Weird Linker Error when Compiling CM 10.2 for LG e970 (Optimus G AT&T)

OK guys, I'm at a loss. I've tried google-ing this, but I haven't found much info on it. I get this weird linker error when trying to compile CyanogenMod 10.2 for the LG Optimus G (e970 [AT&T]):
Code:
make[1]: Leaving directory `/home/greg/android/system/kernel/lge/gproj'
mdpath=`find /home/greg/android/system/out/target/product/e970/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/greg/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/greg/android/system/out/target/product/e970/system/lib/modules/; done; fi
mdpath=`find /home/greg/android/system/out/target/product/e970/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/greg/android/system/out/target/product/e970/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/greg/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/greg/android/system/out/target/product/e970/system/lib/modules/; done; fi
mdpath=`find /home/greg/android/system/out/target/product/e970/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: (/home/greg/android/system/out/target/product/e970/kernel)
host Executable: clang (/home/greg/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
/home/greg/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangSema_intermediates/libclangSema.a(SemaDeclObjC.o):(.debug_loc+0x1a677): undefined reference to `.LFE1449$'
collect2: ld returned 1 exit status
I can't figure out which library or object file I'm missing that would resolve this reference.
Any ideas on what could be causing this?
Btw, I've tried building it a couple ways: typical "brunch", and lunch / mka. Both produce the same error.
Thanks all!
Anyone???

[Help!!]Rom Building failed!!

Device tree: https://github.com/TheStrixCoder/device_oneplus_enchilada
https://github.com/TheStrixCoder/device_oneplus_sdm845-common
Vendor tree:= https://github.com/TheStrixCoder/proprietary_vendor_oneplus
Kernel Source:= https://github.com/TheStrixCoder/kernel_oneplus_sdm845
ROM Source:=https://github.com/DirtyUnicorns
Error:= https://del.dog/ozexutiziz
Its failing at 99% for some unknown reason.(i have plenty of space in /tmp and build drive).
Can anyone please give me a hint on why its failing..
TIA
Code:
----- Making recovery ramdisk ------
[ 99% 91442/91444] Package target files: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
FAILED: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
/bin/bash -c "(if [ -d /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ] && [ ! -h /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ]; then echo 'Non-symlink /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor detected!' 1>&2; echo 'You cannot install files to /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor while building a separate vendor.img!' 1>&2; exit 1; fi ) && (ln -sf /vendor /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ) && (rm -rf /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/ /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/recovery/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/install\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/install)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/install/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL; fi ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel ) && (echo \"androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/cmdline ) && (echo \"0x80000000\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/base ) && (echo \"4096\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/pagesize ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/system\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/system)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/system/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/data\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/data)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/data/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA; fi ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/android-info.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/EXECUTABLES/updater_intermediates/updater /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/apkcerts_intermediates/du_enchilada-apkcerts-eng.vicky.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/apkcerts.txt ) && (echo \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/otakeys.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blocksize=262144 \" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"boot_size=67108864\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"no_recovery=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"tool_extensions=device/oneplus/enchilada/../common\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blockimgdiff_versions=3,4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_key_path=external/avb/test/data/testkey_rsa4096.pem\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_algorithm=SHA256_RSA4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_args=--flag 2 --padding_size 4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_boot_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_recovery_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs.sh\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_size=2998927360\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"userdata_size=118112366592\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"selinux_fc=/media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_avbtool=avbtool\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_add_hashtree_footer_args=--setup_as_rootfs_from_kernel\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_as_boot=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_root_image=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt; echo \"ramdisk_dir=/media/vicky/SSD/DU/out/target/product/enchilada/root\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"system/\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/root_filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_manifest.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_matrix.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/vendor_matrix.xml ) && (PATH=/media/vicky/SSD/DU/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/media/vicky/SSD/DU/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/add_img_to_target_files -a -v -p /media/vicky/SSD/DU/out/host/linux-x86 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META | sort >/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -path /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META -prune -o -print | sort >>/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (/media/vicky/SSD/DU/out/soong/host/linux-x86/bin/soong_zip -L 0 -d -o /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip -C /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -l /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list )"
Warning: could not read VENDOR/build.prop
++++ boot ++++
building image from target_files BOOT...
running: mkbootfs -f /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel --cmdline androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug --base 0x80000000 --pagesize 4096 --os_version 9 --os_patch_level 2019-01-05 --ramdisk /tmp/tmpBURvLw --output /tmp/tmpHFwfll
running: avbtool add_hash_footer --image /tmp/tmpHFwfll --partition_size 67108864 --partition_name boot --salt 0baf6f739234cc50a1eaa7040e74d28b55ebd72a7781dbcaf3d28e590591138d
++++ system ++++
creating system.img...
Running: avbtool add_hashtree_footer --partition_size 2998927360 --calc_max_image_size --setup_as_rootfs_from_kernel
2951528448
Running: mkuserimg_mke2fs.sh -s /tmp/tmp6SWt0u /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img ext4 / 2951528448 -j 0 -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -L / -M 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -S 1fdfba2c-bfa3-5d87-994f-0a46b7071412 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Error: '['mkuserimg_mke2fs.sh', '-s', '/tmp/tmp6SWt0u', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img', 'ext4', '/', '2951528448', '-j', '0', '-T', '1230748200', '-C', '/tmp/merged_fs_configmuBkDB.txt', '-B', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map', '-L', '/', '-M', '0', '-U', '74ab2787-89b4-5f32-9f21-2c085107ac1e', '-S', '1fdfba2c-bfa3-5d87-994f-0a46b7071412', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin']' failed with exit code 4:
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Out of space? The tree size of /tmp/tmp6SWt0u is 1110921216 bytes (1059 MB), with reserved space of 0 bytes (0 MB).
The max image size for filsystem files is 2951528448 bytes (2814 MB), out of a total partition size of 2998927360 bytes (2860 MB).
Traceback (most recent call last):
File "build/make/tools/releasetools/add_img_to_target_files", line 825, in <module>
main(sys.argv[1:])
File "build/make/tools/releasetools/add_img_to_target_files", line 819, in main
AddImagesToTargetFiles(args[0])
File "build/make/tools/releasetools/add_img_to_target_files", line 728, in AddImagesToTargetFiles
output_zip, recovery_img=recovery_image, boot_img=boot_image)
File "build/make/tools/releasetools/add_img_to_target_files", line 150, in AddSystem
block_list=block_list)
File "build/make/tools/releasetools/add_img_to_target_files", line 281, in CreateImage
assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
ninja: build stopped: subcommand failed.
19:14:32 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Bidyadhar said:
Device tree: https://github.com/TheStrixCoder/device_oneplus_enchilada
https://github.com/TheStrixCoder/device_oneplus_sdm845-common
Vendor tree:= https://github.com/TheStrixCoder/proprietary_vendor_oneplus
Kernel Source:= https://github.com/TheStrixCoder/kernel_oneplus_sdm845
ROM Source:=https://github.com/DirtyUnicorns
Haste or Dogbin URL:=https://del.dog/ozexutiziz
Its failing at 99% for some unknown reason.(i have plenty of space in /tmp and build drive).
Can anyone please give me a hint on why its failing..
TIA
Code:
[ 99% 91442/91444] Package target files: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
FAILED: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
/bin/bash -c "(if [ -d /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ] && [ ! -h /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ]; then echo 'Non-symlink /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor detected!' 1>&2; echo 'You cannot install files to /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor while building a separate vendor.img!' 1>&2; exit 1; fi ) && (ln -sf /vendor /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ) && (rm -rf /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/ /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/recovery/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/install\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/install)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/install/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL; fi ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel ) && (echo \"androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/cmdline ) && (echo \"0x80000000\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/base ) && (echo \"4096\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/pagesize ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/system\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/system)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/system/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/data\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/data)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/data/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA; fi ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/android-info.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/EXECUTABLES/updater_intermediates/updater /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/apkcerts_intermediates/du_enchilada-apkcerts-eng.vicky.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/apkcerts.txt ) && (echo \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/otakeys.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blocksize=262144 \" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"boot_size=67108864\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"no_recovery=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"tool_extensions=device/oneplus/enchilada/../common\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blockimgdiff_versions=3,4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_key_path=external/avb/test/data/testkey_rsa4096.pem\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_algorithm=SHA256_RSA4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_args=--flag 2 --padding_size 4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_boot_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_recovery_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs.sh\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_size=2998927360\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"userdata_size=118112366592\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"selinux_fc=/media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_avbtool=avbtool\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_add_hashtree_footer_args=--setup_as_rootfs_from_kernel\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_as_boot=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_root_image=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt; echo \"ramdisk_dir=/media/vicky/SSD/DU/out/target/product/enchilada/root\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"system/\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/root_filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_manifest.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_matrix.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/vendor_matrix.xml ) && (PATH=/media/vicky/SSD/DU/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/media/vicky/SSD/DU/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/add_img_to_target_files -a -v -p /media/vicky/SSD/DU/out/host/linux-x86 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META | sort >/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -path /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META -prune -o -print | sort >>/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (/media/vicky/SSD/DU/out/soong/host/linux-x86/bin/soong_zip -L 0 -d -o /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip -C /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -l /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list )"
Warning: could not read VENDOR/build.prop
++++ boot ++++
building image from target_files BOOT...
running: mkbootfs -f /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel --cmdline androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug --base 0x80000000 --pagesize 4096 --os_version 9 --os_patch_level 2019-01-05 --ramdisk /tmp/tmpBURvLw --output /tmp/tmpHFwfll
running: avbtool add_hash_footer --image /tmp/tmpHFwfll --partition_size 67108864 --partition_name boot --salt 0baf6f739234cc50a1eaa7040e74d28b55ebd72a7781dbcaf3d28e590591138d
++++ system ++++
creating system.img...
Running: avbtool add_hashtree_footer --partition_size 2998927360 --calc_max_image_size --setup_as_rootfs_from_kernel
2951528448
Running: mkuserimg_mke2fs.sh -s /tmp/tmp6SWt0u /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img ext4 / 2951528448 -j 0 -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -L / -M 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -S 1fdfba2c-bfa3-5d87-994f-0a46b7071412 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Error: '['mkuserimg_mke2fs.sh', '-s', '/tmp/tmp6SWt0u', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img', 'ext4', '/', '2951528448', '-j', '0', '-T', '1230748200', '-C', '/tmp/merged_fs_configmuBkDB.txt', '-B', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map', '-L', '/', '-M', '0', '-U', '74ab2787-89b4-5f32-9f21-2c085107ac1e', '-S', '1fdfba2c-bfa3-5d87-994f-0a46b7071412', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin']' failed with exit code 4:
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Out of space? The tree size of /tmp/tmp6SWt0u is 1110921216 bytes (1059 MB), with reserved space of 0 bytes (0 MB).
The max image size for filsystem files is 2951528448 bytes (2814 MB), out of a total partition size of 2998927360 bytes (2860 MB).
Traceback (most recent call last):
File "build/make/tools/releasetools/add_img_to_target_files", line 825, in <module>
main(sys.argv[1:])
File "build/make/tools/releasetools/add_img_to_target_files", line 819, in main
AddImagesToTargetFiles(args[0])
File "build/make/tools/releasetools/add_img_to_target_files", line 728, in AddImagesToTargetFiles
output_zip, recovery_img=recovery_image, boot_img=boot_image)
File "build/make/tools/releasetools/add_img_to_target_files", line 150, in AddSystem
block_list=block_list)
File "build/make/tools/releasetools/add_img_to_target_files", line 281, in CreateImage
assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
ninja: build stopped: subcommand failed.
19:14:32 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Click to expand...
Click to collapse
What program are you building with
PoochyXXX
PoochyX said:
What program are you building with
PoochyXXX
Click to expand...
Click to collapse
Sorry i didnt get your question
Edit-I am building it on Ubuntu 18.04
Hi Brother,
Could you tell me how you fixed this build error ?
In fact, I have a same problem as yours.
Same error bro..how did you fix this error?
Dhina_17 said:
Same error bro..how did you fix this error?
Click to expand...
Click to collapse
Did you get fix for the above error? I am also facing same error with Lineage OS.
Naveen56 said:
Did you get fix for the above error? I am also facing same error with Lineage OS.
Click to expand...
Click to collapse
Yes sepolicy thing
Dhina_17 said:
Yes sepolicy thing
Click to expand...
Click to collapse
I had to remove this flag from BoardConfig for successful build.
Code:
BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist
Has anyone been able to fix this error?

[HELP] Custom Rom build fail due to missing framework xml intermediates files

Hi,
Please help me:crying:. I am building Resurrection Remix rom for the device Samsung Galaxy Grand(i9082). After many error correction I have reached this error which I am not able to correct .
Error:
[email protected]:~/RR# brunch i9082
including vendor/rr/vendorsetup.sh
Looking for dependencies
Dependency already present in manifest: Osas514/android_kernel_samsung_i9082 => kernel/samsung/i9082
Dependency already present in manifest: ghsr/proprietary_vendor_samsung_i9082 => vendor/samsung/i9082
Dependency already present in manifest: LineageOS/android_external_stlport => external/stlport
Dependency already present in manifest: LineageOS/android_hardware_samsung => hardware/samsung
Dependency already present in manifest: LineageOS/android_packages_apps_SamsungServiceMode => packages/apps/SamsungServiceMode
Dependency already present in manifest: LineageOS/android_packages_resources_devicesettings => packages/resources/devicesettings
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=rr_i9082
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-43-generic-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.190105.004
OUT_DIR=/home/sndev28/RR/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=rr_i9082
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-43-generic-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.190105.004
OUT_DIR=/home/sndev28/RR/out
============================================
ninja: no work to do.
ninja: no work to do.
Environment variable BUILD_NUMBER was modified (5e05109b63 => b0e9799ec0), regenerating...
Environment variable BUILD_NUMBER was modified (5e05109b63 => b0e9799ec0), regenerating...
[265/1023] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[613/1023] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[1023/1023] including vendor/rr/themes/Fonts/Android.mk ...
vendor/rr/build/tasks/kernel.mk:106: warning: ***************************************************************
vendor/rr/build/tasks/kernel.mk:107: warning: * Using prebuilt kernel binary instead of source *
vendor/rr/build/tasks/kernel.mk:108: warning: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/rr/build/tasks/kernel.mk:109: warning: * Please configure your device to download the kernel *
vendor/rr/build/tasks/kernel.mk:110: warning: * source repository to
vendor/rr/build/tasks/kernel.mk:111: warning: * for more information *
vendor/rr/build/tasks/kernel.mk:112: warning: ***************************************************************
build/make/core/Makefile:28: warning: overriding commands for target `/home/sndev28/RR/out/target/product/i9082/system/bin/atrace'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sndev28/RR/out/target/product/i9082/system/bin/atrace'
build/make/core/Makefile:28: warning: overriding commands for target `/home/sndev28/RR/out/target/product/i9082/system/etc/permissions/android.software.live_wallpaper.xml'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sndev28/RR/out/target/product/i9082/system/etc/permissions/android.software.live_wallpaper.xml'
vendor/rr/build/tasks/kernel.mk:288: warning: overriding commands for target `/home/sndev28/RR/out/target/product/i9082/kernel'
build/make/core/Makefile:28: warning: ignoring old commands for target `/home/sndev28/RR/out/target/product/i9082/kernel'
[ 97% 96/98] Package target files: /ho...s/rr_i9082-target_files-b0e9799ec0.zip
FAILED: /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip
/bin/bash -c "(rm -rf /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/ /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/recovery/root" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/recovery/root)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/recovery/root/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/RAMDISK; fi ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/install" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/install)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/install/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/INSTALL; fi ) && (cp /home/sndev28/RR/out/target/product/i9082/kernel /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/kernel ) && (echo "console=ttyS0,115200n8 [email protected] androidboot.console=ttyS0 vc-cma-mem=0/[email protected] --dt dt.img buildvariant=userdebug" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/cmdline ) && (echo "0xa2000000" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/base ) && (echo "4096" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/pagesize ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/root" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/root)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/root/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/RAMDISK; fi ) && (cp /home/sndev28/RR/out/target/product/i9082/kernel /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/kernel ) && (echo "console=ttyS0,115200n8 [email protected] androidboot.console=ttyS0 vc-cma-mem=0/[email protected] --dt dt.img buildvariant=userdebug" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/cmdline ) && (echo "0xa2000000" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/base ) && (echo "4096" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/pagesize ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/system" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/system)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/system/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/SYSTEM; fi ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/data" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/data)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/data/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/DATA; fi ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA ) && (cp /home/sndev28/RR/out/target/product/i9082/android-info.txt /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA/ ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA/bin ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/EXECUTABLES/updater_intermediates/updater /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA/bin/ ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/apkcerts_intermediates/rr_i9082-apkcerts-b0e9799ec0.txt /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/apkcerts.txt ) && (echo "" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/otakeys.txt ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/file_contexts.bin ) && (echo "recovery_api_version=3" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "fstab_version=2" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "blocksize=131072" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "boot_size=8388608" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "recovery_size=8388608" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "tool_extensions=device/samsung/i9082/../common" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "default_system_dev_certificate=build/target/product/security/testkey" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "use_set_metadata=1" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "multistage_support=1" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "blockimgdiff_versions=3,4" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "no_gzip_recovery_ramdisk=true" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "ext_mkuserimg=mkuserimg_mke2fs.sh" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "fs_type=ext4" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "system_size=1099956224" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "system_journal_size=0" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "userdata_size=4404019200" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "cache_size=1073741824" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "extfs_sparse_flag=-s" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "squashfs_sparse_flag=-s" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "selinux_fc=/home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (PATH=/home/sndev28/RR/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/sndev28/RR/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/make_recovery_patch /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (echo "ota_override_device=auto" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && ((cd /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /home/sndev28/RR/out/host/linux-x86/bin/fs_config -C -D /home/sndev28/RR/out/target/product/i9082/system -S /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R "system/" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/filesystem_config.txt ) && ((cd /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /home/sndev28/RR/out/host/linux-x86/bin/fs_config -C -D /home/sndev28/RR/out/target/product/i9082/system -S /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R "" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/boot_filesystem_config.txt ) && ((cd /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /home/sndev28/RR/out/host/linux-x86/bin/fs_config -C -D /home/sndev28/RR/out/target/product/i9082/system -S /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R "" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/recovery_filesystem_config.txt ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/system_manifest.xml ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/system_matrix.xml ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/vendor_matrix.xml ) && (PATH=/home/sndev28/RR/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/sndev28/RR/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/add_img_to_target_files -a -v -p /home/sndev28/RR/out/host/linux-x86 /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (find /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META | sort >/home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list ) && (find /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 -path /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META -prune -o -print | sort >>/home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list ) && (/home/sndev28/RR/out/soong/host/linux-x86/bin/soong_zip -d -o /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip -C /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 -l /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list )"
ls: cannot access '/home/sndev28/RR/out/target/product/i9082/install': No such file or directory
Warning: could not read VENDOR/build.prop
building image from target_files RECOVERY...
building image from target_files BOOT...
putting script in bin/install-recovery.sh
cp: cannot stat '/home/sndev28/RR/out/target/product/i9082/obj/ETC/framework_manifest.xml_intermediates/manifest.xml': No such file or directory
ninja: build stopped: subcommand failed.
18:20:59 ninja failed with: exit status 1
#### failed to build some targets (07:33 (mm:ss)) ####
ROM = Resurrection Remix
Version = Pie
Device = Samsung Galaxy Grand i9082
Device Tree = https://github.com/Osas514/android_device_samsung_i9082/tree/lineage15.1
Kernel Tree = https://github.com/Osas514/android_kernel_samsung_i9082/tree/android-7.1
Vendor Tree = https://github.com/ghsr/proprietary_vendor_samsung_i9082/tree/android-7.1
Please tell me if you want more information.
And please guide me on how to solve this problem.
With Regards
Well...never mind...I fixed it on my own!!

Categories

Resources