Skip to contentSkip to conversation

package/thrift: disable qt4

PATCH New Fabrice Fontaine 3 participants 3 messages Mar 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/thrift: disable qt4

host-thrift can fail if a broken Qt4 is found on host:

CMake Error in lib/cpp/CMakeLists.txt:
Imported target "Qt4::QtCore" includes non-existent path

"/nvmedata/autobuild/instance-4/output-1/host/usr/mkspecs/default"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not provide.

Fixes:
- http://autobuild.buildroot.org/results/57cad5313896c868e99b0b9534678f1c83a386f2

---
Changes v1 -> v2 (after review of Peter Seiderer):
- Move WITH_QT4=OFF to THRIFT_COMMON_OPTS which already contains WITH_QT5=OFF

 package/thrift/thrift.mk | 1 +
 1 file changed, 1 insertion(+)
package/thrift/thrift.mk +1 -0
index 6014bbfcdd..4260fe7e1c 100644
@@ -19,6 +19,7 @@ THRIFT_COMMON_CONF_OPTS = -DBUILD_TUTORIALS=OFF \
 	-DBUILD_TESTING=OFF \
 	-DWITH_PYTHON=OFF \
 	-DWITH_JAVA=OFF \
+	-DWITH_QT4=OFF \
 	-DWITH_QT5=OFF
 
 THRIFT_CONF_OPTS = $(THRIFT_COMMON_CONF_OPTS) -DBUILD_COMPILER=OFF
Signature · 1 line
2.25.0
#1 lore raw

PATCH v2 1/1 package/thrift: disable qt4

Quoted 13 lines · Fabrice Fontaine

host-thrift can fail if a broken Qt4 is found on host:

CMake Error in lib/cpp/CMakeLists.txt:
Imported target "Qt4::QtCore" includes non-existent path

"/nvmedata/autobuild/instance-4/output-1/host/usr/mkspecs/default"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

Quoted 7 lines

* The installation package was faulty and references files it does not provide.

Fixes:
- http://autobuild.buildroot.org/results/57cad5313896c868e99b0b9534678f1c83a386f2

Regards,
Peter

Quoted 20 lines

---
Changes v1 -> v2 (after review of Peter Seiderer):
- Move WITH_QT4=OFF to THRIFT_COMMON_OPTS which already contains WITH_QT5=OFF

 package/thrift/thrift.mk | 1 +
 1 file changed, 1 insertion(+)
package/thrift/thrift.mk +1 -0
index 6014bbfcdd..4260fe7e1c 100644
@@ -19,6 +19,7 @@ THRIFT_COMMON_CONF_OPTS = -DBUILD_TUTORIALS=OFF \
 	-DBUILD_TESTING=OFF \
 	-DWITH_PYTHON=OFF \
 	-DWITH_JAVA=OFF \
+	-DWITH_QT4=OFF \
 	-DWITH_QT5=OFF
 
 THRIFT_CONF_OPTS = $(THRIFT_COMMON_CONF_OPTS) -DBUILD_COMPILER=OFF
#2 lore raw

PATCH v2 1/1 package/thrift: disable qt4

In reply to Fabrice Fontaine
Quoted 16 lines · On Sat, 7 Mar 2020 10:22:30 +0100 Fabrice Fontaine…

host-thrift can fail if a broken Qt4 is found on host:

CMake Error in lib/cpp/CMakeLists.txt:
Imported target "Qt4::QtCore" includes non-existent path

"/nvmedata/autobuild/instance-4/output-1/host/usr/mkspecs/default"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not provide.

Quoted 8 lines

Fixes:
- http://autobuild.buildroot.org/results/57cad5313896c868e99b0b9534678f1c83a386f2

---
Changes v1 -> v2 (after review of Peter Seiderer):
- Move WITH_QT4=OFF to THRIFT_COMMON_OPTS which already contains WITH_QT5=OFF

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com