From patchwork Wed Oct 17 22:56:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3] eglibc: Move perl- and bash-using scripts to separate recipes Date: Wed, 17 Oct 2012 22:56:33 -0000 From: Phil Blundell X-Patchwork-Id: 38259 Message-Id: <1350514593.4470.175.camel@x121e.pbcl.net> To: Saul Wold Cc: openembedded-core@lists.openembedded.org 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: Do you have an easy way to reproduce the multilib failure? p. --- 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"