Error in bitbaking yocto in Ubuntu 64 bit for P2040

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

Error in bitbaking yocto in Ubuntu 64 bit for P2040

2,201 Views
gokulcg
Contributor I

The error message appears as follows

Error log

===============

user@Ubuntu-TSG-Test:~/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release$ ../bitbake/bin/bitbake fsl-image-minimal

WARNING: Bitbake has not been run using the bitbake wrapper (scripts/bitbake); this is likely because your PATH has been altered from that normally set up by the oe-init-build-env script. Not using the wrapper may result in failures during package installation, so it is highly recommended that you set your PATH back so that the wrapper script is being executed.

WARNING: Pseudo is not functioning correctly, which will cause failures during package installation. Please check your configuration.

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

Loaded 1769 entries from dependency cache.

Build Configuration:

BB_VERSION        = "1.18.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-12.04"

TARGET_SYS        = "powerpc-fsl_networking-linux"

MACHINE           = "p2041rdb"

DISTRO            = "fsl-networking"

DISTRO_VERSION    = "1.4.1"

TUNE_FEATURES     = "m32 fpu-hard ppce500mc"

TARGET_FPU        = "hard"

meta

meta-yocto

meta-yocto-bsp    = "dylan:13be5eeb14211212b27deaaa602bf7006c76b43c"

meta-fsl-ppc      = "dylan-sdk1.5:a10a68b4c50efcca9e3740f08dd7c5716ef97ac0"

meta-fsl-ppc-toolchain = "master:813d88970a4357410af833c24910d8371c5206bb"

meta-fsl-networking = "dylan-sdk1.5:729a6be8778f9a9577bc233990dc4a617624640d"

meta-virtualization = "master:0c26da86404a5421f579188d24864aea05c9611a"

meta-oe

meta-networking   = "dylan:8c5e175603b0163d57e94216088b9acc203f3a73"

NOTE: Resolving any missing task queue dependencies

NOTE: Preparing runqueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: Function failed: do_configure (see /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl_networking-linux/eglibc/2.15-r3/temp/log.do_configure.17830 for further information)

ERROR: Logfile of failure stored in: /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl_networking-linux/eglibc/2.15-r3/temp/log.do_configure.17830

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 shell function do_configure

| NOTE: Running /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl_networking-linux/eglibc/2.15-r3/eglibc-2.15/libc/configure  --build=x86_64-linux                  --host=powerpc-fsl_networking-linux             --target=powerpc-fsl_networking-linux                   --prefix=/usr   --exec_prefix=/usr              --bindir=/usr/bin               --sbindir=/usr/sbin             --libexecdir=/usr/lib/eglibc            --datadir=/usr/share           --sysconfdir=/etc                --sharedstatedir=/com                   --localstatedir=/var            --libdir=/usr/lib               --includedir=/usr/include      --oldincludedir=/usr/include             --infodir=/usr/share/info               --mandir=/usr/share/man                 --disable-silent-rules                  --disable-dependency-tracking                   --with-libtool-sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb --enable-kernel=2.6.16                 --without-cvs --disable-profile                 --disable-debug --without-gd                 --enable-clocale=gnu                 --enable-add-ons                 --with-headers=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb/usr/include                 --without-selinux                 --enable-obsolete-rpc                 --with-kconfig=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/bin                  -with-cpu=e500mc

| checking build system type... x86_64-pc-linux-gnu

| checking host system type... powerpc-fsl_networking-linux-gnu

| checking for powerpc-fsl_networking-linux-gcc... powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap

| checking for suffix of object files... o

| checking whether we are using the GNU C compiler... yes

| checking whether powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap accepts -g... yes

| checking for powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap option to accept ISO C89... none needed

| checking for gcc... gcc

| checking how to run the C preprocessor... powerpc-fsl_networking-linux-gcc -E --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap  -m32 -mhard-float -mcpu=e500mc

| checking whether we are using the GNU C++ compiler... no

| checking whether powerpc-fsl_networking-linux-g++  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap accepts -g... no

| configure: running configure fragment for add-on libidn

| configure: running configure fragment for add-on nptl

| checking add-on ports for preconfigure fragments... alpha am33 arm hppa m68k mips powerpc tile

| checking for assembler gnu_indirect_function symbol type support... yes

| checking whether .text pseudo-op must be used... yes

| checking for assembler global-symbol directive... .globl

| checking for assembler .type directive prefix... @

| checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu sysdeps/powerpc/powerpc32/e500mc/fpu sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu sysdeps/powerpc/powerpc32/fpu nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 ports/sysdeps/unix/sysv/linux/powerpc/powerpc32 sysdeps/unix/sysv/linux/powerpc/powerpc32 nptl/sysdeps/unix/sysv/linux/powerpc ports/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc sysdeps/ieee754/ldbl-128ibm sysdeps/ieee754/ldbl-opt nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/powerpc nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc32/e500mc ports/sysdeps/powerpc/powerpc32 sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/fpu nptl/sysdeps/powerpc ports/sysdeps/powerpc sysdeps/powerpc sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic

| checking for a BSD-compatible install... /usr/bin/install -c

| checking whether ln -s works... yes

| checking whether /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as is GNU as... yes

| checking whether /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld is GNU ld... yes

| checking for /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as... /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as

| checking version of /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as... 2.23.1.20121113, ok

| checking for /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld... /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld

| checking version of /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld... 2.23.1.20121113, ok

| checking for pwd... /bin/pwd

| checking for powerpc-fsl_networking-linux-gcc... (cached) powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap

| checking version of powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap... 4.7.3, ok

| checking for gnumake... make

| checking version of make... 4.0, bad

| checking for gnumsgfmt... no

| checking for gmsgfmt... no

| checking for msgfmt... msgfmt

| checking version of msgfmt... 0.18.1, ok

| checking for makeinfo... makeinfo

| checking version of makeinfo... 4.13, ok

| checking for sed... sed

| checking version of sed... 4.2.1, ok

| checking for powerpc-fsl_networking-linux-readelf... powerpc-fsl_networking-linux-readelf

| checking for autoconf... autoconf

| checking whether autoconf works... yes

| configure: error:

| *** These critical programs are missing or too old: make

| *** Check the INSTALL file for required versions.

| Configure failed. The contents of all config.log files follows to aid debugging

| ERROR: oe_runconf failed

| ERROR: Function failed: do_configure (see /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl_networking-linux/eglibc/2.15-r3/temp/log.do_configure.17830 for further information)

ERROR: Task 34 (/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/meta-fsl-ppc-toolchain/recipes-devtools/eglibc/eglibc_2.15.bb, do_configure) failed with exit code '1'

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

No currently running tasks (181 of 1686)

Summary: 1 task failed:

  /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/meta-fsl-ppc-toolchain/recipes-devtools/eglibc/eglibc_2.15.bb, do_configure

Summary: There were 2 WARNING messages shown.

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

user@Ubuntu-TSG-Test:~/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release$

while reading config.log file its found like this

=================================

.

.

.

.

.

configure:3459: powerpc-fsl_networking-linux-g++  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap -c -g  conftest.cpp >&5

/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl_networking-linux/eglibc/2.15-r3/eglibc-2.15/libc/configure: line 3461: powerpc-fsl_networking-linux-g++: command not found

configure:3466: $? = 127

configure: failed program was:

| /* confdefs.h.  */

| #define PACKAGE_NAME "GNU C Library"

| #define PACKAGE_TARNAME "glibc"

| #define PACKAGE_VERSION "(see version.h)"

| #define PACKAGE_STRING "GNU C Library (see version.h)"

| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"

| /* end confdefs.h.  */

|

| int

| main ()

| {

|

|   ;

|   return 0;

| }

configure:3488: result: no

configure:4149: running configure fragment for add-on libidn

configure:4149: running configure fragment for add-on nptl

configure:4205: checking add-on ports for preconfigure fragments

configure:4212: result:

configure:4301: checking for assembler gnu_indirect_function symbol type support

configure:4317: result: yes

configure:4320: checking whether .text pseudo-op must be used

configure:4330: powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap  -c conftest.s 1>&5

configure:4333: $? = 0

configure:4344: result: yes

configure:4348: checking for assembler global-symbol directive

configure:4361: powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap  -c conftest.s 1>&5

configure:4364: $? = 0

configure:4372: result: .globl

configure:4385: checking for assembler .type directive prefix

configure:4401: powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap  -c conftest.s 1>&5

configure:4404: $? = 0

configure:4412: result: @

configure:4437: checking sysdep dirs

configure:4717: result: sysdeps/generic/elf sysdeps/generic

configure:4796: checking for a BSD-compatible install

configure:4864: result: /usr/bin/install -c

configure:4879: checking whether ln -s works

configure:4883: result: yes

configure:4909: checking whether /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as is GNU as

configure:4923: result: yes

configure:4928: checking whether /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld is GNU ld

configure:4942: result: yes

configure:4952: checking for /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as

configure:4979: result: /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as

configure:4994: checking version of /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/as

configure:5004: result: 2.23.1.20121113, ok

configure:5015: checking for /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld

configure:5042: result: /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld

configure:5057: checking version of /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/libexec/ppce500mc-fsl_networking-linux.gcc-cross-initial/gcc/powerpc-fsl_networking-linux/4.7.3/ld

configure:5067: result: 2.23.1.20121113, ok

configure:5082: checking for pwd

configure:5100: found /bin/pwd

configure:5113: result: /bin/pwd

configure:5134: checking for powerpc-fsl_networking-linux-gcc

configure:5161: result: powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap

configure:5176: checking version of powerpc-fsl_networking-linux-gcc  -m32 -mhard-float -mcpu=e500mc --sysroot=/home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/p2041rdb-tcbootstrap

configure:5186: result: 4.7.3, ok

configure:5197: checking for gnumake

configure:5224: result: make

configure:5239: checking version of make

configure:5249: result: 4.0, bad

configure:5261: checking for gnumsgfmt

configure:5291: result: no

configure:5261: checking for gmsgfmt

configure:5291: result: no

configure:5261: checking for msgfmt

configure:5277: found /usr/bin/msgfmt

configure:5288: result: msgfmt

configure:5303: checking version of msgfmt

configure:5313: result: 0.18.1, ok

configure:5324: checking for makeinfo

configure:5340: found /usr/bin/makeinfo

configure:5351: result: makeinfo

configure:5366: checking version of makeinfo

configure:5376: result: 4.13, ok

configure:5387: checking for sed

configure:5403: found /bin/sed

configure:5414: result: sed

configure:5429: checking version of sed

configure:5439: result: 4.2.1, ok

configure:5450: checking for powerpc-fsl_networking-linux-readelf

configure:5466: found /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/bin/ppce500mc-fsl_networking-linux/powerpc-fsl_networking-linux-readelf

configure:5477: result: powerpc-fsl_networking-linux-readelf

configure:5544: checking for autoconf

configure:5560: found /home/user/SYNC3000_SDK/yes/QorIQ-SDK-V1.5-20131219-yocto/build_p2041rdb_release/tmp/sysroots/x86_64-linux/usr/bin/autoconf

configure:5571: result: autoconf

configure:5586: checking whether autoconf works

configure:5597: result: yes

configure:5608: error:

*** These critical programs are missing or too old: make

*** Check the INSTALL file for required versions.
.
>

.

.

.

.

.

.

.

does anyone have the same problem ???

0 Kudos
1 Reply

486 Views
gokulcg
Contributor I

Solved!!!

the problem is because of incompatible version of make(4.0)  ,solved when make reverted to the version 3.8.2

0 Kudos