Bug 10245 - qemu 2.7.0 target recipe fails to build
Summary: qemu 2.7.0 target recipe fails to build
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: High normal
Target Milestone: 2.2 M3
Assignee: Jianxun Zhang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-09-08 17:25 UTC by Richard Purdie
Modified: 2016-09-09 12:39 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
[WIP] qemu: fix: cp command cannot find tests/Makeflie (1.24 KB, patch)
2016-09-08 18:56 UTC, Jianxun Zhang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2016-09-08 17:25:07 UTC
The qemu 2.7.0 recipe in master-next fails with:

ERROR: qemu-2.7.0-r1 do_install_ptest_base: Function failed: do_install_ptest_base (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-no-x11/build/build/tmp/work/core2-64-poky-linux/qemu/2.7.0-r1/temp/log.do_install_ptest_base.51124)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-no-x11/build/build/tmp/work/core2-64-poky-linux/qemu/2.7.0-r1/temp/log.do_install_ptest_base.51124
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_install_ptest_base
| cp: cannot stat '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-no-x11/build/build/tmp/work/core2-64-poky-linux/qemu/2.7.0-r1/qemu-2.7.0/tests/Makefile': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install_ptest_base (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-no-x11/build/build/tmp/work/core2-64-poky-linux/qemu/2.7.0-r1/temp/log.do_install_ptest_base.51124)
NOTE: recipe qemu-2.7.0-r1: task do_install_ptest_base: Failed

http://autobuilder.yocto.io:8010/builders/nightly-no-x11/builds/33/steps/BuildImages/logs/stdio
http://autobuilder.yocto.io:8010/builders/nightly-world/builds/27
http://autobuilder.yocto.io:8010/builders/nightly-world-lsb/builds/27
Comment 1 Jianxun Zhang 2016-09-08 18:55:26 UTC
It looks like     Commit 46e7b70699d8bf4db08c8bb5111974318dd5416d in qemu project renamed tests/Makefile to tests/Makefile.include, we apply the same change in recipe accordingly to fix this issue.

I upload a patch that makes qemu build happy, but need some review and test to make sure it is a right fix.
Comment 2 Jianxun Zhang 2016-09-08 18:56:17 UTC
Created attachment 3407 [details]
[WIP] qemu: fix: cp command cannot find tests/Makeflie
Comment 3 Saul Wold 2016-09-08 19:07:22 UTC
I just verified that the attached patch fixes the issue with install_ptest_base.