Yesterday while building AGL I noticed the following failure of the Yocto/OE recipe:
| make: Entering directory '/media/storage/agl-rpi3/build/tmp/work/cortexa7hf-neon-vfpv4-agl-linux-gnueabi/phone/1.0+gitAUTOINC+a87aaf9b9d-r0/build/app'
| /media/storage/agl-rpi3/build/tmp/sysroots/x86_64-linux/usr/bin/qt5/qmake -o Makefile ../../git/app/app.pro
| Project ERROR: homescreen development package not found
| Makefile:261: recipe for target 'Makefile' failed
| make: *** [Makefile] Error 3
| make: Leaving directory '/media/storage/agl-rpi3/build/tmp/work/cortexa7hf-neon-vfpv4-agl-linux-gnueabi/phone/1.0+gitAUTOINC+a87aaf9b9d-r0/build/app'
| Makefile:55: recipe for target 'sub-app-install_subtargets' failed
| make: *** [sub-app-install_subtargets] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (log file is located at /media/storage/agl-rpi3/build/tmp/work/cortexa7hf-neon-vfpv4-agl-linux-gnueabi/phone/1.0+gitAUTOINC+a87aaf9b9d-r0/temp/log.do_install.8815)
ERROR: Task 1019 (/media/storage/agl-rpi3/meta-agl-demo/recipes-demo-hmi/phone/phone_git.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3657 tasks of which 3653 didn't need to be rerun and 1 failed.
The source code of phone contains a reference to homescreen in app.pri:
CONFIG += link_pkgconfig
PKGCONFIG += homescreen
DEFINES += HAVE_LIBHOMESCREEN
Although this bug is hard to reproduce and it does not appear each time, I suggest to add homescreen as a dependency to the Yocto/OE recipe of phone.
Best regards, Leon