Bug 8768

Summary: No output during build if curses.tigetstr("cuu") fails in knotty.py
Product: [Build System, Metadata & Runtime] BitBake Reporter: ulfalizer
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher
Version: 2.2   
Target Milestone: 2.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description ulfalizer 2015-12-04 10:35:41 UTC
updateFooter() in knotty.py returns early if 'not self.cuu', meaning no output at all is printed in that case. self.ccu is initialized to curses.tigetstr("cuu") earlier.

An improvement would be to switch to verbose mode instead of curses.tigetstr("cuu") fails.
Comment 1 ulfalizer 2015-12-04 10:48:20 UTC
An easy way to reproduce this problem on my system is

  $ TERM=dumb bitbake <foo>