打印
[i.MX]

bitbake编译时报错

[复制链接]
2698|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
bratlj|  楼主 | 2016-2-15 11:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用bitbake编译系统时报错,如下:
zyz@zyz-vm:~/fsl-release-bsp/build$ bitbake fsl-image-gui
Parsing recipes: 100% |#########################################| Time: 02:22:27
Parsing of 1742 .bb files complete (0 cached, 1742 parsed). 2184 targets, 104 skipped, 1 masked, 0 errors.
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

Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.2"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
meta-fsl-arm      
meta-fsl-demos    = "(nobranch):4ccf13efeef1c72768762921ba6e2c6537ed9f73"
meta-browser      = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
meta-gnome        
meta-networking   
meta-ruby         = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-qt5          = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
meta-fsl-qt5      
meta-fsl-bluez    = "(nobranch):4ccf13efeef1c72768762921ba6e2c6537ed9f73"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: Unpack failure for URL: ‘../pub/linux/kernel/v3.0/linux-3.10.tar.bz2'. Unpack command PATH="/home/zyz/fsl-release-bsp/sources/poky/scripts:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi:/home/zyz/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd/usr/bin/crossscripts:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/bin:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/sbin:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/bin:/home/zyz/fsl-release-bsp/sources/poky/scripts:/home/zyz/fsl-release-bsp/sources/poky/bitbake/bin:/home/zyz/perl5/bin:/opt/Java/64/jdk1.6.0_45/bin:/home/zyz/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" bzip2 -dc /home/zyz/fsl-release-bsp/downloads/linux-3.10.tar.bz2 | tar x --no-same-owner -f - failed with return value 2
ERROR: Logfile of failure stored in: /home/zyz/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/linux-libc-headers/3.10-r0/temp/log.do_unpack.22048
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| NOTE: Unpacking /home/zyz/fsl-release-bsp/downloads/linux-3.10.tar.bz2 to /home/zyz/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/linux-libc-headers/3.10-r0/
|
| bzip2: Data integrity error when decompressing.
|         Input file = /home/zyz/fsl-release-bsp/downloads/linux-3.10.tar.bz2, 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.
|
| tar: Unexpected EOF in archive
| tar: Unexpected EOF in archive
| tar: Error is not recoverable: exiting now
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Unpack failure for URL: ’../linux/kernel/v3.0/linux-3.10.tar.bz2'. Unpack command PATH="/home/zyz/fsl-release-bsp/sources/poky/scripts:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi:/home/zyz/fsl-release-bsp/build/tmp/sysroots/imx6qsabresd/usr/bin/crossscripts:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/usr/bin:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/sbin:/home/zyz/fsl-release-bsp/build/tmp/sysroots/x86_64-linux/bin:/home/zyz/fsl-release-bsp/sources/poky/scripts:/home/zyz/fsl-release-bsp/sources/poky/bitbake/bin:/home/zyz/perl5/bin:/opt/Java/64/jdk1.6.0_45/bin:/home/zyz/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" bzip2 -dc /home/zyz/fsl-release-bsp/downloads/linux-3.10.tar.bz2 | tar x --no-same-owner -f - failed with return value 2
ERROR: Task 637 (/home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux-libc-headers/linux-libc-headers_3.10.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 89 tasks of which 0 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-kernel/linux-libc-headers/linux-libc-headers_3.10.bb, do_unpack
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

相关帖子

沙发
bratlj|  楼主 | 2016-2-15 11:43 | 只看该作者
上一步环境配置的时候提示这样,很奇怪
zyz@zyz-vm:~/fsl-release-bsp$ MACHINE=imx6qsabresd source fsl-setup-release.sh -b build

Build directory is  build

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
   

For more information about OpenEmbedded see their website:
   

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

Your configuration files at build have not been touched.

很奇怪啊

使用特权

评论回复
板凳
bratlj|  楼主 | 2016-2-15 14:53 | 只看该作者
是linux-3.10.tar.bz2文件下载的时候损坏了,重新下载一遍就好了

使用特权

评论回复
地板
mini1986| | 2016-2-15 16:40 | 只看该作者
网络通畅还是很重要滴......

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

4

帖子

1

粉丝