Bug 1180 - bitbake -c listtasks doesn't print to the console
Summary: bitbake -c listtasks doesn't print to the console
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-06-17 15:25 UTC by Darren Hart
Modified: 2011-07-19 09:28 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2011-06-17 15:25:38 UTC
listtasks only prints to the log.do_listtasks instead of to the console.

$ bitbake core-image-sato -c listtasks

Loading cache: 100% |#########################################################################| ETA:  00:00:00
Loaded 1004 entries from dependency cache.
Parsing recipes: 100% |#######################################################################| Time: 00:00:01
Parsing of 787 .bb files complete (784 cached, 3 parsed). 1006 targets, 29 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = "1.13.1"
METADATA_BRANCH   = "dvhart/beagle"
METADATA_REVISION = "e7e15929797178e359e1169da49f4340d346dfa0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0+snapshot-20110617"
TARGET_FPU        = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 1 (ID: 0, /home/dvhart/source/poky.git/meta/recipes-sato/images/core-image-sato.bb, do_listtasks)
NOTE: package core-image-sato-1.0-r0: task do_listtasks: Started
NOTE: package core-image-sato-1.0-r0: task do_listtasks: Succeeded
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.

$
Comment 1 Dexuan Cui 2011-06-19 19:42:34 UTC
Previously we had a bug 361 that was fixed.
So something was broken recently?
Comment 2 Darren Hart 2011-06-20 07:55:19 UTC
I haven't bisected, but it didn't work for me on Friday on e7e15929797178e359e1169da49f4340d346dfa0.
Comment 3 Paul Eggleton 2011-07-06 07:52:21 UTC
Seems to be working here with latest master, can someone else confirm?

paul@morpheus build]$ bitbake -c listtasks gettext-native
Loading cache: 100% |#########################################################################################################################################################################################################################################| ETA:  00:00:00
Loaded 1017 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################################################################################| Time: 00:00:00
Parsing of 790 .bb files complete (788 cached, 2 parsed). 1017 targets, 25 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = "1.13.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0+snapshot-20110706"
TARGET_FPU        = "soft"
meta              
meta-yocto        = "master:d4132fa12885fc050313a5c9aa6903e4fa92c94f"
meta-crownbay     = "master:92fc07a5f1b98779806cdcc2341487ff5ea5a238"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 1 (ID: 0, virtual:native:/home/paul/poky/poky/meta/recipes-core/gettext/gettext_0.18.1.1.bb, do_listtasks)
NOTE: package gettext-native-0.18.1.1-r1: task do_listtasks: Started
do_fetchall
do_build
do_devshell
do_listtasks
do_package_write_ipk
do_cleansstate
do_compile
do_package_setscene
do_populate_lic_setscene
do_fetch
do_checkuri
do_install
do_configure
do_package_write_ipk_setscene
do_cleanall
do_populate_lic
do_package_write
do_populate_sysroot
do_populate_sysroot_setscene
do_buildall
do_package
do_clean
do_checkuriall
do_unpack
do_patch
NOTE: package gettext-native-0.18.1.1-r1: task do_listtasks: Succeeded
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 0 failed.
Comment 4 Darren Hart 2011-07-06 09:23:23 UTC
Seems to have been fixed sometime between:
1c1372e7eccb01f7c1f682bc0aa989c37f2516f6
and
d4132fa12885fc050313a5c9aa6903e4fa92c94f
Comment 5 Paul Eggleton 2011-07-19 09:28:24 UTC
This is now fixed, marking as resolved.