yocto L3.10.53 bitbake mfgtool-initramfs command failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

yocto L3.10.53 bitbake mfgtool-initramfs command failed

跳至解决方案
4,142 次查看
torus1000
Contributor V

Hi,

It was 1st time to make mfgtool-initramfs image for i.MX6SL yocto L3.10.53 but "Nothing RPROVIDES" error occured.
Besides I couldn't find packagegroup-fsl-mfgtool-extfs around here:
   fsl-release-bsp/build-x11/tmp/work/imx6*poky-linux-gnueabi/packagegroup-fsl-*

Can anybody help me to avoid this error?

(Please see attached log)

Thanks.

---error log---

$ bitbake fsl-image-mfgtool-initramfs

Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 1849 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'packagegroup-fsl-mfgtool-extfs' (but /home/imxdev/workspace/imx-3.10.53-1.1.0/sources/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'packagegroup-fsl-mfgtool-extfs' is unbuildable, removing...
Missing or unbuildable dependency chain was:
['packagegroup-fsl-mfgtool-extfs']
ERROR: Required build target 'fsl-image-mfgtool-initramfs' has no buildable providers.
Missing or unbuildable dependency chain was:
['fsl-image-mfgtool-initramfs', 'packagegroup-fsl-mfgtool-extfs']

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

标签 (2)
0 项奖励
回复
1 解答
2,739 次查看
BiyongSUN
NXP Employee
NXP Employee

We have verified again, the build has no problem.

Note the prebuilt image in the binary release incluling mfg tool  is also built from the same source code.

Please check your environment.

For how to setup the yocto environment, please refer yocto official site.

MACHINE=imx6slevk source fsl-setup-release.sh -b SL -e x11
bitbake fsl-image-mfgtool-initramfs

BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6slevk"
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
NOTE: Tasks Summary: Attempted 1237 tasks of which 23 didn't need to be rerun and all succeeded.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,739 次查看
huangkc
Contributor I

I have the same mistake, why nobody answer this question。

0 项奖励
回复
2,740 次查看
BiyongSUN
NXP Employee
NXP Employee

We have verified again, the build has no problem.

Note the prebuilt image in the binary release incluling mfg tool  is also built from the same source code.

Please check your environment.

For how to setup the yocto environment, please refer yocto official site.

MACHINE=imx6slevk source fsl-setup-release.sh -b SL -e x11
bitbake fsl-image-mfgtool-initramfs

BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6slevk"
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
NOTE: Tasks Summary: Attempted 1237 tasks of which 23 didn't need to be rerun and all succeeded.

0 项奖励
回复
2,739 次查看
torus1000
Contributor V

Dear Biyong,

Surprise!

Today I tried once with same yocto environment as 4 month ago and it worked.

(I'm not sure I guess my ether or providers listed in bb file disturbed my downloads.)

Anyway, thanks a lot!

$ MACHINE=imx6slevk source fsl-setup-release.sh -b SL -e x11

$ bitbake fsl-image-mfgtool-initramfs
Parsing recipes: 100% |#########################################| Time: 00:06:18
Parsing of 1742 .bb files complete (0 cached, 1742 parsed). 2184 targets, 106 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2014.04 of u-boot-imx-mfgtool not available (for item u-boot-mfgtool)
NOTE: versions of u-boot-imx-mfgtool available: 2013.04
NOTE: multiple providers are available for u-boot-mfgtool (mfgtool-u-boot-imx, u-boot-imx-mfgtool)
NOTE: consider defining a PREFERRED_PROVIDER entry to match u-boot-mfgtool
NOTE: preferred version 2014.04 of u-boot-imx-mfgtool not available (for item u-boot-imx-mfgtool)
NOTE: versions of u-boot-imx-mfgtool available: 2013.04
NOTE: preferred version 2014.04 of u-boot-imx-mfgtool not available (for item u-boot-imx-mfgtool-dev)
NOTE: versions of u-boot-imx-mfgtool available: 2013.04

Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6slevk"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.2"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta             
meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"

0 项奖励
回复