* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-06 14:48 [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console Koen Kooi
@ 2011-05-06 14:57 ` Mark Hatle
2011-05-06 15:19 ` Tom Rini
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Mark Hatle @ 2011-05-06 14:57 UTC (permalink / raw)
To: openembedded-core
Acked-by: Mark Hatle <mark.hatle@windriver.com>
On 5/6/11 9:48 AM, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> meta/classes/package.bbclass | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
> index e6b3df7..082f233 100644
> --- a/meta/classes/package.bbclass
> +++ b/meta/classes/package.bbclass
> @@ -676,9 +676,9 @@ python populate_packages () {
> unshipped.append(path)
>
> if unshipped != []:
> - bb.note("the following files were installed but not shipped in any package:")
> + bb.warn("the following files were installed but not shipped in any package:")
> for f in unshipped:
> - bb.note(" " + f)
> + bb.warn(" " + f)
>
> bb.build.exec_func("package_name_hook", d)
>
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-06 14:48 [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console Koen Kooi
2011-05-06 14:57 ` Mark Hatle
@ 2011-05-06 15:19 ` Tom Rini
2011-05-07 16:50 ` Darren Hart
2011-05-09 16:06 ` Saul Wold
3 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2011-05-06 15:19 UTC (permalink / raw)
To: openembedded-core
On 05/06/2011 07:48 AM, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> meta/classes/package.bbclass | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
> index e6b3df7..082f233 100644
> --- a/meta/classes/package.bbclass
> +++ b/meta/classes/package.bbclass
> @@ -676,9 +676,9 @@ python populate_packages () {
> unshipped.append(path)
>
> if unshipped != []:
> - bb.note("the following files were installed but not shipped in any package:")
> + bb.warn("the following files were installed but not shipped in any package:")
> for f in unshipped:
> - bb.note(" " + f)
> + bb.warn(" " + f)
>
> bb.build.exec_func("package_name_hook", d)
>
Acked-by: Tom Rini <tom_rini@mentor.com>
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-06 14:48 [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console Koen Kooi
2011-05-06 14:57 ` Mark Hatle
2011-05-06 15:19 ` Tom Rini
@ 2011-05-07 16:50 ` Darren Hart
2011-05-08 6:23 ` Khem Raj
2011-05-09 9:48 ` Richard Purdie
2011-05-09 16:06 ` Saul Wold
3 siblings, 2 replies; 9+ messages in thread
From: Darren Hart @ 2011-05-07 16:50 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
According to my discussion with RP, bb.note() is supposed to appear on
the console. If it doesn't, that is a bug in bitbake, not the recipe
logging. I used this information to document the intended use of the
similarly named bbnote() in logging.bbclass.
--
Darren
On Fri, 2011-05-06 at 16:48 +0200, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> meta/classes/package.bbclass | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
> index e6b3df7..082f233 100644
> --- a/meta/classes/package.bbclass
> +++ b/meta/classes/package.bbclass
> @@ -676,9 +676,9 @@ python populate_packages () {
> unshipped.append(path)
>
> if unshipped != []:
> - bb.note("the following files were installed but not shipped in any package:")
> + bb.warn("the following files were installed but not shipped in any package:")
> for f in unshipped:
> - bb.note(" " + f)
> + bb.warn(" " + f)
>
> bb.build.exec_func("package_name_hook", d)
>
--
Darren Hart
Yocto Linux Kernel
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-07 16:50 ` Darren Hart
@ 2011-05-08 6:23 ` Khem Raj
2011-05-09 7:11 ` Koen Kooi
2011-05-09 9:48 ` Richard Purdie
1 sibling, 1 reply; 9+ messages in thread
From: Khem Raj @ 2011-05-08 6:23 UTC (permalink / raw)
To: openembedded-core
On 5/7/2011 9:50 AM, Darren Hart wrote:
> According to my discussion with RP, bb.note() is supposed to appear on
> the console. If it doesn't, that is a bug in bitbake, not the recipe
it does if we increase verbosity but it also dumps a lot of other
information along. Default is to print errors and warnings which seems a
sane default to me. May be there is another level which dumps notes on
top and then as you increase the level you get more info dumped would be
a good to have
> logging. I used this information to document the intended use of the
> similarly named bbnote() in logging.bbclass.
>
> --
> Darren
>
> On Fri, 2011-05-06 at 16:48 +0200, Koen Kooi wrote:
>> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
>> ---
>> meta/classes/package.bbclass | 4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
>> index e6b3df7..082f233 100644
>> --- a/meta/classes/package.bbclass
>> +++ b/meta/classes/package.bbclass
>> @@ -676,9 +676,9 @@ python populate_packages () {
>> unshipped.append(path)
>>
>> if unshipped != []:
>> - bb.note("the following files were installed but not shipped in any package:")
>> + bb.warn("the following files were installed but not shipped in any package:")
>> for f in unshipped:
>> - bb.note(" " + f)
>> + bb.warn(" " + f)
>>
>> bb.build.exec_func("package_name_hook", d)
>>
>
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-08 6:23 ` Khem Raj
@ 2011-05-09 7:11 ` Koen Kooi
2011-05-09 7:16 ` Graeme Gregory
0 siblings, 1 reply; 9+ messages in thread
From: Koen Kooi @ 2011-05-09 7:11 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 8 mei 2011, om 08:23 heeft Khem Raj het volgende geschreven:
> On 5/7/2011 9:50 AM, Darren Hart wrote:
>> According to my discussion with RP, bb.note() is supposed to appear on
>> the console. If it doesn't, that is a bug in bitbake, not the recipe
>
> it does if we increase verbosity but it also dumps a lot of other information along. Default is to print errors and warnings which seems a sane default to me. May be there is another level which dumps notes on
> top and then as you increase the level you get more info dumped would be
> a good to have
I still think that all unpackaged files are a bug, so it's more than a note anyway.
regards,
Koen
>
>> logging. I used this information to document the intended use of the
>> similarly named bbnote() in logging.bbclass.
>>
>> --
>> Darren
>>
>> On Fri, 2011-05-06 at 16:48 +0200, Koen Kooi wrote:
>>> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
>>> ---
>>> meta/classes/package.bbclass | 4 ++--
>>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
>>> index e6b3df7..082f233 100644
>>> --- a/meta/classes/package.bbclass
>>> +++ b/meta/classes/package.bbclass
>>> @@ -676,9 +676,9 @@ python populate_packages () {
>>> unshipped.append(path)
>>>
>>> if unshipped != []:
>>> - bb.note("the following files were installed but not shipped in any package:")
>>> + bb.warn("the following files were installed but not shipped in any package:")
>>> for f in unshipped:
>>> - bb.note(" " + f)
>>> + bb.warn(" " + f)
>>>
>>> bb.build.exec_func("package_name_hook", d)
>>>
>>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-09 7:11 ` Koen Kooi
@ 2011-05-09 7:16 ` Graeme Gregory
0 siblings, 0 replies; 9+ messages in thread
From: Graeme Gregory @ 2011-05-09 7:16 UTC (permalink / raw)
To: openembedded-core
On 09/05/2011 08:11, Koen Kooi wrote:
> Op 8 mei 2011, om 08:23 heeft Khem Raj het volgende geschreven:
>
>> On 5/7/2011 9:50 AM, Darren Hart wrote:
>>> According to my discussion with RP, bb.note() is supposed to appear on
>>> the console. If it doesn't, that is a bug in bitbake, not the recipe
>> it does if we increase verbosity but it also dumps a lot of other information along. Default is to print errors and warnings which seems a sane default to me. May be there is another level which dumps notes on
>> top and then as you increase the level you get more info dumped would be
>> a good to have
> I still think that all unpackaged files are a bug, so it's more than a note anyway.
>
rpmbuild would agree with you there, so its not without precedence.
G
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-07 16:50 ` Darren Hart
2011-05-08 6:23 ` Khem Raj
@ 2011-05-09 9:48 ` Richard Purdie
1 sibling, 0 replies; 9+ messages in thread
From: Richard Purdie @ 2011-05-09 9:48 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On Sat, 2011-05-07 at 09:50 -0700, Darren Hart wrote:
> According to my discussion with RP, bb.note() is supposed to appear on
> the console. If it doesn't, that is a bug in bitbake, not the recipe
> logging. I used this information to document the intended use of the
> similarly named bbnote() in logging.bbclass.
What we said was that bb.note from "core" context appears on the
console, bb.note from task context does not as it makes the default
console too verbose.
I'm in agreement that unpackaged files should be a warning.
Cheers,
Richard
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console
2011-05-06 14:48 [PATCH] package.bbclass: convert unpackaged file message from 'info' to 'warn' so that it shows up on the console Koen Kooi
` (2 preceding siblings ...)
2011-05-07 16:50 ` Darren Hart
@ 2011-05-09 16:06 ` Saul Wold
3 siblings, 0 replies; 9+ messages in thread
From: Saul Wold @ 2011-05-09 16:06 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On 05/06/2011 07:48 AM, Koen Kooi wrote:
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
> meta/classes/package.bbclass | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
> index e6b3df7..082f233 100644
> --- a/meta/classes/package.bbclass
> +++ b/meta/classes/package.bbclass
> @@ -676,9 +676,9 @@ python populate_packages () {
> unshipped.append(path)
>
> if unshipped != []:
> - bb.note("the following files were installed but not shipped in any package:")
> + bb.warn("the following files were installed but not shipped in any package:")
> for f in unshipped:
> - bb.note(" " + f)
> + bb.warn(" " + f)
>
> bb.build.exec_func("package_name_hook", d)
>
Pulled into oe-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 9+ messages in thread