Bug 876

Summary: Can't build directdisk images
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Tom Zanussi <tom.zanussi>
Component: coreAssignee: Tom Zanussi <tom.zanussi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, meta.mr.watcher, meta.watcher, sgw
Version: 1.0   
Target Milestone: 1.0 PointRelease   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Tom Zanussi 2011-03-15 14:34:22 UTC
Trying to build e.g. poky-image-sdk-directdisk, we get a compile error due to a missing license:

ERROR: poky-image-sato-directdisk: Recipe file does not have license file information (LIC_FILES_CHKSUM)
ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
ERROR: Function 'do_qa_configure' failed
ERROR: Logfile of failure stored in: /usr/local/src/yocto/crownbay/build/tmp/work/atom-poky-linux/poky-image-sato-directdisk-1.0-r0/temp/log.do_configure.21007
Log data follows:
| NOTE: Checking autotools environment for common misconfiguration
| ERROR: poky-image-sato-directdisk: Recipe file does not have license file information (LIC_FILES_CHKSUM)
| ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
| ERROR: Function 'do_qa_configure' failed
NOTE: package poky-image-sato-directdisk-1.0-r0: task do_configure: Failed
E
Comment 1 Tom Zanussi 2011-03-15 14:39:05 UTC
With the license error fixed, now get:

ERROR: '/usr/local/src/yocto/crownbay/meta/recipes-sato/images/poky-image-sato-directdisk.bb' failed
NOTE: package poky-image-sato-directdisk-1.0-r0: task do_bootdirectdisk: Started
ERROR: Function 'build_boot_dd' failed (see /usr/local/src/yocto/crownbay/build/tmp/work/atom-poky-linux/poky-image-sato-directdisk-1.0-r0/temp/log.do_bootdirectdisk.17161 for further information)
ERROR: Logfile of failure stored in: /usr/local/src/yocto/crownbay/build/tmp/work/atom-poky-linux/poky-image-sato-directdisk-1.0-r0/temp/log.do_bootdirectdisk.17161
Log data follows:
| install: cannot stat `/usr/local/src/yocto/crownbay/build/tmp/sysroots/crownbay-poky-linux/kernel/bzImage': No such file or directory
| ERROR: Function 'build_boot_dd' failed (see /usr/local/src/yocto/crownbay/build/tmp/work/atom-poky-linux/poky-image-sato-directdisk-1.0-r0/temp/log.do_bootdirectdisk.17161 for further information)
NOTE: package poky-image-sato-directdisk-1.0-r0: task do_bootdirectdisk: Failed
ERROR: Task 8 (/usr/local/src/yocto/crownbay/meta/recipes-sato/images/poky-image-sato-directdisk.bb, do_bootdirectdisk) failed with exit code '1'
Comment 2 Darren Hart 2011-04-14 15:35:32 UTC
Tom, is this now a duplicate of Bug 987.
Comment 3 Saul Wold 2011-05-04 16:41:45 UTC
This fix is in master, and need to be verified

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f564954968b424f253defe053e7a1593c86c6603
Comment 4 Saul Wold 2011-05-04 16:45:21 UTC
This fix is in master, and need to be verified

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f564954968b424f253defe053e7a1593c86c6603
Comment 5 Tom Zanussi 2011-05-04 18:59:27 UTC
(In reply to comment #4)
> This fix is in master, and need to be verified
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f564954968b424f253defe053e7a1593c86c6603

That commit isn't the fix.  I'll submit the actual fix soon.
Comment 6 Tom Zanussi 2011-05-05 08:33:07 UTC
Fixed in master by commit a90914c60ac37e378c22cb2edff7088024afa7e5.

Still needs to be pulled into bernard.