Skip to contentSkip to conversation

intltool: inherit gettext to add missing dependency on gettext

PATCH In review Khem Raj 3 participants 6 messages Sep 25, 2011 – Sep 28, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 intltool: inherit gettext to add missing dependency on gettext

Fixes the error like below

| configure: error: GNU gettext tools not found; required for intltool
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed
---
 meta/recipes-devtools/intltool/intltool.inc       |    2 +-
 meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/intltool/intltool.inc +1 -1
index 23a1ee9..1e54feb 100644
@@ -12,7 +12,7 @@ DEPENDS_virtclass-native = "libxml-parser-perl-native"
 RRECOMMENDS_${PN} = "perl-modules"
 RRECOMMENDS_${PN}_virtclass-native = ""
 
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative gettext
 
 export PERL = "${bindir}/env perl"
 PERL_virtclass-native = "/usr/bin/env nativeperl"
meta/recipes-devtools/intltool/intltool_0.40.6.bb +1 -1
index e9871fc..eae2b85 100644
@@ -1,7 +1,7 @@
 require intltool.inc
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r5"
+PR = "r6"
 
 SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
                    ${NATIVEPATCHES} \
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 31 lines · Khem Raj

Fixes the error like below

| configure: error: GNU gettext tools not found; required for intltool
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed
---
 meta/recipes-devtools/intltool/intltool.inc       |    2 +-
 meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/intltool/intltool.inc +1 -1
index 23a1ee9..1e54feb 100644
@@ -12,7 +12,7 @@ DEPENDS_virtclass-native = "libxml-parser-perl-native"
 RRECOMMENDS_${PN} = "perl-modules"
 RRECOMMENDS_${PN}_virtclass-native = ""
 
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative gettext
 
 export PERL = "${bindir}/env perl"
 PERL_virtclass-native = "/usr/bin/env nativeperl"
meta/recipes-devtools/intltool/intltool_0.40.6.bb +0 -0
index e9871fc..eae2b85 100644

meta/recipes-devtools/intltool/intltool_0.40.6.bb line 7

Quoted 8 lines
meta/recipes-devtools/intltool/intltool_0.40.6.bb +1 -1
@@ -1,7 +1,7 @@
 require intltool.inc
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r5"
+PR = "r6"
 
 SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
                    ${NATIVEPATCHES} \

I investigated this one and intltool requires gettext at runtime, not build time. Which package did you see the above error from as I suspect it wasn't intltool itself but something using it?

Cheers,

Richard

author
#2 lore raw
Quoted 38 lines · Richard Purdie
Quoted 37 lines · Khem Raj

Fixes the error like below

| configure: error: GNU gettext tools not found; required for intltool
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed

---
 meta/recipes-devtools/intltool/intltool.inc       |    2 +- meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-

 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/intltool/intltool.inc +0 -0
index 23a1ee9..1e54feb 100644
@@ -12,7 +12,7 @@ DEPENDS_virtclass-native = "libxml-parser-perl-native"

 RRECOMMENDS_${PN} = "perl-modules"
 RRECOMMENDS_${PN}_virtclass-native = ""

meta/recipes-devtools/intltool/intltool.inc +1 -1
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative gettext

 export PERL = "${bindir}/env perl" PERL_virtclass-native = "/usr/bin/env nativeperl"

meta/recipes-devtools/intltool/intltool_0.40.6.bb +0 -0
index e9871fc..eae2b85 100644
@@ -1,7 +1,7 @@

 require intltool.inc
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

meta/recipes-devtools/intltool/intltool_0.40.6.bb +1 -1
-PR = "r5"
+PR = "r6"
Quoted 6 lines
Quoted 2 lines

 SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
                    ${NATIVEPATCHES} \

I investigated this one and intltool requires gettext at runtime, not build time. Which package did you see the above error from as I suspect it wasn't intltool itself but something using it?

It was intltool itself. The situation happens during rebuild when intltool and gettext-native both are to be rebuilt
and other deps are already there. it doesnt usually happen since we build gettext-native pretty early.

Quoted 11 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 47 lines · Khem Raj
Quoted 38 lines · Richard Purdie
Quoted 37 lines · Khem Raj

Fixes the error like below

| configure: error: GNU gettext tools not found; required for intltool
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed
---
  meta/recipes-devtools/intltool/intltool.inc       |    2 +-
  meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/intltool/intltool.inc +1 -1
index 23a1ee9..1e54feb 100644
@@ -12,7 +12,7 @@ DEPENDS_virtclass-native = "libxml-parser-perl-native"
  RRECOMMENDS_${PN} = "perl-modules"
  RRECOMMENDS_${PN}_virtclass-native = ""
 
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative gettext
 
  export PERL = "${bindir}/env perl"
  PERL_virtclass-native = "/usr/bin/env nativeperl"
meta/recipes-devtools/intltool/intltool_0.40.6.bb +1 -1
index e9871fc..eae2b85 100644
@@ -1,7 +1,7 @@
  require intltool.inc
  LICENSE="GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r5"
+PR = "r6"
 
Quoted 6 lines

meta/recipes-devtools/intltool/intltool_0.40.6.bb line 7

Quoted 2 lines
meta/recipes-devtools/intltool/intltool_0.40.6.bb +0 -0
  SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
                     ${NATIVEPATCHES} \

I investigated this one and intltool requires gettext at runtime, not build time. Which package did you see the above error from as I suspect it wasn't intltool itself but something using it?

Quoted 4 lines

It was intltool itself. The situation happens during rebuild when intltool and gettext-native both are to be rebuilt
and other deps are already there. it doesnt usually happen since we build gettext-native pretty early.

Khem,

I verified this, and I also noted that if I did a cleansstate on intltool and gettext-native, that gettext-native would be rebuilt, but I also checked bitbake -b intltool and it completed successfully with no errors, so the dependency is buried in one of intltool's dependencies, thus getting built.

So there is no direct dependency on gettext-native by intltool.

Sau!

Quoted 16 lines
Quoted 11 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

author
#4 lore raw
Quoted 59 lines · Saul Wold
Quoted 51 lines · Khem Raj
Quoted 42 lines · Richard Purdie
Quoted 41 lines · Khem Raj

Fixes the error like below

| configure: error: GNU gettext tools not found; required for intltool
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed

---
meta/recipes-devtools/intltool/intltool.inc | 2 +- meta/recipes-devtools/intltool/intltool_0.40.6.bb | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/intltool/intltool.inc +0 -0
index 23a1ee9..1e54feb 100644
@@ -12,7 +12,7 @@ DEPENDS_virtclass-native =

"libxml-parser-perl-native"
RRECOMMENDS_${PN} = "perl-modules"
RRECOMMENDS_${PN}_virtclass-native = ""

meta/recipes-devtools/intltool/intltool.inc +1 -1
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative gettext

export PERL = "${bindir}/env perl" PERL_virtclass-native = "/usr/bin/env nativeperl"

meta/recipes-devtools/intltool/intltool_0.40.6.bb +0 -0
index e9871fc..eae2b85 100644
@@ -1,7 +1,7 @@

require intltool.inc
LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

meta/recipes-devtools/intltool/intltool_0.40.6.bb +1 -1
-PR = "r5"
+PR = "r6"
Quoted 6 lines
Quoted 2 lines

SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
${NATIVEPATCHES} \

I investigated this one and intltool requires gettext at runtime, not build time. Which package did you see the above error from as I suspect it wasn't intltool itself but something using it?

Quoted 4 lines

It was intltool itself. The situation happens during rebuild when intltool and gettext-native both are to be rebuilt
and other deps are already there. it doesnt usually happen since we build gettext-native pretty early.

Khem,

Quoted 7 lines

I verified this, and I also noted that if I did a cleansstate on intltool and gettext-native, that gettext-native would be rebuilt, but I also checked bitbake -b intltool and it completed successfully with no errors, so the dependency is buried in one of intltool's dependencies, thus getting built.

So there is no direct dependency on gettext-native by intltool.

yes intltool has runtime dependency on gettext-native but not buildtime AFAICT. I dont have those logs any more so cant go back and check.

Hold on to this patch for now. i will remove it locally and do a rebuild and see if I hit it again

Quoted 21 lines

Sau!

Quoted 16 lines
Quoted 11 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#5 lore raw
Quoted 66 lines · Khem Raj
Quoted 65 lines · Saul Wold
Quoted 51 lines · Khem Raj
Quoted 42 lines · Richard Purdie
Quoted 41 lines · Khem Raj

Fixes the error like below

| configure: error: GNU gettext tools not found; required for intltool
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed

---
meta/recipes-devtools/intltool/intltool.inc | 2 +- meta/recipes-devtools/intltool/intltool_0.40.6.bb | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/intltool/intltool.inc +0 -0
index 23a1ee9..1e54feb 100644
@@ -12,7 +12,7 @@ DEPENDS_virtclass-native =

"libxml-parser-perl-native"
RRECOMMENDS_${PN} = "perl-modules"
RRECOMMENDS_${PN}_virtclass-native = ""

meta/recipes-devtools/intltool/intltool.inc +1 -1
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative gettext

export PERL = "${bindir}/env perl" PERL_virtclass-native = "/usr/bin/env nativeperl"

meta/recipes-devtools/intltool/intltool_0.40.6.bb +0 -0
index e9871fc..eae2b85 100644
@@ -1,7 +1,7 @@

require intltool.inc
LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

meta/recipes-devtools/intltool/intltool_0.40.6.bb +1 -1
-PR = "r5"
+PR = "r6"
Quoted 6 lines
Quoted 2 lines

SRC_URI_append = " file://intltool-nowarn-0.40.0.patch \
${NATIVEPATCHES} \

I investigated this one and intltool requires gettext at runtime, not build time. Which package did you see the above error from as I suspect it wasn't intltool itself but something using it?

Quoted 4 lines

It was intltool itself. The situation happens during rebuild when intltool and gettext-native both are to be rebuilt
and other deps are already there. it doesnt usually happen since we build gettext-native pretty early.

Khem,

I verified this, and I also noted that if I did a cleansstate on intltool and gettext-native, that gettext-native would be rebuilt, but I also checked bitbake -b intltool and it completed successfully with no errors, so the dependency is buried in one of intltool's dependencies, thus getting built.

Quoted 5 lines
Quoted 1 line

So there is no direct dependency on gettext-native by intltool.

yes intltool has runtime dependency on gettext-native but not buildtime AFAICT. I dont have those logs any more so cant go back and check.

Sorry, I meant no direct buildtime above

Quoted 3 lines

Hold on to this patch for now. i will remove it locally and do a rebuild and see if I hit it again

OK will hold it.

Sau!

Quoted 28 lines
Quoted 21 lines

Sau!

Quoted 16 lines
Quoted 11 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core