All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] intltool: inherit gettext to add missing dependency on gettext
@ 2011-09-25  0:11 Khem Raj
  2011-09-25 17:16 ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2011-09-25  0:11 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/intltool/intltool.inc       |    2 +-
 meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
index 23a1ee9..1e54feb 100644
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -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"
diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
index e9871fc..eae2b85 100644
--- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
@@ -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} \
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] intltool: inherit gettext to add missing dependency on gettext
  2011-09-25  0:11 [PATCH] intltool: inherit gettext to add missing dependency on gettext Khem Raj
@ 2011-09-25 17:16 ` Richard Purdie
  2011-09-26  0:22   ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2011-09-25 17:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sat, 2011-09-24 at 17:11 -0700, Khem Raj wrote:
> 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
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/intltool/intltool.inc       |    2 +-
>  meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
> index 23a1ee9..1e54feb 100644
> --- a/meta/recipes-devtools/intltool/intltool.inc
> +++ b/meta/recipes-devtools/intltool/intltool.inc
> @@ -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"
> diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
> index e9871fc..eae2b85 100644
> --- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
> +++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
> @@ -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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] intltool: inherit gettext to add missing dependency on gettext
  2011-09-25 17:16 ` Richard Purdie
@ 2011-09-26  0:22   ` Khem Raj
  2011-09-28 17:17     ` Saul Wold
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2011-09-26  0:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sun, Sep 25, 2011 at 10:16 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Sat, 2011-09-24 at 17:11 -0700, Khem Raj wrote:
>> 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
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/recipes-devtools/intltool/intltool.inc       |    2 +-
>>  meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
>> index 23a1ee9..1e54feb 100644
>> --- a/meta/recipes-devtools/intltool/intltool.inc
>> +++ b/meta/recipes-devtools/intltool/intltool.inc
>> @@ -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"
>> diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>> index e9871fc..eae2b85 100644
>> --- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>> +++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>> @@ -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?

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.
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] intltool: inherit gettext to add missing dependency on gettext
  2011-09-26  0:22   ` Khem Raj
@ 2011-09-28 17:17     ` Saul Wold
  2011-09-28 17:29       ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2011-09-28 17:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 09/25/2011 05:22 PM, Khem Raj wrote:
> On Sun, Sep 25, 2011 at 10:16 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org>  wrote:
>> On Sat, 2011-09-24 at 17:11 -0700, Khem Raj wrote:
>>> 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
>>>
>>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>>> ---
>>>   meta/recipes-devtools/intltool/intltool.inc       |    2 +-
>>>   meta/recipes-devtools/intltool/intltool_0.40.6.bb |    2 +-
>>>   2 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
>>> index 23a1ee9..1e54feb 100644
>>> --- a/meta/recipes-devtools/intltool/intltool.inc
>>> +++ b/meta/recipes-devtools/intltool/intltool.inc
>>> @@ -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"
>>> diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>> index e9871fc..eae2b85 100644
>>> --- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>> +++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>> @@ -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?
>
> 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!

>>
>> Cheers,
>>
>> Richard
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] intltool: inherit gettext to add missing dependency on gettext
  2011-09-28 17:17     ` Saul Wold
@ 2011-09-28 17:29       ` Khem Raj
  2011-09-28 17:35         ` Saul Wold
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2011-09-28 17:29 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

On 9/28/2011 10:17 AM, Saul Wold wrote:
> On 09/25/2011 05:22 PM, Khem Raj wrote:
>> On Sun, Sep 25, 2011 at 10:16 AM, Richard Purdie
>> <richard.purdie@linuxfoundation.org> wrote:
>>> On Sat, 2011-09-24 at 17:11 -0700, Khem Raj wrote:
>>>> 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
>>>>
>>>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>>>> ---
>>>> meta/recipes-devtools/intltool/intltool.inc | 2 +-
>>>> meta/recipes-devtools/intltool/intltool_0.40.6.bb | 2 +-
>>>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/meta/recipes-devtools/intltool/intltool.inc
>>>> b/meta/recipes-devtools/intltool/intltool.inc
>>>> index 23a1ee9..1e54feb 100644
>>>> --- a/meta/recipes-devtools/intltool/intltool.inc
>>>> +++ b/meta/recipes-devtools/intltool/intltool.inc
>>>> @@ -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"
>>>> diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>> b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>> index e9871fc..eae2b85 100644
>>>> --- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>> +++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>> @@ -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?
>>
>> 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.

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

>
>
> Sau!
>
>>>
>>> Cheers,
>>>
>>> Richard
>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] intltool: inherit gettext to add missing dependency on gettext
  2011-09-28 17:29       ` Khem Raj
@ 2011-09-28 17:35         ` Saul Wold
  0 siblings, 0 replies; 6+ messages in thread
From: Saul Wold @ 2011-09-28 17:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 09/28/2011 10:29 AM, Khem Raj wrote:
> On 9/28/2011 10:17 AM, Saul Wold wrote:
>> On 09/25/2011 05:22 PM, Khem Raj wrote:
>>> On Sun, Sep 25, 2011 at 10:16 AM, Richard Purdie
>>> <richard.purdie@linuxfoundation.org> wrote:
>>>> On Sat, 2011-09-24 at 17:11 -0700, Khem Raj wrote:
>>>>> 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
>>>>>
>>>>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>>>>> ---
>>>>> meta/recipes-devtools/intltool/intltool.inc | 2 +-
>>>>> meta/recipes-devtools/intltool/intltool_0.40.6.bb | 2 +-
>>>>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/meta/recipes-devtools/intltool/intltool.inc
>>>>> b/meta/recipes-devtools/intltool/intltool.inc
>>>>> index 23a1ee9..1e54feb 100644
>>>>> --- a/meta/recipes-devtools/intltool/intltool.inc
>>>>> +++ b/meta/recipes-devtools/intltool/intltool.inc
>>>>> @@ -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"
>>>>> diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>>> b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>>> index e9871fc..eae2b85 100644
>>>>> --- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>>> +++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
>>>>> @@ -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?
>>>
>>> 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.
>
> 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

> 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!


>>
>>
>> Sau!
>>
>>>>
>>>> Cheers,
>>>>
>>>> Richard
>>>>
>>>>
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core@lists.openembedded.org
>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-28 17:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-25  0:11 [PATCH] intltool: inherit gettext to add missing dependency on gettext Khem Raj
2011-09-25 17:16 ` Richard Purdie
2011-09-26  0:22   ` Khem Raj
2011-09-28 17:17     ` Saul Wold
2011-09-28 17:29       ` Khem Raj
2011-09-28 17:35         ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.