From 02930760c8be7c9d850919cda89469e9c0120d6c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 7 Apr 2020 19:26:56 +0200 Subject: qtmultimedia: create /usr/lib/plugins/videoeglvideonode referenced by Qt5MultimediaConfig.cmake * using Qt5MultimediaConfig.cmake fails with error bellow, temorary fix that by creating empty directory CMake Error at /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:31 (message): The imported target "Qt5::Multimedia" references the file "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/plugins/videoeglvideonode" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake" but not all the files it references. Call Stack (most recent call first): /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:244 (_qt5_Multimedia_check_file_exists) /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake:5 (_populate_Multimedia_plugin_properties) /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:253 (include) CMakeLists.txt:43 (find_package) Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtmultimedia_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'recipes-qt/qt5') diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index 58ad1f53..93e87994 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb @@ -39,3 +39,9 @@ SRC_URI += "\ LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" SRCREV = "7f0503acb042d047682b432e68ed97b1644c3f59" + +# Temporary work around for Qt5MultimediaConfig.cmake referencing non-existent videoeglvideonode directory +do_install_append() { + install -d ${D}${OE_QMAKE_PATH_PLUGINS}/videoeglvideonode +} +FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/videoeglvideonode" -- cgit v1.2.3-54-g00ecf