Build failure
Trying to build poky-image-sato-live:
OE Build Configuration:
BB_VERSION = "1.11.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "74783fec56d6ced1a793b36410233472e7daf445"
TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "0.9+snapshot-20110124" TARGET_FPU = ""
ERROR: Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)
ERROR: '/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb' failed
ERROR: Logfile of failure stored in: /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954
Log data follows:
| install: cannot stat `/home/local/pc_poky/tmp/sysroots/qemux86-poky-linux/kernel/bzImage': No such file or directory | Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information) | ERROR: Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)
NOTE: package poky-image-sato-live-1.0-r0: task build_boot_bin: Failed
ERROR: Task 9 (/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb, do_bootimg) failed with exit code '1'
n.b. I tried to access BugZilla to report this, but that failed as well :-(
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 16 lines · Gary Thomas
Trying to build poky-image-sato-live:
OE Build Configuration:
BB_VERSION= "1.11.0"
METADATA_BRANCH= "master"
METADATA_REVISION= "74783fec56d6ced1a793b36410233472e7daf445"TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "0.9+snapshot-20110124" TARGET_FPU = ""ERROR: Function '
build_boot_bin' failed (see/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954for further information)
ERROR: '/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb' failed
ERROR: Logfile of failure stored in:/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954
Log data follows:
Quoted 9 lines
| install: cannot stat `/home/local/pc_poky/tmp/sysroots/qemux86-poky-linux/kernel/bzImage': No such file or directory | Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information) | ERROR: Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)NOTE: package poky-image-sato-live-1.0-r0: task
build_boot_bin: Failed
ERROR: Task 9 (/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb,do_bootimg) failed with exit code '1'n.b. I tried to access BugZilla to report this, but that failed as well :-(
The problem is this commit:
commit bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3
Author: Dongxiao Xu <[email protected]> Date: Tue Jan 18 16:17:58 2011 +0800
staging: Use relative path in sysroot-destdir for target recipes
Dongxiao is aware of the problem and working on a fix. In the meantime, you could try the fix below from Dongxiao, cut and pasted from IRC, or back up to the commit before that...
Hope that helps,
Tom
meta/classes/kernel.bbclass +0 -0
@@ -512,3 +512,5 @@ EXPORT_FUNCTIONS do_deploy
PACKAGES =+ "perf"FILES_perf = "${bindir}/* \
${libexecdir}"
+
+do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/"
Quoted 51 lines · Tom Zanussi
Quoted 16 lines · Gary Thomas
Trying to build poky-image-sato-live:
OE Build Configuration:
BB_VERSION= "1.11.0"
METADATA_BRANCH= "master"
METADATA_REVISION= "74783fec56d6ced1a793b36410233472e7daf445"
TARGET_ARCH= "i586"
TARGET_OS= "linux"
MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION= "0.9+snapshot-20110124"
TARGET_FPU= ""ERROR: Function '
build_boot_bin' failed (see/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954for further information)
ERROR: '/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb' failed
ERROR: Logfile of failure stored in:/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954
Log data follows:Quoted 9 lines
| install: cannot stat `/home/local/pc_poky/tmp/sysroots/qemux86-poky-linux/kernel/bzImage': No such file or directory | Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information) | ERROR: Function 'build_boot_bin' failed (see /home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)NOTE: package poky-image-sato-live-1.0-r0: task
build_boot_bin: Failed
ERROR: Task 9 (/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb,do_bootimg) failed with exit code '1'n.b. I tried to access BugZilla to report this, but that failed as well :-(
The problem is this commit:
commit
bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3Author: Dongxiao Xu<[email protected]> Date: Tue Jan 18 16:17:58 2011 +0800staging: Use relative path in sysroot-destdir for target recipes
Dongxiao is aware of the problem and working on a fix. In the meantime, you could try the fix below from Dongxiao, cut and pasted from IRC, or back up to the commit before that...
Hope that helps,
Tom
meta/classes/kernel.bbclass +0
-0@@ -512,3 +512,5 @@ EXPORT_FUNCTIONS do_deployPACKAGES =+ "perf"
FILES_perf= "${bindir}/* \
${libexecdir}"
meta/classes/kernel.bbclass
Quoted 2 lines
meta/classes/kernel.bbclass +2
-0+ +do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/"
Yes, this helped, but I did have to run 'bitbake virtual/kernel -c clean' before it made any difference.
Thanks
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 73 lines
From: Gary Thomas
Sent: Tuesday, January 25, 2011 7:06 AMQuoted 6 lines · Tom Zanussi
Quoted 5 lines · Gary Thomas
Trying to build poky-image-sato-live:
OE Build Configuration:
BB_VERSION= "1.11.0"
METADATA_BRANCH= "master"
METADATA_REVISION="
74783fec56d6ced1a793b36410233472e7daf445"Quoted 8 lines
Quoted 8 lines
TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "0.9+snapshot-20110124" TARGET_FPU = ""ERROR: Function '
build_boot_bin' failed (see
/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)Quoted 1 line
Quoted 1 line
ERROR:
'
/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb' failedQuoted 1 line
Quoted 1 line
ERROR: Logfile of failure stored in:
/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954Quoted 2 lines
Quoted 2 lines
Log data follows:
| install: cannot stat`/home/local/pc_poky/tmp/sysroots/qemux86-poky-linux/kernel/bzImage': No such file or directory
Quoted 1 line
Quoted 1 line
| Function '
build_boot_bin' failed (see
/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)Quoted 1 line
Quoted 1 line
| ERROR: Function '
build_boot_bin' failed (see
/home/local/pc_poky/tmp/work/i586-poky-linux/poky-image-sato-live-1.0-r0/temp/log.do_bootimg.10954 for further information)Quoted 2 lines
Quoted 2 lines
NOTE: package poky-image-sato-live-1.0-r0: task
build_boot_bin: Failed
ERROR: Task 9(
/tmp/poky-amltd2/meta/recipes-sato/images/poky-image-sato-live.bb,do_bootimg) failed with exit code '1'Quoted 29 lines
Quoted 4 lines
n.b. I tried to access BugZilla to report this, but that failed as well :-(
The problem is this commit:
commit
bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3Author: Dongxiao Xu<[email protected]> Date: Tue Jan 18 16:17:58 2011 +0800staging: Use relative path in sysroot-destdir for target recipes
Dongxiao is aware of the problem and working on a fix. In the meantime, you could try the fix below from Dongxiao, cut and pasted from IRC, or back up to the commit before that...
Hope that helps,
Tom
meta/classes/kernel.bbclass +0
-0@@ -512,3 +512,5 @@ EXPORT_FUNCTIONS do_deployPACKAGES =+ "perf"
FILES_perf= "${bindir}/* \
${libexecdir}"meta/classes/kernel.bbclass
Quoted 2 lines
meta/classes/kernel.bbclass +2
-0+ +do_populate_sysroot[sstate-outputdirs] ="${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/"
Quoted 4 lines
Yes, this helped, but I did have to run 'bitbake virtual/kernel -c clean' before it made any difference.
Thanks
PR needs to be bumped in this case, which however reminds me one confusing area I didn't think about before.
How do we handle the class changes which are inherited by many recipes? Generally we need bump PRs once the output of a recipe gets changed, but it looks class file is usually ignored.
Is there any easy way to have all recipes inheriting same class file bumping their PRs, or has to be done by manual check?
Thanks
Kevin
Quoted 9 lines · Kevin
PR needs to be bumped in this case, which however reminds me one confusing area I didn't think about before.
How do we handle the class changes which are inherited by many recipes? Generally we need bump PRs once the output of a recipe gets changed, but it looks class file is usually ignored.
Is there any easy way to have all recipes inheriting same class file bumping their PRs, or has to be done by manual check?
This is a problem and its one I'm thinking we address with the sstate checksums being part of the stamps ultimately.
Cheers,
Richard