AnsweredAssumed Answered

yocto build error :Function failed: fsl_bin_do_unpack

Question asked by Brat Zhang on Feb 22, 2016
Latest reply on Feb 25, 2016 by Brat Zhang

Dear Sir:

      Follow error appeared when I build the yocto project, environment is ubuntu 14.04,64bit virtual machine, I searched the internet but nothing helpful .

     How could I do to solve the problem? Thanks!

 

ERROR: Error executing a python function in /home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.1-hfp.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: 'fsl_bin_do_unpack', lineno: 35, function: <module>
     0031:    # Return to the previous directory
     0032:    os.chdir(save_cwd)
     0033:
     0034:
*** 0035:fsl_bin_do_unpack(d)
     0036:
File: 'fsl_bin_do_unpack', lineno: 29, function: fsl_bin_do_unpack
     0025:                save_cwd = os.getcwd()
     0026:                os.chdir(rootdir)
     0027:
     0028:                cmd = "sh %s --auto-accept --force" % (url.localpath)
*** 0029:                bb.fetch2.runfetchcmd(cmd, d, quiet=True)
     0030:
     0031:    # Return to the previous directory
     0032:    os.chdir(save_cwd)
     0033:
File: '/home/zyz/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 722, function: runfetchcmd
     0718:                bb.utils.remove(f, True)
     0719:            except OSError:
     0720:                pass
     0721:
*** 0722:        raise FetchError(error_message)
     0723:
     0724:    return output
     0725:
     0726:def check_network_access(d, info = "", url = None):
Exception: FetchError: Fetcher failure: Fetch command failed with exit code 15, output:
Welcome to Freescale imx-gpu-viv-5.0.11.p4.1-hfp.bin

WARNING: EULA has been auto-accepted; this imply you agree with it anyway.
Unpacking file ...........................................................................................................................................................................................................................................................................................................................................
mkdir: cannot create directory 'imx-gpu-viv-5.0.11.p4.1-hfp': File exists

bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

ERROR:
Signal caught, cleaning up

ERROR: Function failed: fsl_bin_do_unpack
ERROR: Logfile of failure stored in: /home/zyz/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/imx-gpu-viv/1_5.0.11.p4.1-hfp-r0/temp/log.do_unpack.22231
ERROR: Task 994 (/home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.1-hfp.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1056 tasks of which 13 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.1-hfp.bb, do_unpack
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes