Re: external-sourcery-toolchain: cp: cannot stat `/tool/yocto/poky/build/tmp/sysroots/virtex5/usr/share/gettext/config.rpath': No such file or directory


Elvis Dowson
 

Hi,

On Aug 10, 2012, at 9:07 PM, Elvis Dowson wrote:

When using the mentor external-sourcery-toolchain, I get the following error:

NOTE: package gdbm-1.10-r3: task do_configure: Started
ERROR: Function failed: do_configure (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/gdbm-1.10-r3/temp/log.do_configure.53409 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/gdbm-1.10-r3/temp/log.do_configure.53409
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 do_configure
| automake (GNU automake) 1.12.1
| Copyright (C) 2012 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| Written by Tom Tromey <tromey@...>
|        and Alexandre Duret-Lutz <adl@...>.
| AUTOV is 1.12
| cp: cannot stat `/tool/yocto/poky/build/tmp/sysroots/virtex5/usr/share/gettext/config.rpath': No such file or directory
| ERROR: Function failed: do_configure (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/gdbm-1.10-r3/temp/log.do_configure.53409 for further information)
NOTE: package gdbm-1.10-r3: task do_configure: Failed
ERROR: Task 541 (/tool/yocto/poky/meta/recipes-support/gdbm/gdbm_1.10.bb, do_configure) failed with exit code '1'


I solved the problem, I ignored a warning saying that there were multiple providers for virtual/gettext. 

When I looked at the target folder, gettext was missing. 

I added the following entry to my local.conf file, and the build is now progressing :

PREFERRED_PROVIDER_virtual/gettext = "gettext"

Elvis Dowson


Join {yocto@lists.yoctoproject.org to automatically receive all group messages.