Hi,
thanks a lot it solves my last fail, i configured gcc-external.inc( at the meta-sourcery)
with PROVIDES +=gcc-source. Then it appeared the following fail:
ERROR: Task do_configure in /home/s/Yocto/poky/meta-sourcery-master/recipes-external/gcc/gcc-runtime-external.bb depends upon
non-existent task do_preconfigure in /home/s/Yocto/poky/meta-sourcery-master/recipes-external/gcc/gcc-external-cross.bb.
Then i wrote "require recipes-devtools/gcc/gcc-source.inc" at the top of gcc-external-cross.bb and it starts to build, but with this error.
s@vmint ~/Yocto/poky/build $ bitbake core-image-minimal
WARNING: Host distribution "LinuxMint-1" 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.
Loading cache: 100% |#########################################################################################################################
#############################| ETA: 00:00:00
Loaded 1298 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################
############################| Time: 00:00:00
Parsing of 896 .bb files complete (895 cached, 1 parsed). 1297 targets, 81 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "LinuxMint-1"
TARGET_SYS = "powerpc-e500v2-linux-gnuspe"
MACHINE = "powerpc"
DISTRO = "poky"
DISTRO_VERSION = "1.8.1"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
EXTERNAL_TOOLCHAIN = "/home/s/x-tools/powerpc-e500v2-linux-gnuspe"
SOURCERY_VERSION = "s-1.0"
GCC_VERSION = "4.7.2"
meta
meta-yocto
meta-yocto-bsp
meta-powerpc
meta-sourcery-master = "<unknown>:<unknown>"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Error executing a python function in /home/s/Yocto/poky/meta-sourcery-master/recipes-external/gcc/gcc-external-cross.bb:
The stack trace of python calls that resulted in this exception/failure was:
File: 'do_preconfigure', lineno: 12, function: <module>
0008: cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' /home/s/Yocto/poky/build/tmp/work-shared/gcc-4.7.2-s-1.0-r0/gcc/configure")
0009: subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
0010:
0011:
*** 0012:do_preconfigure(d)
0013:
File: 'do_preconfigure', lineno: 5, function: do_preconfigure
0001:
0002:def do_preconfigure(d):
0003: import subprocess
0004: cmd = d.expand('PATH=/home/s/Yocto/poky/scripts:/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/usr/bin/powerpc-e500v2-linux-gnuspe:
/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/usr/bin/powerpc-e500v2-linux-gnuspe/crossscripts:/
home/s/Yocto/poky/build/tmp/sysroots/i686-linux/usr/sbin:
/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/usr/bin:/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/sbin:/home/s/Yocto/poky/
build/tmp/sysroots/i686-linux/bin:/home/s/Yocto/poky/scripts:/home/s/Yocto/poky/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:
/usr/games cd /home/s/Yocto/poky/build/tmp/work-shared/gcc-4.7.2-s-1.0-r0 && gnu-configize')
*** 0005: subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
0006: # See 0044-gengtypes.patch, we need to regenerate this file
0007: bb.utils.remove(d.expand("/home/s/Yocto/poky/build/tmp/work-shared/gcc-4.7.2-s-1.0-r0/gcc/gengtype-lex.c"))
0008: cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' /home/s/Yocto/poky/build/tmp/work-shared/gcc-4.7.2-s-1.0-r0/gcc/configure")
0009: subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
File: '/usr/lib/python2.7/subprocess.py', lineno: 575, function: check_output
0571: if retcode:
0572: cmd = kwargs.get("args")
0573: if cmd is None:
0574: cmd = popenargs[0]
*** 0575: raise CalledProcessError(retcode, cmd, output=output)
0576: return output
0577:
0578:
0579:def list2cmdline(seq):
Exception: CalledProcessError: Command 'PATH=/home/s/Yocto/poky/scripts:/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/usr/bin
/powerpc-e500v2-linux-gnuspe:/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/home/s/Yocto/poky/build/tmp/sysroots/i686-linux
/usr/bin/powerpc-e500v2-linux-gnuspe/crossscripts:/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/usr/sbin:/home/s/Yocto/poky
/build/tmp/sysroots/i686-linux/usr/bin:/home/s/Yocto/poky/build/tmp/sysroots/i686-linux/sbin:/home/s/Yocto/poky/build/tmp/sysroots
/i686-linux/bin:/home/s/Yocto/poky/scripts:/home/s/Yocto/poky/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
cd /home/s/Yocto/poky/build/tmp/work-shared/gcc-4.7.2-s-1.0-r0 && gnu-configize' returned non-zero exit status 1
ERROR: Function failed: do_preconfigure
ERROR: Logfile of failure stored in: /home/s/Yocto/poky/build/tmp/work-shared/gcc-4.7.2-s-1.0-r0/temp/log.do_preconfigure.4083
ERROR: Task 403 (/home/s/Yocto/poky/meta-sourcery-master/recipes-external/gcc/gcc-external-cross.bb, do_preconfigure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 139 tasks of which 2 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/s/Yocto/poky/meta-sourcery-master/recipes-external/gcc/gcc-external-cross.bb, do_preconfigure
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I am very thankful for any help!