Skip to contentSkip to conversation

] qtbase: fix typo in PATH_EXTERNAL_HOST_BINS-patch

PATCH New Andreas Müller 2 participants 6 messages Jan 9, 2014 – Feb 10, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ] qtbase: fix typo in PATH_EXTERNAL_HOST_BINS-patch

I did not check if this error is in master branch - but hopefully 5.2 gets merged soon...

Andreas Müller (1):
qtbase: fix typo in PATH_EXTERNAL_HOST_BINS-patch

 .../0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 ] qtbase: fix typo in PATH_EXTERNAL_HOST_BINS-patch

libraries based on cmake and depending on qt5qml failed to configure with:

|   The imported target "Qt5::DBus" references the file
|
|      "/home/a.mueller/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/qt5/qdbusxml2xml"
---
 .../0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch +1 -1
index e3f1b72..ea3364e 100644
@@ -54,7 +54,7 @@ index 1d94715..617efa8 100644
      set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ELSE
 -    set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
-+    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2xml$$CMAKE_BIN_SUFFIX\")
++    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ENDIF
      _qt5_DBus_check_file_exists(${imported_location})
  
Signature · 1 line
1.8.3.1
#2 lore raw
Quoted 5 lines · Andreas Müller

libraries based on cmake and depending on qt5qml failed to configure with:

|   The imported target "Qt5::DBus" references the file
|
|      "/home/a.mueller/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/qt5/qdbusxml2xml"

Thanks, it's typo only in 5.2.0, there was extra bindir in paths and when I was fixing it I've noticed that OE_QMAKE_PATH_EXTERNAL_HOST_BINS wasint used for qdbus*.

Last thing I want to fix in 5.2.0 before merge to master are wrong (mostly empty) PRIVATE_INCLUDE_DIRS variables in cmake - that's what prevents me to switch webos-ports to 5.2.0 now.

A bit longer description is now included in
https://github.com/meta-qt5/qtbase/blob/stable/oe-patches.txt

Quoted 25 lines
---
 .../0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch +1 -1
index e3f1b72..ea3364e 100644
@@ -54,7 +54,7 @@ index 1d94715..617efa8 100644
      set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ELSE
 -    set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
-+    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2xml$$CMAKE_BIN_SUFFIX\")
++    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ENDIF
      _qt5_DBus_check_file_exists(${imported_location})
 
Signature · 6 lines
1.8.3.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 11 lines · Martin Jansa
Quoted 5 lines · Andreas Müller

libraries based on cmake and depending on qt5qml failed to configure with:

|   The imported target "Qt5::DBus" references the file
|
|      "/home/a.mueller/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/qt5/qdbusxml2xml"

Thanks, it's typo only in 5.2.0, there was extra bindir in paths and when I was fixing it I've noticed that OE_QMAKE_PATH_EXTERNAL_HOST_BINS wasint used for qdbus*.

Quoted 6 lines

Last thing I want to fix in 5.2.0 before merge to master are wrong (mostly empty) PRIVATE_INCLUDE_DIRS variables in cmake - that's what prevents me to switch webos-ports to 5.2.0 now.

A bit longer description is now included in
https://github.com/meta-qt5/qtbase/blob/stable/oe-patches.txt

This is now fixed by last commit
https://github.com/meta-qt5/meta-qt5/tree/jansa/qt5-5.2.0

but I have found one new issue after this - meta-webos-ports/recipes-qt/qt5/qt5-qpa-hwcomposer-plugin_git.bb started to fail just after this header change, so I need to check if it has some other bad side-effects.

and I would like to give Jacob a chance to debug
http://lists.openembedded.org/pipermail/openembedded-devel/2014-January/093688.html

Quoted 28 lines
Quoted 25 lines
---
 .../0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch +1 -1
index e3f1b72..ea3364e 100644
@@ -54,7 +54,7 @@ index 1d94715..617efa8 100644
      set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ELSE
 -    set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
-+    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2xml$$CMAKE_BIN_SUFFIX\")
++    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ENDIF
      _qt5_DBus_check_file_exists(${imported_location})
 
Signature · 6 lines
1.8.3.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
In reply to Andreas Müller
Quoted 25 lines · Andreas Müller

libraries based on cmake and depending on qt5qml failed to configure with:

|   The imported target "Qt5::DBus" references the file
|
|      "/home/a.mueller/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/qt5/qdbusxml2xml"
---
 .../0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch +1 -2
index e3f1b72..ea3364e 100644
@@ -54,7 +54,7 @@ index 1d94715..617efa8 100644
      set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ELSE
 -    set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
-+    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2xml$$CMAKE_BIN_SUFFIX\")
++    set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
  !!ENDIF
      _qt5_DBus_check_file_exists(${imported_location})
 
--
Quoted 2 lines

1.8.3.1

This one is back in 5.2.1. Shall I send a patch?

Andreas

#5 lore raw

Ah sorry, it wasn't included in "stable" branch of meta-qt5/qtbase which I used to rebase for 5.2.1, I've seen your patch already, I'll integrate it in next few days.

Quoted 48 lines · Andreas Müller
Quoted 1 line · Andreas Müller

libraries based on cmake and depending on qt5qml failed to configure

with:

Quoted 4 lines
|   The imported target "Qt5::DBus" references the file
|
|

"/home/a.mueller/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/qt5/qdbusxml2xml"

Quoted 4 lines

---
.../0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch

| 2 +-

Quoted 3 lines
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git

a/recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch b/recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch

Quoted 2 lines

index e3f1b72..ea3364e 100644
---

a/recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch

Quoted 1 line

+++

b/recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch

Review index 1d94715..617efa8 100644 · line 54

Quoted 2 lines
(quoted diff) +0 -0
@@ -54,7 +54,7 @@ index 1d94715..617efa8 100644
      set(imported_location

\"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")

Review index 1d94715..617efa8 100644 · line 56

Quoted 2 lines
(quoted diff) +0 -0
  !!ELSE
 -    set(imported_location

\"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")

Review index 1d94715..617efa8 100644 · line 57

Quoted 1 line
(quoted diff) +0 -1
-+    set(imported_location

\"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2xml$$CMAKE_BIN_SUFFIX\")

Review index 1d94715..617efa8 100644 · line 57

Quoted 1 line
(quoted diff) +1 -0
++    set(imported_location

\"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")

Quoted 6 lines
recipes-qt/qt5/qtbase/0014-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch +0 -1
  !!ENDIF
      _qt5_DBus_check_file_exists(${imported_location})
 
--

1.8.3.1

This one is back in 5.2.1. Shall I send a patch?

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