Skip to contentSkip to conversation

qtbase-native: create empty oe-device-extra.pri

PATCH Superseded Gordan Markuš 2 participants 3 messages Mar 23, 2017 – Mar 30, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase-native: create empty oe-device-extra.pri

Suppress multiple occurrences of the same warning while configuring and compiling qtbase-native and nativesdk-qtbase.

WARNING: Unable to find file git/mkspecs/linux-oe-g++/../oe-device-extra.pri

---
 recipes-qt/qt5/qtbase-native_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-qt/qt5/qtbase-native_git.bb +3 -0
index c013029..d40a751 100644
@@ -83,6 +83,9 @@ PACKAGECONFIG_CONFARGS = " \
 export OE_QMAKE_QTCONF_PATH = "foodummy"
 
 do_configure_prepend() {
+    # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
+    touch ${S}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri
+    
     MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -opensource -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed. PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}"
 }
 
Signature · 1 line
2.9.3
#1 lore raw

it looks like the directory doesn't exist:

http://errors.yoctoproject.org/Errors/Details/138489/

Quoted 37 lines · Gordan Markuš

Suppress multiple occurrences of the same warning while configuring and compiling qtbase-native and nativesdk-qtbase.

WARNING: Unable to find file git/mkspecs/linux-oe-g++/../ oe-device-extra.pri

---
 recipes-qt/qt5/qtbase-native_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-qt/qt5/qtbase- renamed from recipes-qt/qt5/qtbase-native_git.bb +0 -0

native_git.bb
index c013029..d40a751 100644

recipes-qt/qt5/qtbase-native_git.bb +1 -0
@@ -83,6 +83,9 @@ PACKAGECONFIG_CONFARGS = " \
 export OE_QMAKE_QTCONF_PATH = "foodummy"
 
 do_configure_prepend() {
+    # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri:

No such file or directory"

recipes-qt/qt5/qtbase-native_git.bb +2 -1
+    touch ${S}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri
+
     MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -opensource
-confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed.

PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}"
}

--
2.9.3

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Sorry about that Martin, I've made a copy/paste mistake. Will post another version of the patch.

Quoted 48 lines · Martin Jansa

it looks like the directory doesn't exist:

http://errors.yoctoproject.org/Errors/Details/138489/

Quoted 41 lines · Gordan Markuš

Suppress multiple occurrences of the same warning while configuring and compiling qtbase-native and nativesdk-qtbase.

WARNING: Unable to find file git/mkspecs/linux-oe-g++/../ oe-device-extra.pri

---
 recipes-qt/qt5/qtbase-native_git.bb | 3 +++

 1 file changed, 3 insertions(+)
recipes- renamed from recipes-qt/qt5/qtbase-native_git.bb +0 -0

qt/qt5/qtbase-
native_git.bb
index c013029..d40a751 100644

recipes-qt/qt5/qtbase-native_git.bb +0 -0
@@ -83,6 +83,9 @@ PACKAGECONFIG_CONFARGS = " \

 export OE_QMAKE_QTCONF_PATH = "foodummy"

 do_configure_prepend() {
+    # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe- device-extra.pri:
No such file or directory"
+    touch ${S}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device- extra.pri
+
     MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -opensource -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed.
PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}"
 }

--
2.9.3

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel