All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake listtasks broken
@ 2010-11-25 11:06 Gary Thomas
  2010-11-25 11:38 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2010-11-25 11:06 UTC (permalink / raw)
  To: Poky

Filed as bug #548

This command [no longer?] produces any output:
   bitbake recipe -c listtasks

$ bitbake qemu -c listtasks
NOTE: Handling BitBake files: | (0756/0756) [100 %]
Parsing of 756 .bb files complete (0 cached, 756 parsed). 913 targets, 34 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "local_master"
METADATA_REVISION = "94b1fda09671b58aafb54983e4a6e499f6ffc369"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "0.9+snapshot-20101125"
TARGET_FPU        = ""

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Full skip list set([])
NOTE: Running task 1 of 1 (ID: 0, /tmp/poky-amltd/meta/recipes-devtools/qemu/qemu_0.12.4.bb, do_listtasks)
NOTE: package qemu-0.12.4-r22: task do_listtasks: Started
NOTE: package qemu-0.12.4-r22: task do_listtasks: Succeeded
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: bitbake listtasks broken
  2010-11-25 11:06 bitbake listtasks broken Gary Thomas
@ 2010-11-25 11:38 ` Gary Thomas
  2010-11-26  2:29   ` Tian, Kevin
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2010-11-25 11:38 UTC (permalink / raw)
  To: Poky

On 11/25/2010 04:06 AM, Gary Thomas wrote:
> Filed as bug #548
>
> This command [no longer?] produces any output:
> bitbake recipe -c listtasks
>
> $ bitbake qemu -c listtasks
> NOTE: Handling BitBake files: | (0756/0756) [100 %]
> Parsing of 756 .bb files complete (0 cached, 756 parsed). 913 targets, 34 skipped, 0 masked, 0 errors.
>
> OE Build Configuration:
> BB_VERSION = "1.11.0"
> METADATA_BRANCH = "local_master"
> METADATA_REVISION = "94b1fda09671b58aafb54983e4a6e499f6ffc369"
> TARGET_ARCH = "i586"
> TARGET_OS = "linux"
> MACHINE = "qemux86"
> DISTRO = "poky"
> DISTRO_VERSION = "0.9+snapshot-20101125"
> TARGET_FPU = ""
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Full skip list set([])
> NOTE: Running task 1 of 1 (ID: 0, /tmp/poky-amltd/meta/recipes-devtools/qemu/qemu_0.12.4.bb, do_listtasks)
> NOTE: package qemu-0.12.4-r22: task do_listtasks: Started
> NOTE: package qemu-0.12.4-r22: task do_listtasks: Succeeded
> NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.

To be fair, it does do something, but the results are hidden in
the temp/log.do_listtasks file.  Certainly not what the documentation
implies...

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: bitbake listtasks broken
  2010-11-25 11:38 ` Gary Thomas
@ 2010-11-26  2:29   ` Tian, Kevin
  2010-11-28 15:42     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Tian, Kevin @ 2010-11-26  2:29 UTC (permalink / raw)
  To: Gary Thomas, Poky

>From: Gary Thomas
>Sent: Thursday, November 25, 2010 7:38 PM
>
>On 11/25/2010 04:06 AM, Gary Thomas wrote:
>> Filed as bug #548
>>
>> This command [no longer?] produces any output:
>> bitbake recipe -c listtasks
>>
>> $ bitbake qemu -c listtasks
>> NOTE: Handling BitBake files: | (0756/0756) [100 %]
>> Parsing of 756 .bb files complete (0 cached, 756 parsed). 913 targets, 34 skipped, 0
>masked, 0 errors.
>>
>> OE Build Configuration:
>> BB_VERSION = "1.11.0"
>> METADATA_BRANCH = "local_master"
>> METADATA_REVISION = "94b1fda09671b58aafb54983e4a6e499f6ffc369"
>> TARGET_ARCH = "i586"
>> TARGET_OS = "linux"
>> MACHINE = "qemux86"
>> DISTRO = "poky"
>> DISTRO_VERSION = "0.9+snapshot-20101125"
>> TARGET_FPU = ""
>>
>> NOTE: Resolving any missing task queue dependencies
>> NOTE: Preparing runqueue
>> NOTE: Executing runqueue
>> NOTE: Full skip list set([])
>> NOTE: Running task 1 of 1 (ID: 0,
>/tmp/poky-amltd/meta/recipes-devtools/qemu/qemu_0.12.4.bb, do_listtasks)
>> NOTE: package qemu-0.12.4-r22: task do_listtasks: Started
>> NOTE: package qemu-0.12.4-r22: task do_listtasks: Succeeded
>> NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.
>
>To be fair, it does do something, but the results are hidden in
>the temp/log.do_listtasks file.  Certainly not what the documentation
>implies...
>

Previously python tasks were not logged, so do_listtasks get its output to the console.

Now all python and shell tasks are logged, that's why you see output in a log file now.

But I agree that it's not convenient to search WORKDIR for such information. I'm working
a fix by use bb.msg.note instead.

Thanks
Kevin


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

* Re: bitbake listtasks broken
  2010-11-26  2:29   ` Tian, Kevin
@ 2010-11-28 15:42     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2010-11-28 15:42 UTC (permalink / raw)
  To: Tian, Kevin; +Cc: Poky

On Fri, 2010-11-26 at 10:29 +0800, Tian, Kevin wrote:
> >From: Gary Thomas
> >Sent: Thursday, November 25, 2010 7:38 PM
> >
> >On 11/25/2010 04:06 AM, Gary Thomas wrote:
> >> Filed as bug #548
> >>
> >> This command [no longer?] produces any output:
> >> bitbake recipe -c listtasks
> >>
> >> $ bitbake qemu -c listtasks
> >> NOTE: Handling BitBake files: | (0756/0756) [100 %]
> >> Parsing of 756 .bb files complete (0 cached, 756 parsed). 913 targets, 34 skipped, 0
> >masked, 0 errors.
> >>
> >> OE Build Configuration:
> >> BB_VERSION = "1.11.0"
> >> METADATA_BRANCH = "local_master"
> >> METADATA_REVISION = "94b1fda09671b58aafb54983e4a6e499f6ffc369"
> >> TARGET_ARCH = "i586"
> >> TARGET_OS = "linux"
> >> MACHINE = "qemux86"
> >> DISTRO = "poky"
> >> DISTRO_VERSION = "0.9+snapshot-20101125"
> >> TARGET_FPU = ""
> >>
> >> NOTE: Resolving any missing task queue dependencies
> >> NOTE: Preparing runqueue
> >> NOTE: Executing runqueue
> >> NOTE: Full skip list set([])
> >> NOTE: Running task 1 of 1 (ID: 0,
> >/tmp/poky-amltd/meta/recipes-devtools/qemu/qemu_0.12.4.bb, do_listtasks)
> >> NOTE: package qemu-0.12.4-r22: task do_listtasks: Started
> >> NOTE: package qemu-0.12.4-r22: task do_listtasks: Succeeded
> >> NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.
> >
> >To be fair, it does do something, but the results are hidden in
> >the temp/log.do_listtasks file.  Certainly not what the documentation
> >implies...
> >
> 
> Previously python tasks were not logged, so do_listtasks get its output to the console.
> 
> Now all python and shell tasks are logged, that's why you see output in a log file now.
> 
> But I agree that it's not convenient to search WORKDIR for such information. I'm working
> a fix by use bb.msg.note instead.

Good thinking, I didn't realise it was poking sysout directly. I've a
local patch switching this to use bb.plain() which is the most
appropriate formatting in this case.

Cheers,

Richard



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

end of thread, other threads:[~2010-11-28 21:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25 11:06 bitbake listtasks broken Gary Thomas
2010-11-25 11:38 ` Gary Thomas
2010-11-26  2:29   ` Tian, Kevin
2010-11-28 15:42     ` Richard Purdie

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.