qtbase: use mysql_config from correct path
PATCH 1/1 qtbase: use mysql_config from correct path
mysql_config from host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead.
--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qtbase_git.bb +1 -1
@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil" PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase" -PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config ${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5" PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
Signature · 1 line
2.17.0
Is it needed in sumo and master branches as well? If yes, then it should be applied there first.
Quoted 33 lines · Samuli Piippo
mysql_configfrom host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead.Change-Id Ia1e7d8e0c582016130f595b1be279255e9d0b055Signed-off-by Samuli Piippo <[email protected]>--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-qt/qt5/qtbase_git.bb +0
-0@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcbxcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"recipes-qt/qt5/qtbase_git.bb +1
-1-PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
--
2.17.0--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
only needed on rocko and older. With recipe-sysroot it works correctly.
Quoted 43 lines · Martin Jansa
Is it needed in sumo and master branches as well? If yes, then it should be applied there first.
Quoted 27 lines · Samuli Piippo
mysql_configfrom host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead.Change-Id Ia1e7d8e0c582016130f595b1be279255e9d0b055Signed-off-by Samuli Piippo <[email protected]>--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-qt/qt5/qtbase_git.bb +0
-0@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcbxcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"recipes-qt/qt5/qtbase_git.bb +1
-1-PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
--
2.17.0Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
RSS is used since pyro release, but you probably meant HOSTTOOLS which are used since rocko, but then it wouldn't be needed in rocko, only in older.
Please test it with master, if it works there I'll apply it to all branches, because people tend to use different branch of meta-qt5 with different OE releases.
Quoted 50 lines · Samuli Piippo
only needed on rocko and older. With recipe-sysroot it works correctly.
Quoted 1 line · Martin Jansa
Is it needed in sumo and master branches as well? If yes, then it should
be
Quoted 3 lines
applied there first.
On Wed, Apr 18, 2018 at 12:04 PM, Samuli Piippo <[email protected]>
Quoted 11 lines · wrote:
recipes-qt/qt5/
Quoted 11 lines
mysql_configfrom host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead.Change-Id Ia1e7d8e0c582016130f595b1be279255e9d0b055Signed-off-by Samuli Piippo <[email protected]>--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-qt/qt5/ renamed from recipes-qt/qt5/qtbase_git.bb +0
-0qtbase_git.bb
Quoted 28 lines
Quoted 17 lines
index 0e3a8ac..db6280f 100644
recipes-qt/qt5/qtbase_git.bb +0
-0@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcbxcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"recipes-qt/qt5/qtbase_git.bb +1
-1-PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
--
2.17.0Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Works with master as well; this is really needed with morty and older OE releases, where recipe-sysroot is not used.
I was using different branches myself, hence the mix up.
Quoted 61 lines · Martin Jansa
RSS is used since pyro release, but you probably meant HOSTTOOLS which are used since rocko, but then it wouldn't be needed in rocko, only in older.
Please test it with master, if it works there I'll apply it to all branches, because people tend to use different branch of meta-qt5 with different OE releases.
Quoted 50 lines · Samuli Piippo
only needed on rocko and older. With recipe-sysroot it works correctly.
Quoted 46 lines · Martin Jansa
Is it needed in sumo and master branches as well? If yes, then it should be
applied there first.Quoted 28 lines · Samuli Piippo
mysql_configfrom host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead.Change-Id Ia1e7d8e0c582016130f595b1be279255e9d0b055Signed-off-by Samuli Piippo <[email protected]>--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-qt/qt5/qtbase_git.bb +0
-0@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcbxcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"recipes-qt/qt5/qtbase_git.bb +1
-1-PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
--
2.17.0Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
How does RSS influence this? I think you're still talking about HOSTTOOLS not RSS.
Quoted 70 lines · Samuli Piippo
Works with master as well; this is really needed with morty and older OE releases, where recipe-sysroot is not used.
I was using different branches myself, hence the mix up.Quoted 1 line · Martin Jansa
RSS is used since pyro release, but you probably meant HOSTTOOLS which
are
Quoted 3 lines
used since rocko, but then it wouldn't be needed in rocko, only in older.
Please test it with master, if it works there I'll apply it to all
branches,
Quoted 10 lines
because people tend to use different branch of meta-qt5 with different OE releases.
Quoted 5 lines · Samuli Piippo
only needed on rocko and older. With recipe-sysroot it works correctly.
Quoted 1 line · Martin Jansa
Is it needed in sumo and master branches as well? If yes, then it
should
Quoted 47 lines
Quoted 45 lines
Quoted 45 lines
be
applied there first.Quoted 28 lines · Samuli Piippo
mysql_configfrom host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead.Change-Id Ia1e7d8e0c582016130f595b1be279255e9d0b055Signed-off-by Samuli Piippo <[email protected]>--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-qt/qt5/qtbase_git.bb +0
-0@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcbxcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"recipes-qt/qt5/qtbase_git.bb +1
-1-PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
--
2.17.0Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
mysql5 dependency builds mariadb-native, which also provides mysql_config. Without RSS that native version is first in the PATH, which gives incorrect configs for cross-compilation.
Quoted 80 lines · Martin Jansa
How does RSS influence this? I think you're still talking about HOSTTOOLS not RSS.
Quoted 73 lines · Samuli Piippo
Works with master as well; this is really needed with morty and older OE releases, where recipe-sysroot is not used.
I was using different branches myself, hence the mix up.Quoted 67 lines · Martin Jansa
RSS is used since pyro release, but you probably meant HOSTTOOLS which are
used since rocko, but then it wouldn't be needed in rocko, only in older.Please test it with master, if it works there I'll apply it to all branches,
because people tend to use different branch of meta-qt5 with different OE
releases.Quoted 52 lines · Samuli Piippo
only needed on rocko and older. With recipe-sysroot it works correctly.
Quoted 48 lines · Martin Jansa
Is it needed in sumo and master branches as well? If yes, then it should
be
applied there first.Quoted 29 lines · Samuli Piippo
mysql_configfrom host sysroot is found first which gives wrong paths
for cross-compilation. Use it from crosscompile path instead.Change-Id Ia1e7d8e0c582016130f595b1be279255e9d0b055Signed-off-by Samuli Piippo <[email protected]>--- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-qt/qt5/qtbase_git.bb +0
-0@@ -119,7 +119,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcbxcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"recipes-qt/qt5/qtbase_git.bb +1
-1-PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" +PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
--
2.17.0Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel