| Submitter | Phil Blundell |
|---|---|
| Date | Oct. 15, 2012, 9:46 a.m. |
| Message ID | <1350294414.3259.128.camel@phil-desktop> |
| Download | mbox | patch |
| Permalink | /patch/38149/ |
| State | New |
| Headers | show |
Comments
On 10/15/2012 02:46 AM, Phil Blundell wrote: > On Fri, 2012-10-12 at 10:44 -0700, Saul Wold wrote: > > On 09/25/2012 05:56 AM, Phil Blundell wrote: >>> This removes the dependency of eglibc.bb itself on perl and bash >>> which, in turn, eliminates the need to build those two recipes if the >>> scripts which need them are not going to be installed. >>> >> >> I think you missed dealing with an RPOVIDES someplace as I am getting >> the following error during build: >> >>> ERROR: Nothing RPROVIDES 'libc-mtrace' (but /intel/poky/distro/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb RDEPENDS on or otherwise requires it) >>> NOTE: Runtime target 'libc-mtrace' is unbuildable, removing... >>> Missing or unbuildable dependency chain was: ['libc-mtrace'] >>> ERROR: Required build target 'packagegroup-core-tools-debug' has no buildable providers. >>> Missing or unbuildable dependency chain was: ['packagegroup-core-tools-debug', 'libc-mtrace'] > > Right, sorry about that. The attached fixes this for me. > 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. Sau! > p. >
Patch
From 09acbe5c7b6c480400f7756f79cc13592416f4de Mon Sep 17 00:00:00 2001 From: Phil Blundell <philb@gnu.org> Date: Mon, 15 Oct 2012 10:45:11 +0100 Subject: [PATCH] eglibc-mtrace: Add libc-mtrace to PROVIDES Signed-off-by: Phil Blundell <pb@pbcl.net> --- meta/recipes-core/eglibc/eglibc-mtrace.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/eglibc/eglibc-mtrace.inc b/meta/recipes-core/eglibc/eglibc-mtrace.inc index 321de7b..1ec93ac 100644 --- a/meta/recipes-core/eglibc/eglibc-mtrace.inc +++ b/meta/recipes-core/eglibc/eglibc-mtrace.inc @@ -1,8 +1,10 @@ include eglibc-collateral.inc +PR = "r1" SUMMARY = "mtrace utility provided by eglibc" DESCRIPTION = "mtrace utility provided by eglibc" RDEPENDS_${PN} = "perl" +RPROVIDES_${PN} = "libc-mtrace" SRC = "${STAGING_INCDIR}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS}" -- 1.7.10.4