[Android] SlimShady's:
Can someone help me here?

I'm trying to building AOSP 7.0 for my device. I reached the end but this happens:

++++ boot ++++

building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-OHjKX4/META/boot_filesystem_config.txt /tmp/targetfiles-OHjKX4/BOOT/RAMDISK
running: minigzip
running: /home/slimshadys/AOSP7/out/host/linux-x86/bin/mkbootimg --kernel /tmp/targetfiles-OHjKX4/BOOT/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 msm_rtb.filter=0x37 androidboot.hardware=qcom androidboot.selinux=permissive --base 0x00000000 --pagesize 2048 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --os_version 7.0 --os_patch_level 2016-08-05 --ramdisk /tmp/tmpmDwK8X --output /tmp/tmpuh2bQ0

++++ recovery ++++

building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-OHjKX4/META/recovery_filesystem_config.txt /tmp/targetfiles-OHjKX4/RECOVERY/RAMDISK
running: minigzip
running: /home/slimshadys/AOSP7/out/host/linux-x86/bin/mkbootimg --kernel /tmp/targetfiles-OHjKX4/RECOVERY/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 msm_rtb.filter=0x37 androidboot.hardware=qcom androidboot.selinux=permissive --base 0x00000000 --pagesize 2048 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --os_version 7.0 --os_patch_level 2016-08-05 --ramdisk /tmp/tmpH0MlYI --output /tmp/tmp0iK3Bl

++++ system ++++

creating system.img...
Running: mkuserimg.sh -s /tmp/targetfiles-OHjKX4/system /tmp/system-tolTmk.img ext4 system 1950000000 -T 1230796800 -C /tmp/targetfiles-OHjKX4/META/filesystem_config.txt -B /tmp/system-blocklist-3Vut1I.map -L system /tmp/targetfiles-OHjKX4/META/file_contexts.bin
make_ext4fs -s -T 1230796800 -S /tmp/targetfiles-OHjKX4/META/file_contexts.bin -C /tmp/targetfiles-OHjKX4/META/filesystem_config.txt -B /tmp/system-blocklist-3Vut1I.map -L system -l 1950000000 -a system /tmp/system-tolTmk.img /tmp/targetfiles-OHjKX4/system
loaded 2183 fs_config entries
Creating filesystem with parameters:
Size: 1949999104
Block size: 4096
Blocks per group: 32768
Inodes per group: 7936
Inode size: 256
Journal blocks: 7438
Label: system
Blocks: 476074
Block groups: 15
Reserved block group size: 119
Created filesystem with 2193/119040 inodes and 170451/476074 blocks
Running: simg2img /tmp/system-tolTmk.img /tmp/unsparse_system-tolTmk.img

Running: e2fsck -f -n /tmp/unsparse_system-tolTmk.img
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
system: 2193/119040 files (0.0% non-contiguous), 170451/476074 blocks

++++ userdata ++++

++++ cache ++++

creating cache.img...
Running: mkf2fsuserimg.sh /tmp/tmpZCuaHG 884000000
in mkf2fsuserimg.sh PATH=/home/slimshadys/AOSP7/out/host/linux-x86/bin:/home/slimshadys/AOSP7/out/host/linux-x86/bin/:/usr/lib/jvm/java-8-openjdk-amd64/bin:/home/slimshadys/AOSP7/out/host/linux-x86/bin:/home/slimshadys/AOSP7/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/slimshadys/AOSP7/prebuilts/gcc/linux-x86/:/home/slimshadys/AOSP7/development/scripts:/home/slimshadys/AOSP7/prebuilts/devtools/tools:/home/slimshadys/AOSP7/external/selinux/prebuilts/bin:/home/slimshadys/AOSP7/prebuilts/android-emulator/linux-x86_64:/home/slimshadys/bin:/home/slimshadys/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
make_f2fs -l 884000000 /tmp/tmpZCuaHG
Info: zone aligned segment0 blkaddr: 512
Info: format version with
""
cache size (14) is 0.00% of limit (884000000)
done.
[100% 1696/1696] Package OTA: /home/slimshadys/AOSP7/out/target/product/w7/aosp_w7-ota-eng.slimshadys.zip
FAILED: /bin/bash -c "PATH=/home/slimshadys/AOSP7/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/slimshadys/AOSP7/out/host/linux-x86/bin/mkbootimg	./build/tools/releasetools/ota_from_target_files -v	--block	-p /home/slimshadys/AOSP7/out/host/linux-x86	-k build/target/product/security/testkey	/home/slimshadys/AOSP7/out/target/product/w7/obj/PACKAGING/target_files_intermediates/aosp_w7-target_files-eng.slimshadys.zip /home/slimshadys/AOSP7/out/target/product/w7/aosp_w7-ota-eng.slimshadys.zip"
unzipping target target-files...
running: unzip -o -q /home/slimshadys/AOSP7/out/target/product/w7/obj/PACKAGING/target_files_intermediates/aosp_w7-target_files-eng.slimshadys.zip -d /tmp/targetfiles-rj7CCC
--- target info ---
blockimgdiff_versions = (str) 1,2,3,4
blocksize = (int) 131072
boot_size = (int) 16777216
build.prop = (dict) {'debug.qualcomm.sns.daemon': 'e', 'dalvik.vm.isa.arm.variant': 'cortex-a7', 'ro.product.cpu.abilist': 'armeabi-v7a,armeabi', 'ro.build.product': 'w7', 'wifi.supplicant_scan_interval': '15', 'ro.build.id': 'NRD90M', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'ro.qualcomm.sensors.scrn_ortn': 'true', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'ro.qc.sdk.audio.fluencetype': 'endfire', 'tunnel.audio.encode': 'true', 'persist.radio.proc_nw_scan': '0', 'persist.timed.enable': 'true', 'dalvik.vm.heapmaxfree': '2m', 'ro.build.fingerprint': 'lge/aosp_w7/w7:7.0/NRD90M/slimsh08260734:userdebug/test-keys', 'ro.product.manufacturer': 'lge LGE', 'audio.offload.pcm.24bit.enable': 'true', 'av.streaming.offload.enable': 'true', 'ro.build.description': 'aosp_w7-userdebug 7.0 NRD90M eng.slimsh.20160826.073441 test-keys', 'dalvik.vm.heapstartsize': '5m', 'ro.product.brand': 'lge', 'wifi.interface': 'wlan0', 'dalvik.vm.dex2oat-flags': '--no-watch-dog', 'ro.product.model': 'w7 w7', 'dalvik.vm.heapsize': '128m', 'persist.audio.fluence.voicecall': 'true', 'dalvik.vm.heaptargetutilization': '0.75', 'audio.offload.multiple.enabled': 'false', 'ro.build.host': 'ubuntu', 'ro.com.android.dataroaming': 'true', 'ro.build.version.security_patch': '2016-08-05', 'ro.qc.sensors.step_detector': 'true', 'ro.product.locale': 'en-US', 'ro.qc.sensors.step_counter': 'true', 'dalvik.vm.heapminfree': '512k', 'ro.board.platform': 'msm8226', 'ro.telephony.call_ring.multiple': '0', 'ro.product.cpu.abilist64': '', 'ro.expect.recovery_id': '0xea645881f8b8283feecec3ef564d448f1651e7b0000000000000000000000000', 'ro.vendor.extension_library': 'libqti-perfd-client.so', 'ro.build.flavor': 'aosp_w7-userdebug', 'dalvik.vm.isa.arm.features': 'default', 'rild.libargs': '-d[SPACE]/dev/smd0', 'debug.qualcomm.sns.hal': '0', 'ro.gps.agps_provider': '1', 'ro.qualcomm.sensors.pedometer': 'false', 'ro.qualcomm.sensors.qmd': 'false', 'ro.build.version.codename': 'REL', 'ro.qualcomm.sensors.game_rv': 'false', 'net.bt.name': 'Android', 'debug.qualcomm.sns.libsensor1': 'e', 'persist.data.netmgrd.qos.enable': 'true', 'ro.qualcomm.perf.cores_online': '2', 'ro.opengles.version': '196608', 'use.voice.path.for.pcm.voip': 'true', 'ro.build.display.id': 'aosp_w7-userdebug 7.0 NRD90M eng.slimsh.20160826.073441 test-keys', 'audio.offload.pcm.16bit.enable': 'true', 'ro.config.ringtone': 'Ring_Synth_04.ogg', 'ro.qc.sensors.max_grav_no_gyro': '50', 'persist.gps.qc_nlp_in_use': '0', 'ro.qc.sdk.sensors.gestures': 'true', 'ro.qc.sensors.max_geomag_rotvec': '50', 'ro.carrier': 'unknown', 'ro.product.board': 'w7', 'ro.build.version.preview_sdk': '0', 'ro.qualcomm.sensors.georv': 'true', 'ro.build.date': 'Fri Aug 26 07:34:41 PDT 2016', 'ro.use_data_netmgrd': 'true', 'ro.build.date.utc': '1472222081', 'audio.offload.buffer.size.kb': '32', 'keyguard.no_require_sim': 'true', 'av.offload.enable': 'true', 'ro.qc.sensors.smgr_mag_cal_en': 'false', 'ro.build.version.all_codenames': 'REL', 'mm.enable.smoothstreaming': 'true', 'sys.io.scheduler': 'bfq', 'dalvik.vm.lockprof.threshold': '500', 'ro.build.version.release': '7.0', 'persist.sys.dalvik.vm.lib.2': 'libart.so', 'ro.product.cpu.abi': 'armeabi-v7a', 'ro.product.name': 'aosp_w7', 'ro.build.version.base_os': '', 'persist.data.qmi.adb_logmask': '0', 'rild.libpath': '/vendor/lib/libril-qc-qmi-1.so', 'ro.telephony.default_network': '3', 'ro.wifi.channels': '', 'telephony.lteOnGsmDevice': '0', 'ro.data.large_tcp_window_size': 'true', 'ro.build.characteristics': 'default', 'ro.qualcomm.sensors.pam': 'true', 'ro.build.type': 'userdebug', 'persist.hwc.mdpcomp.enable': 'true', 'ro.build.version.incremental': 'eng.slimsh.20160826.073441', 'ro.config.alarm_alert': 'Alarm_Classic.ogg', 'ro.build.tags': 'test-keys', 'ro.sf.lcd_density': '240', 'ro.build.version.sdk': '24', 'ro.product.cpu.abi2': 'armeabi', 'ro.build.user': 'slimshadys', 'ro.qualcomm.bt.hci_transport': 'smd', 'ro.product.device': 'w7', 'persist.audio.calfile2': '/etc/acdbdata/Global_cal.acdb', 'persist.audio.calfile3': '/etc/acdbdata/Handset_cal.acdb', 'persist.audio.calfile0': '/etc/acdbdata/Bluetooth_cal.acdb', 'persist.audio.calfile1': '/etc/acdbdata/General_cal.acdb', 'persist.audio.calfile6': '/etc/acdbdata/Speaker_cal.acdb', 'persist.audio.calfile4': '/etc/acdbdata/Hdmi_cal.acdb', 'persist.audio.calfile5': '/etc/acdbdata/Headset_cal.acdb', 'audio.offload.gapless.enabled': 'true', 'ro.qualcomm.sensors.smd': 'true', 'dalvik.vm.heapgrowthlimit': '48m', 'ro.config.notification_sound': 'pixiedust.ogg', 'media.aac_51_output_enabled': 'true'}
cache_fs_type = (str) ext4
cache_size = (int) 884000000
default_system_dev_certificate = (str) build/target/product/security/testkey
extfs_sparse_flag = (str) -s
fs_type = (str) ext4
fstab = (dict) {'/mpt': <common.Partition object at 0x2ae90972b810>, '/sns': <common.Partition object at 0x2ae90972b850>, '/cache': <common.Partition object at 0x2ae90972b650>, '/data': <common.Partition object at 0x2ae90972b590>, '/system': <common.Partition object at 0x2ae90972b510>, '/persist': <common.Partition object at 0x2ae90972b550>, '/recovery': <common.Partition object at 0x2ae90972b8d0>, '/none': <common.Partition object at 0x2ae90972b990>, '/firmware': <common.Partition object at 0x2ae90972b5d0>, '/persist-lg': <common.Partition object at 0x2ae90972b610>, '/boot': <common.Partition object at 0x2ae90972b890>, '/misc': <common.Partition object at 0x2ae90972b910>}
fstab_version = (int) 2
mkbootimg_args = (str) --ramdisk_offset 0x01000000 --tags_offset 0x00000100
mkbootimg_version_args = (str) --os_version 7.0 --os_patch_level 2016-08-05
multistage_support = (str) 1
recovery_api_version = (int) 3
recovery_as_boot = (str)
recovery_mount_options = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc
recovery_size = (int) 16777216
selinux_fc = (str) /tmp/targetfiles-rj7CCC/BOOT/RAMDISK/file_contexts
squashfs_sparse_flag = (str) -s
system_size = (int) 1950000000
tool_extensions = (str) device/lge/w7
update_rename_support = (str) 1
use_set_metadata = (str) 1
(using device-specific extensions from target_files)
loaded device-specific extensions from /tmp/targetfiles-rj7CCC/META/releasetools.py
using prebuilt recovery.img from IMAGES...
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1668, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1623, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 592, in WriteFullOTAPackage
WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 687, in WritePolicyConfig
common.ZipWrite(output_zip, file_name, os.path.basename(file_name))
File "/home/slimshadys/AOSP7/build/tools/releasetools/common.py", line 1034, in ZipWrite
saved_stat = os.stat(filename)
OSError: [Errno 2] No such file or directory: '/tmp/targetfiles-rj7CCC/BOOT/RAMDISK/file_contexts'
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
slimshadys@ubuntu:~/AOSP7$

Thank you so much :)