bitbake fsl-image-full build error for p4080ds board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bitbake fsl-image-full build error for p4080ds board

3,860 Views
peterzheng
Contributor II

Hi,

I am getting below error while building fsl-image-full for P4080ds board.

zzheng002@UbuntuSI9:~/Desktop/QorIQ-SDK-V1.6-20140619-yocto/build_p4080ds_release$ bitbake fsl-image-full

WARNING: Host distribution "Ubuntu-12.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Parsing recipes: 100% |#########################################| Time: 00:00:48

Parsing of 1719 .bb files complete (0 cached, 1719 parsed). 2203 targets, 92 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION        = "1.22.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-12.10"

TARGET_SYS        = "powerpc-fsl-linux"

MACHINE           = "p4080ds"

DISTRO            = "fsl-networking"

DISTRO_VERSION    = "1.6"

TUNE_FEATURES     = "m32 fpu-hard ppce500mc"

TARGET_FPU        = "hard"

meta             

meta-yocto       

meta-yocto-bsp    = "(nobranch):0d2ce44c2b0f8cc9699e30cca2c24655be89d58b"

meta-fsl-ppc      = "(nobranch):6cf59d9de63a9fc5f8942c0d10c622898f4315ce"

meta-fsl-ppc-toolchain = "(nobranch):a546e42f86e7d57de19e27907365d170b13fc18f"

meta-fsl-networking

meta-fsl-networking = "(nobranch):8dec9c690188cce5305ef5055f91e5cfa35c63f4"

meta-virtualization

meta-virtualization = "(nobranch):8044073f63a0d99541a43ac5f2f6d789f94c7c7c"

meta-oe          

meta-networking  

meta-webserver   

meta-ruby        

meta-filesystems  = "(nobranch):b86007f742a1b829ccc8d76e485bb3f789cefaa4"

meta-java         = "(nobranch):d01f7d39e513790ddce20e6724723722119a3700"

meta-openstack   

meta-openstack-compute-deploy

meta-openstack-controller-deploy

meta-openstack-qemu = "(nobranch):f627404399a134672e0b5e26a0d9b794a6f8adf4"

NOTE: Preparing runqueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: Function failed: do_configure (log file is located at /home/zzheng002/Desktop/QorIQ-SDK-V1.6-20140619-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.24401)

ERROR: Logfile of failure stored in: /home/zzheng002/Desktop/QorIQ-SDK-V1.6-20140619-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.24401

Log data follows:

| DEBUG: Executing python function sysroot_cleansstate

| DEBUG: Python function sysroot_cleansstate finished

| DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common']

| DEBUG: Executing shell function autotools_preconfigure

| DEBUG: Shell function autotools_preconfigure finished

| DEBUG: Executing python function autotools_copy_aclocals

| DEBUG: Python function autotools_copy_aclocals finished

| DEBUG: Executing shell function do_configure

| ./bootstrap: Bootstrapping from checked-out netcf sources...

| ./bootstrap: consider installing git-merge-changelog from gnulib

| ./bootstrap: getting gnulib files...

| Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path '.gnulib'

| Cloning into '.gnulib'...

| fatal: read error: Connection timed out

| fatal: early EOF

| fatal: index-pack failed

| Clone of 'git://git.sv.gnu.org/gnulib.git' into submodule path '.gnulib' failed

| WARNING: /home/zzheng002/Desktop/QorIQ-SDK-V1.6-20140619-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/run.do_configure.24401:1 exit 1 from

|   ./bootstrap

| ERROR: Function failed: do_configure (log file is located at /home/zzheng002/Desktop/QorIQ-SDK-V1.6-20140619-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/temp/log.do_configure.24401)

ERROR: Task 4102 (/home/zzheng002/Desktop/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure) failed with exit code '1'

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

No currently running tasks (5012 of 5036)

Summary: 1 task failed:

/home/zzheng002/Desktop/QorIQ-SDK-V1.6-20140619-yocto/meta-virtualization/recipes-networking/netcf/netcf_git.bb, do_configure

Summary: There was 1 WARNING message shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

How can I resolve it?

Thanks & Regards,

Peter Zheng

Labels (1)
12 Replies

2,376 Views
saurabh206
Senior Contributor III

Hi

Peter

You can download gnulib manually and put it in download folder and create file gnulib.done.

Thanks

Saurabh

2,376 Views
peterzheng
Contributor II

Hi Saurabh,

You mean I just download from git://git.sv.gnu.org/gnulib.git? After put it in download folder, how can I create file gnulib?

One more question, after bitbake build, I supposed to get a rootft image with suffix "tar.gz", but I cannot find it, can you suggest what should I do to get this file?

Regards,

Peter

0 Kudos

2,376 Views
lunminliang
NXP Employee
NXP Employee

Hi,

Why not using verified version? Such as Ubuntu 13.10.

Maybe you can download from http://packages.ubuntu.com/trusty/gnulib


Have a great day,
Lunmin

0 Kudos

2,376 Views
saurabh206
Senior Contributor III

Hi

Peter

You can directly download gnulib.tar.gz from net and put it on download folder.

If you don't able to find the gnulib.tar.gz than you can create it using git clone sources.

Thanks

Saurabh

0 Kudos

2,376 Views
peterzheng
Contributor II

Hi  Saurabh,

I will try to install gnulib by using sudo apt-get install gnulib. Is that ok?

Thank you for your help!

Regards,

Peter

0 Kudos

2,376 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Peter Zheng,

Previously some customers have reported this problem, and the following workaround worked for them, please check whether it is helpful for you.

1. $ bitbake netcf -c cleansstate

2. $ bitbake netcf -c patch

Go to netcf source in build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/netcf/0.2.2+gitAUTOINC+2b0d9ca226-r1/git/.

3. Modify the url in the file .gitmodules as "http://repo.or.cz/r/gnulib.git"

4. $ bitbake netcf -c configure -f

If further assistance is needed, please feel free to let me know.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,376 Views
nayananr
Contributor I

Hi Yipping,

I have tried your suggestion but i am getting error link shown bellow  after giving  bitbake netcf -c cleansstate command , please guide me solve this problem.

 

Loading cache: 100% |##########################################################################################################| ETA: 00:00:00
Loaded 2199 entries from dependency cache.
ERROR: Nothing PROVIDES 'netcf'

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thanks and Regards

Nayana

0 Kudos

2,376 Views
texierp
Contributor III

Hi,

Have you tried to add the meta-notworking layer to your bblayers.conf file ?

Try with these commands:

$ bitbake-layers add-layer ../sources/meta-openembedded/meta-python/
$ bitbake-layers add-layer ../sources/meta-openembedded/meta-networking/

Regards

PJ

0 Kudos

2,376 Views
nayananr
Contributor I

Hi Pierre,

I have added meta-networking layer to my .bblayers using commands that you gave but still i am getting same error, Can you tell me is there any other way to solve this error.

ERROR: kmod-22+gitAUTOINC+42f32b8ae4-r0 do_configure: Function failed: do_configure (log file is located at /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.13248)
ERROR: Logfile of failure stored in: /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.13248
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_configure
| gtkdocize: neither configure.ac nor configure.in exist
| touch: cannot touch '/u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/git/libkmod/docs/gtk-doc.make': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.13248)
ERROR: Task 1010 (/u/ee209700/warp7/fsl-community-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1066 tasks of which 1064 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/u/ee209700/warp7/fsl-community-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_git.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

0 Kudos

2,376 Views
nayananr
Contributor I

Hi Yiping Wang,

I am also facing same problem in building, i downloaded gnulib.tar.gz and i kept in download folder but still i am getting same error, error is as fallows:

ee209700@pcz-ee209700:/u/ee209700/warp7/fsl-community-bsp/build$ bitbake fsl-image-machine-test
Loading cache: 100% |##########################################################################################################| ETA: 00:00:00
Loaded 2199 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################| Time: 00:00:00
Parsing of 1664 .bb files complete (1663 cached, 1 parsed). 2198 targets, 189 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx7s-warp"
DISTRO = "poky"
DISTRO_VERSION = "2.1.3"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:50fdd784231299bedb008f20adeaeeca3eb1452d"
meta-oe
meta-multimedia = "HEAD:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-fsl-arm = "HEAD:e2254e7b2ded0c2b66b1226f879b3a6d52037b2d"
meta-fsl-arm-extra = "HEAD:2c28e636ec15c2cfd49bc9cebe0bbbcfde95bc7b"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: kmod-22+gitAUTOINC+42f32b8ae4-r0 do_configure: Function failed: do_configure (log file is located at /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.908)
ERROR: Logfile of failure stored in: /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.908
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_configure
| gtkdocize: neither configure.ac nor configure.in exist
| touch: cannot touch '/u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/git/libkmod/docs/gtk-doc.make': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.908)
ERROR: Task 1010 (/u/ee209700/warp7/fsl-community-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1050 tasks of which 1045 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/u/ee209700/warp7/fsl-community-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_git.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

again i tried the other solution that u gave to change the url but i didn't get that path , Can you please tell where i need to change that url to solve this error. 

0 Kudos

2,376 Views
peterzheng
Contributor II

Thanks Yiping,

The problem has been solved. Thank you very much.

Peter

0 Kudos

2,376 Views
nayananr
Contributor I

Hi peter Zheng,

I am also facing facing same problem like Feature failures, As you told i also install gnulib using apt-get install gnulib. but still i am getting same error , can you please guide me how to solve this error.

i have attache the error log here:

Loading cache: 100% |##########################################################################################################| ETA: 00:00:00
Loaded 2199 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################| Time: 00:00:00
Parsing of 1664 .bb files complete (1663 cached, 1 parsed). 2198 targets, 189 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx7s-warp"
DISTRO = "poky"
DISTRO_VERSION = "2.1.3"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:50fdd784231299bedb008f20adeaeeca3eb1452d"
meta-oe
meta-multimedia = "HEAD:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-fsl-arm = "HEAD:e2254e7b2ded0c2b66b1226f879b3a6d52037b2d"
meta-fsl-arm-extra = "HEAD:2c28e636ec15c2cfd49bc9cebe0bbbcfde95bc7b"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: kmod-22+gitAUTOINC+42f32b8ae4-r0 do_configure: Function failed: do_configure (log file is located at /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.908)
ERROR: Logfile of failure stored in: /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.908
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_configure
| gtkdocize: neither configure.ac nor configure.in exist
| touch: cannot touch '/u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/git/libkmod/docs/gtk-doc.make': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /u/ee209700/warp7/fsl-community-bsp/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/kmod/22+gitAUTOINC+42f32b8ae4-r0/temp/log.do_configure.908)
ERROR: Task 1010 (/u/ee209700/warp7/fsl-community-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1050 tasks of which 1045 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/u/ee209700/warp7/fsl-community-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_git.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thanks and regards 

Nayana

0 Kudos