[Android] YJ_Shivom007:
Compilation failed at 99% please help

[ 6% 91/1369] Target boot image: /home/yashpaljoshi76/los14/out/target/product/y5/boot.img
/home/yashpaljoshi76/los14/out/target/product/y5/boot.img maxsize=17128320 blocksize=4224 total=9410560 reserve=173184
[ 6% 92/1369] host Java: dx (/home/yashpaljoshi76/los14/out/host/common/obj/JAVA_LIBRARIES/dx_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 14% 195/1369] ----- Making recovery ramdisk ------
Copying baseline ramdisk...
Modifying ramdisk contents...
----- Making uncompressed recovery ramdisk ------
[ 14% 204/1369] Docs droiddoc: /home/yashpaljoshi76/los14/out/target/common/docs/apache-http-stubs-gen
external/apache-http/../../frameworks/base/core/java/android/net/http/SslCertificate.java:19: error: cannot find symbol
import com.android.internal.util.HexDump;
^
symbol: class HexDump
location: package com.android.internal.util
external/apache-http/../../frameworks/base/core/java/android/net/http/SslCertificate.java:42: error: package com.android.org.bouncycastle.asn1.x509 does not exist
import com.android.org.bouncycastle.asn1.x509.X509Name;
^
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:19: error: package com.android.okhttp does not exist
import com.android.okhttp.Cache;
^
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:20: error: package com.android.okhttp does not exist
import com.android.okhttp.AndroidShimResponseCache;
^
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:21: error: package com.android.okhttp does not exist
import com.android.okhttp.OkCacheContainer;
^
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:152: error: cannot find symbol
public final class HttpResponseCache extends ResponseCache implements Closeable, OkCacheContainer {
^
symbol: class OkCacheContainer
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:154: error: cannot find symbol
private final AndroidShimResponseCache delegate;
^
symbol: class AndroidShimResponseCache
location: class HttpResponseCache
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:156: error: cannot find symbol
private HttpResponseCache(AndroidShimResponseCache delegate) {
^
symbol: class AndroidShimResponseCache
location: class HttpResponseCache
external/apache-http/../../frameworks/base/core/java/android/net/http/HttpResponseCache.java:296: error: cannot find symbol
public Cache getCache() {
^
symbol: class Cache
location: class HttpResponseCache
Canvas.java:0: warning 113: Method android.graphics.Canvas.clipRegion: @Deprecated annotation and @deprecated doc tag do not match
Canvas.java:0: warning 113: Method android.graphics.Canvas.drawBitmap: @Deprecated annotation and @deprecated doc tag do not match
Canvas.java:0: warning 113: Method android.graphics.Canvas.drawPosText: @Deprecated annotation and @deprecated doc tag do not match
Canvas.java:0: warning 113: Method android.graphics.Canvas.getMatrix: @Deprecated annotation and @deprecated doc tag do not match
Character.java:0: warning 113: Method java.lang.Character.isJavaLetter: @Deprecated annotation and @deprecated doc tag do not match
Character.java:0: warning 113: Method java.lang.Character.isJavaLetterOrDigit: @Deprecated annotation and @deprecated doc tag do not match
Character.java:0: warning 113: Method java.lang.Character.isSpace: @Deprecated annotation and @deprecated doc tag do not match
ClassLoader.java:0: warning 113: Method java.lang.ClassLoader.defineClass: @Deprecated annotation and @deprecated doc tag do not match
ContentObserver.java:0: warning 113: Method android.database.ContentObserver.dispatchChange: @Deprecated annotation and @deprecated doc tag do not match
ContentResolver.java:0: warning 113: Method android.content.ContentResolver.cancelSync: @Deprecated annotation and @deprecated doc tag do not match
ContentResolver.java:0: warning 113: Method android.content.ContentResolver.getCurrentSync: @Deprecated annotation and @deprecated doc tag do not match
ContentResolver.java:0: warning 113: Method android.content.ContentResolver.startSync: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.clearWallpaper: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.getWallpaper: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.getWallpaperDesiredMinimumHeight: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.getWallpaperDesiredMinimumWidth: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.peekWallpaper: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.removeStickyBroadcast: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.removeStickyBroadcastAsUser: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.sendStickyBroadcast: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.sendStickyBroadcastAsUser: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.sendStickyOrderedBroadcast: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.sendStickyOrderedBroadcastAsUser: @Deprecated annotation and @deprecated doc tag do not match
Context.java:0: warning 113: Method android.content.Context.setWallpaper: @Deprecated annotation and @deprecated doc tag do not match
Cursor.java:0: warning 113: Method android.database.Cursor.deactivate: @Deprecated annotation and @deprecated doc tag do not match
Cursor.java:0: warning 113: Method android.database.Cursor.requery: @Deprecated annotation and @deprecated doc tag do not match
DatagramSocketImpl.java:0: warning 113: Method java.net.DatagramSocketImpl.getTTL: @Deprecated annotation and @deprecated doc tag do not match
DatagramSocketImpl.java:0: warning 113: Method java.net.DatagramSocketImpl.setTTL: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.UTC: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getDate: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getDay: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getHours: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getMinutes: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getMonth: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getSeconds: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getTimezoneOffset: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.getYear: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.parse: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.setDate: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.setHours: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.setMinutes: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.setMonth: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.setSeconds: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.setYear: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.toGMTString: @Deprecated annotation and @deprecated doc tag do not match
Date.java:0: warning 113: Method java.util.Date.toLocaleString: @Deprecated annotation and @deprecated doc tag do not match
Display.java:0: warning 113: Method android.view.Display.getHeight: @Deprecated annotation and @deprecated doc tag do not match
Display.java:0: warning 113: Method android.view.Display.getOrientation: @Deprecated annotation and @deprecated doc tag do not match
Display.java:0: warning 113: Method android.view.Display.getPixelFormat: @Deprecated annotation and @deprecated doc tag do not match
Display.java:0: warning 113: Method android.view.Display.getWidth: @Deprecated annotation and @deprecated doc tag do not match
File.java:0: warning 113: Method java.io.File.toURL: @Deprecated annotation and @deprecated doc tag do not match
Intent.java:0: warning 113: Method android.content.Intent.getIntent: @Deprecated annotation and @deprecated doc tag do not match
Intent.java:0: warning 113: Method android.content.Intent.toURI: @Deprecated annotation and @deprecated doc tag do not match
IntentSender.java:0: warning 113: Method android.content.IntentSender.getTargetPackage: @Deprecated annotation and @deprecated doc tag do not match
PackageManager.java:0: warning 113: Method android.content.pm.PackageManager.addPackageToPreferred: @Deprecated annotation and @deprecated doc tag do not match
PackageManager.java:0: warning 113: Method android.content.pm.PackageManager.addPreferredActivity: @Deprecated annotation and @deprecated doc tag do not match
PackageManager.java:0: warning 113: Method android.content.pm.PackageManager.removePackageFromPreferred: @Deprecated annotation and @deprecated doc tag do not match
Paint.java:0: warning 113: Method android.graphics.Paint.getRasterizer: @Deprecated annotation and @deprecated doc tag do not match
Paint.java:0: warning 113: Method android.graphics.Paint.setRasterizer: @Deprecated annotation and @deprecated doc tag do not match
Picture.java:0: warning 113: Method android.graphics.Picture.createFromStream: @Deprecated annotation and @deprecated doc tag do not match
Picture.java:0: warning 113: Method android.graphics.Picture.writeToStream: @Deprecated annotation and @deprecated doc tag do not match
Properties.java:0: warning 113: Method java.util.Properties.save: @Deprecated annotation and @deprecated doc tag do not match
SQLiteClosable.java:0: warning 113: Method android.database.sqlite.SQLiteClosable.onAllReferencesReleasedFromContainer: @Deprecated annotation and @deprecated doc tag do not match
SQLiteClosable.java:0: warning 113: Method android.database.sqlite.SQLiteClosable.releaseReferenceFromContainer: @Deprecated annotation and @deprecated doc tag do not match
SQLiteDatabase.java:0: warning 113: Method android.database.sqlite.SQLiteDatabase.getSyncedTables: @Deprecated annotation and @deprecated doc tag do not match
SQLiteDatabase.java:0: warning 113: Method android.database.sqlite.SQLiteDatabase.isDbLockedByOtherThreads: @Deprecated annotation and @deprecated doc tag do not match
SQLiteDatabase.java:0: warning 113: Method android.database.sqlite.SQLiteDatabase.markTableSyncable: @Deprecated annotation and @deprecated doc tag do not match
SQLiteDatabase.java:0: warning 113: Method android.database.sqlite.SQLiteDatabase.setLockingEnabled: @Deprecated annotation and @deprecated doc tag do not match
SQLiteDatabase.java:0: warning 113: Method android.database.sqlite.SQLiteDatabase.yieldIfContended: @Deprecated annotation and @deprecated doc tag do not match
SQLiteProgram.java:0: warning 113: Method android.database.sqlite.SQLiteProgram.getUniqueId: @Deprecated annotation and @deprecated doc tag do not match
String.java:0: warning 113: Method java.lang.String.getBytes: @Deprecated annotation and @deprecated doc tag do not match
Thread.java:0: warning 113: Method java.lang.Thread.countStackFrames: @Deprecated annotation and @deprecated doc tag do not match
Thread.java:0: warning 113: Method java.lang.Thread.destroy: @Deprecated annotation and @deprecated doc tag do not match
Thread.java:0: warning 113: Method java.lang.Thread.resume: @Deprecated annotation and @deprecated doc tag do not match
Thread.java:0: warning 113: Method java.lang.Thread.stop: @Deprecated annotation and @deprecated doc tag do not match
Thread.java:0: warning 113: Method java.lang.Thread.suspend: @Deprecated annotation and @deprecated doc tag do not match
ThreadGroup.java:0: warning 113: Method java.lang.ThreadGroup.allowThreadSuspension: @Deprecated annotation and @deprecated doc tag do not match
ThreadGroup.java:0: warning 113: Method java.lang.ThreadGroup.resume: @Deprecated annotation and @deprecated doc tag do not match
ThreadGroup.java:0: warning 113: Method java.lang.ThreadGroup.stop: @Deprecated annotation and @deprecated doc tag do not match
ThreadGroup.java:0: warning 113: Method java.lang.ThreadGroup.suspend: @Deprecated annotation and @deprecated doc tag do not match
URLConnection.java:0: warning 113: Method java.net.URLConnection.getDefaultRequestProperty: @Deprecated annotation and @deprecated doc tag do not match
URLConnection.java:0: warning 113: Method java.net.URLConnection.setDefaultRequestProperty: @Deprecated annotation and @deprecated doc tag do not match
URLStreamHandler.java:0: warning 113: Method java.net.URLStreamHandler.setURL: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/android/src/com/android/internal/http/multipart/Part.java:61: warning 113: Field com.android.internal.http.multipart.Part.BOUNDARY: @Deprecated annotation and @deprecated comment do not match
external/apache-http/android/src/com/android/internal/http/multipart/Part.java:67: warning 113: Field com.android.internal.http.multipart.Part.BOUNDARY_BYTES: @Deprecated annotation and @deprecated comment do not match
external/apache-http/android/src/com/android/internal/http/multipart/Part.java:128: warning 113: Method com.android.internal.http.multipart.Part.getBoundary: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/codec/language/Soundex.java:194: warning 113: Method org.apache.commons.codec.language.Soundex.getMaxLength: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/codec/language/Soundex.java:231: warning 113: Method org.apache.commons.codec.language.Soundex.setMaxLength: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/codec/net/URLCodec.java:356: warning 113: Method org.apache.commons.codec.net.URLCodec.getEncoding: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/logging/impl/LogFactoryImpl.java:513: warning 113: Method org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/logging/impl/LogFactoryImpl.java:538: warning 113: Method org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/logging/impl/LogFactoryImpl.java:556: warning 113: Method org.apache.commons.logging.impl.LogFactoryImpl.isJdk13LumberjackAvailable: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/logging/impl/LogFactoryImpl.java:572: warning 113: Method org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available: @Deprecated annotation and @deprecated doc tag do not match
external/apache-http/src/org/apache/commons/logging/impl/LogFactoryImpl.java:585: warning 113: Method org.apache.commons.logging.impl.LogFactoryImpl.isLog4JAvailable: @Deprecated annotation and @deprecated doc tag do not match
DroidDoc took 2 sec. to write docs to /home/yashpaljoshi76/los14/out/target/common/docs/apache-http-stubs-gen
9 warnings
[ 15% 206/1369] Target cache fs image: /home/yashpaljoshi76/los14/out/target/product/y5/cache.img
FAILED: /bin/bash -c "(mkdir -p /home/yashpaljoshi76/los14/out/target/product/y5/cache ) && (mkdir -p /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates && rm -rf /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"fs_type=f2fs\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"system_size=2558525440\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"userdata_size=12353781760\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"cache_fs_type=ext4\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"cache_size=419430400\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"selinux_fc=/home/yashpaljoshi76/los14/out/target/product/y5/root/file_contexts.bin\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"skip_fsck=true\" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (PATH=/home/yashpaljoshi76/los14/out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py /home/yashpaljoshi76/los14/out/target/product/y5/cache /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt /home/yashpaljoshi76/los14/out/target/product/y5/cache.img /home/yashpaljoshi76/los14/out/target/product/y5/system ) && (size=\$(for i in /home/yashpaljoshi76/los14/out/target/product/y5/cache.img; do stat --format \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"/home/yashpaljoshi76/los14/out/target/product/y5/cache.img\" | tr \" \" +); img_blocksize=4224; twoblocks=\$((img_blocksize * 2)); onepct=\$(((((432537600 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=\$((twoblocks > onepct ? twoblocks : onepct)); maxsize=\$((432537600 - reserve)); echo \"\$printname maxsize=\$maxsize blocksize=\$img_blocksize total=\$total reserve=\$reserve\"; if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > [432537600 - \$reserve])\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
BuildImage: in_dir = /home/yashpaljoshi76/los14/out/target/product/y5/cache, out_file = /home/yashpaljoshi76/los14/out/target/product/y5/cache.img
fs type is not ext4
Running: mkuserimg.sh -s /home/yashpaljoshi76/los14/out/target/product/y5/cache /home/yashpaljoshi76/los14/out/target/product/y5/cache.img ext4 cache 419430400 -D /home/yashpaljoshi76/los14/out/target/product/y5/system -L cache /home/yashpaljoshi76/los14/out/target/product/y5/root/file_contexts.bin
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 714, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 707, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 487, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 48, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[ 15% 206/1369] target Export Resources: framework-res (/home/yashpaljo.../target/common/obj/APPS/framework-res_intermediates/package-export.apk
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'wfcSpnFormat' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/yashpaljoshi76/los14'

#### make failed to build some targets (01:03 (mm:ss)) ####

root@shivom007:~/los14#

[ 15% 206/1369] Target cache fs image: /home/yashpaljoshi76/los14/out/target/product/y5/cache.img
FAILED: /bin/bash -c "(mkdir -p /home/yashpaljoshi76/los14/out/target/product/y5/cache ) && (mkdir -p /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates && rm -rf /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "fs_type=f2fs" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "system_size=2558525440" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "userdata_size=12353781760" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "cache_fs_type=ext4" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "cache_size=419430400" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "extfs_sparse_flag=-s" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "squashfs_sparse_flag=-s" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "selinux_fc=/home/yashpaljoshi76/los14/out/target/product/y5/root/file_contexts.bin" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo "skip_fsck=true" >> /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (PATH=/home/yashpaljoshi76/los14/out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py /home/yashpaljoshi76/los14/out/target/product/y5/cache /home/yashpaljoshi76/los14/out/target/product/y5/obj/PACKAGING/cache_intermediates/cache_image_info.txt /home/yashpaljoshi76/los14/out/target/product/y5/cache.img /home/yashpaljoshi76/los14/out/target/product/y5/system ) && (size=\$(for i in /home/yashpaljoshi76/los14/out/target/product/y5/cache.img; do stat --format "%s" "\$i" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo "\$size" ) )); printname=\$(echo -n "/home/yashpaljoshi76/los14/out/target/product/y5/cache.img" | tr " " +); img_blocksize=4224; twoblocks=\$((img_blocksize * 2)); onepct=\$(((((432537600 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=\$((twoblocks > onepct ? twoblocks : onepct)); maxsize=\$((432537600 - reserve)); echo "\$printname maxsize=\$maxsize blocksize=\$img_blocksize total=\$total reserve=\$reserve"; if [ "\$total" -gt "\$maxsize" ]; then echo "error: \$printname too large (\$total > [432537600 - \$reserve])"; false; elif [ "\$total" -gt \$((maxsize - 32768)) ]; then echo "WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)"; fi )"
BuildImage: in_dir = /home/yashpaljoshi76/los14/out/target/product/y5/cache, out_file = /home/yashpaljoshi76/los14/out/target/product/y5/cache.img
fs type is not ext4
Running: mkuserimg.sh -s /home/yashpaljoshi76/los14/out/target/product/y5/cache /home/yashpaljoshi76/los14/out/target/product/y5/cache.img ext4 cache 419430400 -D /home/yashpaljoshi76/los14/out/target/product/y5/system -L cache /home/yashpaljoshi76/los14/out/target/product/y5/root/file_contexts.bin
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 714, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 707, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 487, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 48, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[ 15% 206/1369] target Export Resources: framework-res (/home/yashpaljo.../target/common/obj/APPS/framework-res_intermediates/package-export.apk
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'wfcSpnFormat' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/yashpaljoshi76/los14'

#### make failed to build some targets (01:03 (mm:ss)) ####
:confused::confused::confused:

Device tree link: https://github.com/Huawei-mt6737/android-device-huawei-y5/tree/y5