Bug 876 - Can't build directdisk images
Summary: Can't build directdisk images
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 PointRelease
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-15 14:34 UTC by Tom Zanussi
Modified: 2011-05-13 11:02 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 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.