Patchwork [1/1] autoconf: fix nativesdk rdepends

login
register
mail settings
Submitter Nitin A Kamble
Date Jan. 6, 2012, 2:47 a.m.
Message ID <87b36a8c64f96232ffbcef6b6de086ad9779067a.1325817957.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/18529/
State Accepted
Commit df8d88e864fb6bdecf5c82b25c0252c3d54157ad
Headers show

Comments

Nitin A Kamble - Jan. 6, 2012, 2:47 a.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

Fixes this build error:

| error: Failed dependencies:
| 	m4 is needed by autoconf-nativesdk-2.68-r4.x86_64
| 	gnu-config is needed by autoconf-nativesdk-2.68-r4.x86_64
NOTE: package meta-toolchain-1.0-r6: task do_populate_sdk: Failed
ERROR: Task 8 (.../meta/recipes-core/meta/meta-toolchain.bb,
do_populate_sdk) failed with exit code '1'

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-devtools/autoconf/autoconf.inc     |    2 ++
 meta/recipes-devtools/autoconf/autoconf_2.68.bb |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
Richard Purdie - Jan. 6, 2012, 9:22 a.m.
On Thu, 2012-01-05 at 18:47 -0800, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> Fixes this build error:
> 
> | error: Failed dependencies:
> | 	m4 is needed by autoconf-nativesdk-2.68-r4.x86_64
> | 	gnu-config is needed by autoconf-nativesdk-2.68-r4.x86_64
> NOTE: package meta-toolchain-1.0-r6: task do_populate_sdk: Failed
> ERROR: Task 8 (.../meta/recipes-core/meta/meta-toolchain.bb,
> do_populate_sdk) failed with exit code '1'
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  meta/recipes-devtools/autoconf/autoconf.inc     |    2 ++
>  meta/recipes-devtools/autoconf/autoconf_2.68.bb |    2 +-
>  2 files changed, 3 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
index 1d0cf90..e7ae339 100644
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -9,6 +9,8 @@  DEPENDS += "m4-native"
 DEPENDS_virtclass-native = "m4-native gnu-config-native"
 DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
 RDEPENDS_${PN} = "m4 gnu-config"
+RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
+RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
 
 SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
 	   file://program_prefix.patch"
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.68.bb b/meta/recipes-devtools/autoconf/autoconf_2.68.bb
index 84eb182..63db7d1 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.68.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.68.bb
@@ -1,6 +1,6 @@ 
 require autoconf.inc
 
-PR = "r4"
+PR = "r5"
 
 PARALLEL_MAKE = ""