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
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.
Created attachment 3407 [details] [WIP] qemu: fix: cp command cannot find tests/Makeflie
I just verified that the attached patch fixes the issue with install_ptest_base.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2984863f42e5a137cf9b5d557202d9d44c858369