4 comments on “Build CyanogenMod: 8. Start Building OS…

  1. this is my log after using brunch
    1. it has various permission issue , cant find or make directory
    2.do i have to make those file path manually
    3)if yes whats the easiest way

    please please my final submissions are near

    thanks in advance

    logs

    swapnil@swapnil:~/android/system$ su brunch x3_row
    No passwd entry for user ‘brunch’
    swapnil@swapnil:~/android/system$ brunch x3_row
    including vendor/cm/vendorsetup.sh
    build/core/product_config.mk:268: *** No matches for product “lineage_x3_row”. Stop.
    ** Warning: ‘x3_row’ is using CM-based makefiles. This will be deprecated in the next major release.
    Trying dependencies-only mode on a non-existing device tree?

    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=7.1.1
    LINEAGE_VERSION=14.1-20170125-UNOFFICIAL-x3_row
    TARGET_PRODUCT=cm_x3_row
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv7-a-neon
    TARGET_2ND_CPU_VARIANT=cortex-a53.a57
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.8.0-34-generic-x86_64-with-Ubuntu-16.10-yakkety
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=NMF26V
    OUT_DIR=/home/swapnil/android/system/out
    ============================================
    make: Entering directory ‘/home/swapnil/android/system’
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=7.1.1
    LINEAGE_VERSION=14.1-20170125-UNOFFICIAL-x3_row
    TARGET_PRODUCT=cm_x3_row
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv7-a-neon
    TARGET_2ND_CPU_VARIANT=cortex-a53.a57
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.8.0-34-generic-x86_64-with-Ubuntu-16.10-yakkety
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=NMF26V
    OUT_DIR=/home/swapnil/android/system/out
    ============================================
    Running kati to generate build-cm_x3_row.ninja…
    build/core/product_config.mk was modified, regenerating…
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=7.1.1
    LINEAGE_VERSION=14.1-20170125-UNOFFICIAL-x3_row
    TARGET_PRODUCT=cm_x3_row
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv7-a-neon
    TARGET_2ND_CPU_VARIANT=cortex-a53.a57
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.8.0-34-generic-x86_64-with-Ubuntu-16.10-yakkety
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=NMF26V
    OUT_DIR=/home/swapnil/android/system/out
    ============================================
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/ramdumps’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/hlos’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/readonly/firmware’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/shared’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/readwrite’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/ramdumps’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/hlos’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/readonly/firmware’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/shared’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/readwrite’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/ramdumps’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/hlos’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/readonly/firmware’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/shared’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/readwrite’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/ramdumps’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/hlos’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/readonly/firmware’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/shared’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/readwrite’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/ramdumps’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/hlos’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/readonly/firmware’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/shared’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/readwrite’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/ramdumps’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/hlos’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/readonly/firmware’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/shared’: Permission denied
    rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/readwrite’: Permission denied
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/ramdumps’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/readwrite’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/shared’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/hlos’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/mpss/readonly/firmware’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/ramdumps’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/readwrite’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/shared’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/hlos’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/msm/adsp/readonly/firmware’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/ramdumps’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/readwrite’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/shared’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/hlos’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/mpss/readonly/firmware’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/ramdumps’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/readwrite’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/shared’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/hlos’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/readonly/firmware’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/ramdumps’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/readwrite’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/shared’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/hlos’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/sparrow/readonly/firmware’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/ramdumps’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/readwrite’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/shared’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/hlos’: File exists
    ln: failed to create symbolic link ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/apq/gnss/readonly/firmware’: File exists
    build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
    build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
    build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
    build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
    ./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
    build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
    find: ‘/home/swapnil/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
    build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
    PRODUCT_COPY_FILES device/lenovo/x3_row/audio/audio_effects.conf:system/etc/audio_effects.conf ignored.
    PRODUCT_COPY_FILES device/lenovo/x3_row/configs/keylayouts/Generic.kl:system/usr/keylayout/Generic.kl ignored.
    PRODUCT_COPY_FILES device/lenovo/x3_row/configs/misc/apns-conf.xml:system/etc/apns-conf.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/permissions/com.broadcom.nfc.xml:system/etc/permissions/com.broadcom.nfc.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/permissions/com.google.widevine.software.drm.xml:system/etc/permissions/com.google.widevine.software.drm.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/permissions/com.quicinc.wbcservice.xml:system/etc/permissions/com.quicinc.wbcservice.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/permissions/com.quicinc.wbc.xml:system/etc/permissions/com.quicinc.wbc.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/permissions/com.vzw.nfc.xml:system/etc/permissions/com.vzw.nfc.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/dump_codec_audio.sh:system/etc/dump_codec_audio.sh ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/nfcee_access.xml:system/etc/nfcee_access.xml ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/nfc.png:system/etc/nfc.png ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/nfcse.cfg:system/etc/nfcse.cfg ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/nfc_wallet.conf:system/etc/nfc_wallet.conf ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/usf_settings.sh:system/etc/usf_settings.sh ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/etc/init.otse.sh:system/etc/init.otse.sh ignored.
    PRODUCT_COPY_FILES vendor/lenovo/x3_row/proprietary/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl ignored.
    build/core/Makefile:53: Duplicate header copy: /home/swapnil/android/system/out/target/product/x3_row/obj/include/qcom/display/copybit.h
    build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
    build/core/Makefile:53: Duplicate header copy: /home/swapnil/android/system/out/target/product/x3_row/obj/include/qcom/display/copybit_priv.h
    build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
    build/core/Makefile:53: Duplicate header copy: /home/swapnil/android/system/out/target/product/x3_row/obj/include/qcom/display/c2d2.h
    build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk
    /bin/bash: /home/swapnil/android/system/out/target/product/x3_row/build_fingerprint.txt: Permission denied
    No private recovery resources for TARGET_DEVICE x3_row
    vendor/cm/build/tasks/kernel.mk:159: ***************************************************************
    vendor/cm/build/tasks/kernel.mk:160: * Using prebuilt kernel binary instead of source *
    vendor/cm/build/tasks/kernel.mk:161: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
    vendor/cm/build/tasks/kernel.mk:162: * Please configure your device to download the kernel *
    vendor/cm/build/tasks/kernel.mk:163: * source repository to kernel/lenovo/msm8992
    vendor/cm/build/tasks/kernel.mk:164: * See http://wiki.lineageos.org/w/Doc:_integrated_kernel_building
    vendor/cm/build/tasks/kernel.mk:165: * for more information *
    vendor/cm/build/tasks/kernel.mk:166: ***************************************************************
    build/core/java.mk:334: warning: overriding commands for target `/home/swapnil/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java’
    build/core/java.mk:334: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java’
    build/core/java.mk:334: warning: overriding commands for target `/home/swapnil/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java’
    build/core/java.mk:334: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java’
    build/core/base_rules.mk:316: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/root/res/images/charger/battery_fail.png’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/root/res/images/charger/battery_fail.png’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/ethertypes’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/ethertypes’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/android.software.live_wallpaper.xml’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/android.software.live_wallpaper.xml’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/com.android.location.provider.xml’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/com.android.location.provider.xml’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/com.android.media.remotedisplay.xml’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/com.android.media.remotedisplay.xml’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/com.android.mediadrm.signer.xml’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/com.android.mediadrm.signer.xml’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/platform.xml’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/permissions/platform.xml’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libFlacSwDec.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libFlacSwDec.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libmdmdetect.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libmdmdetect.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libtime_genoff.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libtime_genoff.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libTimeService.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/libTimeService.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libFlacSwDec.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libFlacSwDec.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libmdmdetect.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libmdmdetect.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libtime_genoff.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libtime_genoff.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libTimeService.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/libTimeService.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/consumerir.default.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/consumerir.default.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/fingerprint.default.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/fingerprint.default.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/local_time.default.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/local_time.default.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/egl/libGLES_android.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/egl/libGLES_android.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/egl/libGLES_android.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/egl/libGLES_android.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/consumerir.default.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/consumerir.default.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/fingerprint.default.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/fingerprint.default.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/local_time.default.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/local_time.default.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/drm/libfwdlockengine.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/drm/libfwdlockengine.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/drm/libfwdlockengine.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/drm/libfwdlockengine.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/libmm-omxcore.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/libmm-omxcore.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/libmm-omxcore.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/libmm-omxcore.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/bin/rmnetcli’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/bin/rmnetcli’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/libwifi-hal-qcom.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/libwifi-hal-qcom.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/libnfnetlink.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/libnfnetlink.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/libwifi-hal-qcom.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/libwifi-hal-qcom.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/audio.primary.msm8992.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib/hw/audio.primary.msm8992.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/audio.primary.msm8992.so’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/lib64/hw/audio.primary.msm8992.so’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/app/TimeService/TimeService.apk’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/app/TimeService/TimeService.apk’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/framework/qcnvitems.jar’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/framework/qcnvitems.jar’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/framework/qcrilhook.jar’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/framework/qcrilhook.jar’
    build/core/Makefile:34: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk’
    build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk’
    build/core/Makefile:464: warning: overriding commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/event-log-tags’
    build/core/Makefile:34: warning: ignoring old commands for target `/home/swapnil/android/system/out/target/product/x3_row/system/etc/event-log-tags’
    Starting build with ninja
    ninja: Entering directory `.’
    ninja: error: ‘/home/swapnil/android/system/out/target/product/x3_row/obj/KERNEL_OBJ/usr’, needed by ‘/home/swapnil/android/system/out/target/product/x3_row/obj/STATIC_LIBRARIES/libsdcard_intermediates/sdcard.o’, missing and no known rule to make it
    build/core/ninja.mk:151: recipe for target ‘ninja_wrapper’ failed
    make: *** [ninja_wrapper] Error 1
    make: Leaving directory ‘/home/swapnil/android/system’

    #### make failed to build some targets (02:09 (mm:ss)) ####

    • i have resolved all of these error by manually deleting all directories

      rm: cannot remove ‘/home/swapnil/android/system/out/target/product/x3_row/system/rfs/mdm/adsp/ramdumps’: Permission denied

      solution:

      sudo rm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s