2 Replies Latest reply on Dec 4, 2014 8:45 PM by atvreddy

    Function failed: patch_do_patch

    atvreddy

      hi every one , i am building Linux standard base (LSB) for intel galileo board. i followed the steps in following blog.Intel Galileo - Building Linux Image - Malinov Family Web Presence. i got following error. does any body knows answer for this.

       

      venkateswarareddy@Ubuntu-test:~/lsb/meta-clanton_v1.0.1/yocto_build$ bitbake -k image-sdk

      Loading cache: 100% |##################################################################################################| ETA:  00:00:00

      Loaded 1618 entries from dependency cache.

      Build Configuration:

      BB_VERSION        = "1.18.0"

      BUILD_SYS         = "i686-linux"

      NATIVELSBSTRING   = "Ubuntu-12.04"

      TARGET_SYS        = "i586-poky-linux"

      MACHINE           = "clanton"

      DISTRO            = "clanton-full"

      DISTRO_VERSION    = "1.4.2"

      TUNE_FEATURES     = "m32 i586"

      TARGET_FPU        = ""

      meta             

      meta-yocto       

      meta-yocto-bsp    = "clanton:5fd4ca813b91b2467d2e4c0f67a783b5d2854371"

      meta-intel        = "clanton:048def7bae8e3e1a11c91f5071f99bdcf8e6dd16"

      meta-oe           = "clanton:13ae5105ee30410136beeae66ec41ee4a8a2e2b0"

      meta-clanton-distro

      meta-clanton-bsp  = "<unknown>:<unknown>"

       

      NOTE: Resolving any missing task queue dependencies

      NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)

      NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

      NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)

      NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

      NOTE: Preparing runqueue

      NOTE: Executing SetScene Tasks

      NOTE: Executing RunQueue Tasks

      ERROR: Command Error: exit status: 1  Output:

      Applying patch rootimage.patch

      patching file init-live.sh

      Hunk #1 FAILED at 49.

      Hunk #2 FAILED at 130.

      2 out of 2 hunks FAILED -- rejects in file init-live.sh

      Patch rootimage.patch can be reverse-applied

      ERROR: Function failed: patch_do_patch

      ERROR: Logfile of failure stored in: /home/venkateswarareddy/lsb/meta-clanton_v1.0.1/yocto_build/tmp/work/clanton-poky-linux/initramfs-live-boot/1.0-r11/temp/log.do_patch.32615

      ERROR: Task 822 (/home/venkateswarareddy/lsb/meta-clanton_v1.0.1/poky/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb, do_patch) failed with exit code '1'

      NOTE: Tasks Summary: Attempted 6622 tasks of which 6619 didn't need to be rerun and 1 failed.

      No currently running tasks (6621 of 6635)

       

      Summary: 1 task failed:

        /home/venkateswarareddy/lsb/meta-clanton_v1.0.1/poky/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb, do_patch

      Summary: There were 2 ERROR messages shown, returning a non-zero exit code.