[OE-core] [PATCH v3] eglibc: Move perl- and bash-using scripts to separate recipes

Richard Purdie richard.purdie at linuxfoundation.org
Thu Oct 18 09:59:41 UTC 2012


On Wed, 2012-10-17 at 23:56 +0100, Phil Blundell wrote:
> On Tue, 2012-10-16 at 20:33 -0700, Saul Wold wrote:
> > Another edge case?
> > > ERROR: Function failed: do_evacuate_scripts (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/i686-nativesdk-pokysdk-linux/nativesdk-eglibc-initial-2.16-r16+svnr20393/temp/log.do_evacuate_scripts.1600 for further information)
> > > ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/i686-nativesdk-pokysdk-linux/nativesdk-eglibc-initial-2.16-r16+svnr20393/temp/log.do_evacuate_scripts.1600
> > > Log data follows:
> > > | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i686-linux', 'common']
> > > | DEBUG: Executing shell function do_evacuate_scripts
> > > | cp: cannot stat `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/i686-nativesdk-pokysdk-linux/nativesdk-eglibc-initial-2.16-r16+svnr20393/image/opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/mtrace': No such file or directory
> > > | ERROR: Function failed: do_evacuate_scripts (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/i686-nativesdk-pokysdk-linux/nativesdk-eglibc-initial-2.16-r16+svnr20393/temp/log.do_evacuate_scripts.1600 for further information)
> > > NOTE: recipe nativesdk-eglibc-initial-2.16-r16+svnr20393: task do_evacuate_scripts: Failed
> > > NOTE: recipe gupnp-av-0.8.0-r2: task do_compile: Started
> > > ERROR: Task 1593 (virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/meta/recipes-core/eglibc/eglibc-initial_2.16.bb, do_evacuate_scripts) failed with exit code '1'
> > 
> > This was a build for the meta-toolchain-gmae, but I also saw this with 
> > the multilib build.
> 
> The issue with meta-toolchain-gmae is that eglibc-package.inc needs to
> declare an empty do_evacuate_scripts_pn-nativesdk-eglibc-initial(), like
> it does for pn-eglibc-initial.  Something along the lines of:
> 
> --- a/meta/recipes-core/eglibc/eglibc-package.inc
> +++ b/meta/recipes-core/eglibc/eglibc-package.inc
> @@ -121,6 +121,10 @@ do_evacuate_scripts_pn-eglibc-initial () {
>         :
>  }
>  
> +do_evacuate_scripts_pn-nativesdk-eglibc-initial () {
> +       :
> +}
> +
>  addtask evacuate_scripts after do_install before do_populate_sysroot do_package
>  
>  PACKAGE_PREPROCESS_FUNCS += "eglibc_package_preprocess"
> 
> Do you have an easy way to reproduce the multilib failure?

Its basically the same problem, the mulitlib libc-initial needs to be
set too. The reproducer would be something like:

local.conf:
MACHINE = qemux86
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
baselib_virtclass-multilib-lib32 = "lib32"

$ bitbake eglibc

The easiest solution is probably to change the do_evacuate_scripts
function to check for "-initial" in PN.

Cheers,

Richard









More information about the Openembedded-core mailing list