Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4596

imx8: weston failed while building lamprey source 12.1.6 for imx8mqevk-viv machine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • NXP i.MX8

      Hi Scott,

      Thanks!

      I am building lamprey 12.1.6 source for imx8mqevk-viv machine on ubuntu 20.04 host. It completed by 99% but weston failing because of a patch failed. Attaching the reference  logs:

       

      agl@agl-OptiPlex-7010:~/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/build$ bitbake -k agl-demo-platform
      Loading cache: 100% |####################################################################################################################################| Time: 0:00:00
      Loaded 4591 entries from dependency cache.
      Parsing recipes: 100% |##################################################################################################################################| Time: 0:00:17
      Parsing of 3078 .bb files complete (3077 cached, 1 parsed). 4592 targets, 388 skipped, 7 masked, 0 errors.
      NOTE: Resolving any missing task queue dependencies

      Build Configuration:
      BB_VERSION           = "1.46.0"
      BUILD_SYS            = "x86_64-linux"
      NATIVELSBSTRING      = "universal"
      TARGET_SYS           = "aarch64-agl-linux"
      MACHINE              = "imx8mqevk"
      DISTRO               = "poky-agl"
      DISTRO_VERSION       = "12.1.6"
      TUNE_FEATURES        = "aarch64"
      TARGET_FPU           = ""
      meta-pipewire        
      meta-netboot         = "HEAD:10a00fc8e921485f3bc1a4b720603ce9548f3ca1"
      meta-security        = "HEAD:c62970fda82acf75035243766ecd195243e0f82a"
      meta-perl            = "HEAD:f22bf6efaae61a8fd9272be64e7d75223c58922e"
      meta-app-framework   = "HEAD:10a00fc8e921485f3bc1a4b720603ce9548f3ca1"
      meta-iot-cloud       = "HEAD:5431f91969087d631972d73cd03b16eed0a61987"
      meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
      meta-python2         = "HEAD:b901080cf57d9a7f5476ab4d96e56c30db8170a8"
      meta-agl-demo        = "HEAD:98326a92c016606d71fd48cb1738247f3a0b58b4"
      meta-freescale       = "HEAD:c4347b507c2ba0d7eb3917303f83631244bf5048"
      meta-networking      
      meta-python          
      meta-filesystems     
      meta-oe              = "HEAD:f22bf6efaae61a8fd9272be64e7d75223c58922e"
      meta-agl-core        
      meta-agl-core-test   
      meta-agl-bsp         = "HEAD:10a00fc8e921485f3bc1a4b720603ce9548f3ca1"
      meta                 
      meta-poky            = "HEAD:4aad5914efe9789755789856882aac53de6c4ed3"

      Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:09
      Sstate summary: Wanted 25 Found 0 Missed 25 Current 3856 (0% match, 99% complete)
      NOTE: Executing Tasks
      ERROR: weston-8.0.0.imx-r0 do_patch: Applying patch '0001-libweston-backend-drm-Re-order-gbm-destruction-at-DR.patch' on target directory '/home/agl/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/build/tmp/work/aarch64-agl-linux/weston/8.0.0.imx-r0/git'
      Command Error: 'quilt --quiltrc /home/agl/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/build/tmp/work/aarch64-agl-linux/weston/8.0.0.imx-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
      Applying patch 0001-libweston-backend-drm-Re-order-gbm-destruction-at-DR.patch
      patching file libweston/backend-drm/drm.c
      Hunk #1 FAILED at 3203.
      Hunk #2 succeeded at 3380 (offset 162 lines).
      1 out of 2 hunks FAILED – rejects in file libweston/backend-drm/drm.c
      Patch 0001-libweston-backend-drm-Re-order-gbm-destruction-at-DR.patch does not apply (enforce with -f)
      ERROR: Logfile of failure stored in: /home/agl/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/build/tmp/work/aarch64-agl-linux/weston/8.0.0.imx-r0/temp/log.do_patch.8687
      ERROR: Task (/home/agl/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/bsp/meta-freescale/recipes-graphics/wayland/weston_8.0.0.imx.bb:do_patch) failed with exit code '1'
      NOTE: Tasks Summary: Attempted 9182 tasks of which 9169 didn't need to be rerun and 1 failed.

      Summary: 1 task failed:
        /home/agl/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/bsp/meta-freescale/recipes-graphics/wayland/weston_8.0.0.imx.bb:do_patch
      Summary: There was 1 ERROR message shown, returning a non-zero exit code.
      agl@agl-OptiPlex-7010:~/Automotive/ADAS_Infotainment/Platform/AGL_Lamprey/build$

      I built lamprey earlier on ubuntu 16.04 without error, now i upgraded my system to ubuntu 20.04 .

      Looking forward to hearing from you asap.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            scottm Scott Murray
            vsuneja63 vipul kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: