bitbake listtasks broken
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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 20 lines · Gary Thomas
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= ""
Quoted 8 lines
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Full skip listset([])
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: taskdo_listtasks: Started
NOTE: package qemu-0.12.4-r22: taskdo_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...
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 30 lines
From: Gary Thomas
Sent: Thursday, November 25, 2010 7:38 PMQuoted 8 lines · Gary Thomas
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, 0masked, 0 errors.
Quoted 12 lines
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= ""Quoted 5 lines
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Full skip listset([])
NOTE: Running task 1 of 1 (ID: 0,
Quoted 9 lines
/tmp/poky-amltd/meta/recipes-devtools/qemu/qemu_0.12.4.bb,do_listtasks)Quoted 3 lines
NOTE: package qemu-0.12.4-r22: task
do_listtasks: Started
NOTE: package qemu-0.12.4-r22: taskdo_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
Quoted 40 lines · Kevin
Quoted 30 lines
From: Gary Thomas
Sent: Thursday, November 25, 2010 7:38 PMQuoted 8 lines · Gary Thomas
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, 0masked, 0 errors.
Quoted 12 lines
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= ""Quoted 5 lines
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Full skip listset([])
NOTE: Running task 1 of 1 (ID: 0,Quoted 9 lines
/tmp/poky-amltd/meta/recipes-devtools/qemu/qemu_0.12.4.bb,do_listtasks)Quoted 3 lines
NOTE: package qemu-0.12.4-r22: task
do_listtasks: Started
NOTE: package qemu-0.12.4-r22: taskdo_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...
Quoted 6 lines
Previously python tasks were not logged, so
do_listtasksget 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