Patchwork [14/15] task-core-nfs: fix a bitbake error

login
register
mail settings
Submitter Saul Wold
Date May 15, 2011, 1:32 a.m.
Message ID <7ff23718bcda1a8b46a60373eb12463e0b7745d7.1305422996.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/4053/
State New, archived
Headers show

Comments

Saul Wold - May 15, 2011, 1:32 a.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

THis fixes following issue:

NOTE: Runtime target 'glibc-utilsglibc-utils' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['glibc-utilsglibc-utils']
NOTE: Runtime target 'task-core-nfs-server' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['task-core-nfs-server', 'glibc-utilsglibc-utils']

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-core/tasks/task-core-nfs.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - May 16, 2011, 2:26 p.m.
On Sat, 2011-05-14 at 18:32 -0700, Saul Wold wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> THis fixes following issue:
> 
> NOTE: Runtime target 'glibc-utilsglibc-utils' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['glibc-utilsglibc-utils']
> NOTE: Runtime target 'task-core-nfs-server' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['task-core-nfs-server', 'glibc-utilsglibc-utils']
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  meta/recipes-core/tasks/task-core-nfs.bb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-core/tasks/task-core-nfs.bb b/meta/recipes-core/tasks/task-core-nfs.bb
> index d5d8291..087f4f0 100644
> --- a/meta/recipes-core/tasks/task-core-nfs.bb
> +++ b/meta/recipes-core/tasks/task-core-nfs.bb
> @@ -20,7 +20,7 @@ RDEPENDS_task-core-nfs-server = "\
>      nfs-utils"
>  
>  # rpcinfo can be useful but only with glibc images
> -GLIBC_DEPENDENCIES = "glibc-utils"
> +GLIBC_DEPENDENCIES = " glibc-utils"
>  
>  RRECOMMENDS_task-core-nfs-server_append_linux = "${GLIBC_DEPENDENCIES}"
>  RRECOMMENDS_task-core-nfs-server_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}"

This is the wrong place to be adding the space. The space issue is
coming from the _append in the lines below and the space should
therefore be added there to make it clear why its there.

Cheers,

Richard

Patch

diff --git a/meta/recipes-core/tasks/task-core-nfs.bb b/meta/recipes-core/tasks/task-core-nfs.bb
index d5d8291..087f4f0 100644
--- a/meta/recipes-core/tasks/task-core-nfs.bb
+++ b/meta/recipes-core/tasks/task-core-nfs.bb
@@ -20,7 +20,7 @@  RDEPENDS_task-core-nfs-server = "\
     nfs-utils"
 
 # rpcinfo can be useful but only with glibc images
-GLIBC_DEPENDENCIES = "glibc-utils"
+GLIBC_DEPENDENCIES = " glibc-utils"
 
 RRECOMMENDS_task-core-nfs-server_append_linux = "${GLIBC_DEPENDENCIES}"
 RRECOMMENDS_task-core-nfs-server_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}"