Bug 4343 - bitbake makes empty promise of "further information" for failed tasks
Summary: bitbake makes empty promise of "further information" for failed tasks
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low minor
Target Milestone: 1.5
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-18 14:17 UTC by Pb
Modified: 2013-10-04 15:09 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pb 2013-04-18 14:17:57 UTC
When BBINCLUDELOGS is set, the output for a failing task looks a bit like:

ERROR: Function failed: do_configure (see /fast/git/.../tmp-eglibc/work/armv7a-vfp-oe-linux-gnueabi/eglibc-initial/2.16-r14+svnr20393/temp/log.do_configure.9006 for further information)
ERROR: Logfile of failure stored in: /fast/git/.../tmp-eglibc/work/armv7a-vfp-oe-linux-gnueabi/eglibc-initial/2.16-r14+svnr20393/temp/log.do_configure.9006
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
[...]
| ERROR: Function failed: do_configure (see /fast/git/.../tmp-eglibc/work/armv7a-vfp-oe-linux-gnueabi/eglibc-initial/2.16-r14+svnr20393/temp/log.do_configure.9006 for further information)
ERROR: Task 709 (/fast/git/bcm7425-oe/build-bcm7425/../oe-core/meta/recipes-core/eglibc/eglibc-initial_2.16.bb, do_configure) failed with exit code '1'

However, the file advertised in the first and penultimate lines as containing "further information" (and mentioned again in the second line) does not, in fact contain anything of the sort; it simply holds the same text that bitbake has already printed.  Encouraging users to go and look at it just leads to annoyance, and putting this advice within the file itself seems particularly useless.
Comment 2 Razvan Ionescu 2013-10-04 15:09:43 UTC
Verified with poky:3b4b782e07ba1a0a4887216d7850bb75274570d2 and with dora:a02280f99f05b1c21de2a78de9222a2f62a0dabc (1.5 M5 RC6) also