UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    "mka systemimage" Error [ Redmi note 5 pr ]

    Scheduled Pinned Locked Moved Solved Porting
    2 Posts 1 Posters 476 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • A Offline
        aravindor
        last edited by

        mka systemimage
        

        gives me the following error .

        ============================================
        PLATFORM_VERSION_CODENAME=REL
        PLATFORM_VERSION=9
        TARGET_PRODUCT=lineage_whyred
        TARGET_BUILD_VARIANT=userdebug
        TARGET_BUILD_TYPE=release
        TARGET_ARCH=arm64
        TARGET_ARCH_VARIANT=armv8-a
        TARGET_CPU_VARIANT=kryo
        TARGET_2ND_ARCH=arm
        TARGET_2ND_ARCH_VARIANT=armv8-a
        TARGET_2ND_CPU_VARIANT=cortex-a73
        HOST_ARCH=x86_64
        HOST_2ND_ARCH=x86
        HOST_OS=linux
        HOST_OS_EXTRA=Linux-4.15.0-153-generic-x86_64-elementary-OS-5.1.7-Hera
        HOST_CROSS_OS=windows
        HOST_CROSS_ARCH=x86
        HOST_CROSS_2ND_ARCH=x86_64
        HOST_BUILD_TYPE=release
        BUILD_ID=PQ3A.190801.002
        OUT_DIR=/home/luth3r/rom-dev/halium/out
        PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998
        ============================================
        ninja: no work to do.
        ninja: no work to do.
        vendor/xiaomi/whyred/whyred-vendor.mk was modified, regenerating...
        vendor/xiaomi/whyred/whyred-vendor.mk was modified, regenerating...
        [235/451] including halium/libhybris/compat/camera/Android.mk ...
        cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory
        [238/451] including halium/libhybris/compat/media/Android.mk ...
        cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory
        [451/451] including vendor/qcom/opensource/dataservices/Android.mk ...
        art/build/Android.gtest.mk:98: warning: overriding commands for target `Stripped'
        art/build/Android.gtest.mk:94: warning: ignoring old commands for target `Stripped'
        art/build/Android.gtest.mk:107: warning: overriding commands for target `Uncompressed'
        art/build/Android.gtest.mk:102: warning: ignoring old commands for target `Uncompressed'
        art/build/Android.gtest.mk:117: warning: overriding commands for target `EmptyUncompressed'
        art/build/Android.gtest.mk:112: warning: ignoring old commands for target `EmptyUncompressed'
        art/build/Android.gtest.mk:122: warning: overriding commands for target `Uncompressed'
        art/build/Android.gtest.mk:107: warning: ignoring old commands for target `Uncompressed'
        art/build/Android.gtest.mk:127: warning: overriding commands for target `Uncompressed'
        art/build/Android.gtest.mk:122: warning: ignoring old commands for target `Uncompressed'
        frameworks/base/Android.mk:685: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
        frameworks/base/Android.mk:649: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
        frameworks/base/Android.mk:729: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
        frameworks/base/Android.mk:685: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
        frameworks/base/Android.mk:734: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties'
        frameworks/base/Android.mk:690: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties'
        libcore/JavaLibrary.mk:160: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/obj_arm/SHARED_LIBRARIES/libreference-ril_intermediates/.jar'
        libcore/JavaLibrary.mk:145: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/obj_arm/SHARED_LIBRARIES/libreference-ril_intermediates/.jar'
        build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/consumerir.default.so'
        build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/consumerir.default.so'
        build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/thermal.sdm660.so'
        build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/thermal.sdm660.so'
        build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/vndk-sp/libcutils.so'
        build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/vndk-sp/libcutils.so'
        build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/consumerir.default.so'
        build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/consumerir.default.so'
        build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/fingerprint.default.so'
        build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/fingerprint.default.so'
        build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/thermal.sdm660.so'
        build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/thermal.sdm660.so'
        ninja: error: '/home/luth3r/rom-dev/halium/out/target/product/whyred/obj/SHARED_LIBRARIES/libantradio_intermediates/export_includes', needed by '/home/luth3r/rom-dev/halium/out/target/product/whyred/obj/EXECUTABLES/antradio_app_intermediates/import_includes', missing and no known rule to make it
        00:23:55 ninja failed with: exit status 1
        
        #### failed to build some targets (03:35 (mm:ss)) ####
        
        

        how to resolve this issue ??

        1 Reply Last reply Reply Quote 0
        • A Offline
          aravindor
          last edited by

          it was my mistake ,
          initially when i run the

          mka mkbootimg
          

          I got this error

          error: vendor/xiaomi/whyred: MODULE.TARGET.SHARED_LIBRARIES.libsdm-disp-vndapis already defined by vendor/xiaomi/whyred.
          

          To resolve this I commented out those modules from vendor/xiaomi/whyred/Android.mk .

          I accidentally commented out libantradio module too .

          undoing that resolved the issue .

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post