When trying to compile imx-5.4.70-2.3.0 for iMX6QD, I'm getting a missing drm library issue in the qtwayland recipe.
Any ideas?
mkdir imx-yocto-bsp
cd imx-yocto-bsp
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.70-2.3.0.xml
repo sync -j8
DISTRO=fsl-imx-xwayland MACHINE=imx6qsabresd source imx-setup-release.sh -b build-xwayland
bitbake imx-image-full
After about 14 hours, it fails with the following message:
ERROR: qtwayland-5.15.0+gitAUTOINC+0f847b7688-r0 do_configure: Error calling /home/builder/imx-yocto-bsp/build-wayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtwayland/5.15.0+gitAUTOINC+0f847b7688-r0/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests /home/builder/imx-yocto-bsp/build-wayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtwayland/5.15.0+gitAUTOINC+0f847b7688-r0/git/qtwayland.pro -- -no-feature-wayland-brcm -feature-wayland-client -no-feature-wayland-drm-egl-server-buffer -feature-wayland-egl -no-feature-wayland-libhybris-egl-server-buffer -feature-wayland-server -no-feature-xcomposite-egl -no-feature-xcomposite-glx
ERROR: qtwayland-5.15.0+gitAUTOINC+0f847b7688-r0 do_configure: Execution of '/home/builder/imx-yocto-bsp/build-wayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtwayland/5.15.0+gitAUTOINC+0f847b7688-r0/temp/run.do_configure.6315' failed with exit code 1:
Running configuration tests...
Project ERROR: Test config.qtwayland_client.tests.dmabuf-server-buffer tries to use undeclared library 'drm'
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/builder/imx-yocto-bsp/build-xwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtwayland/5.15.0+gitAUTOINC+0f847b7688-r0/temp/log.do_configure.6315