[oe] [meta-qt5][rocko][PATCH] qtbase: use mysql_config from correct path

Samuli Piippo samuli.piippo at gmail.com
Thu Apr 19 12:09:19 UTC 2018


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.

On 19 April 2018 at 13:49, Martin Jansa <martin.jansa at gmail.com> wrote:
> How does RSS influence this? I think you're still talking about HOSTTOOLS
> not RSS.
>
> On Thu, Apr 19, 2018 at 12:09 PM, Samuli Piippo <samuli.piippo at gmail.com>
> wrote:
>>
>> 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.
>>
>> On 19 April 2018 at 09:01, Martin Jansa <martin.jansa at gmail.com> wrote:
>> > 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.
>> >
>> > On Thu, Apr 19, 2018 at 7:46 AM, Samuli Piippo <samuli.piippo at gmail.com>
>> > wrote:
>> >>
>> >> only needed on rocko and older. With recipe-sysroot it works correctly.
>> >>
>> >> On 19 April 2018 at 08:42, Martin Jansa <martin.jansa at gmail.com> wrote:
>> >> > Is it needed in sumo and master branches as well? If yes, then it
>> >> > should
>> >> > be
>> >> > applied there first.
>> >> >
>> >> > On Wed, Apr 18, 2018 at 12:04 PM, Samuli Piippo <samuli.piippo at qt.io>
>> >> > wrote:
>> >> >
>> >> >> mysql_config from host sysroot is found first which gives wrong
>> >> >> paths
>> >> >> for cross-compilation. Use it from crosscompile path instead.
>> >> >>
>> >> >> Change-Id: Ia1e7d8e0c582016130f595b1be279255e9d0b055
>> >> >> Signed-off-by: Samuli Piippo <samuli.piippo at qt.io>
>> >> >> ---
>> >> >>  recipes-qt/qt5/qtbase_git.bb | 2 +-
>> >> >>  1 file changed, 1 insertion(+), 1 deletion(-)
>> >> >>
>> >> >> diff --git a/recipes-qt/qt5/qtbase_git.bb
>> >> >> b/recipes-qt/qt5/qtbase_git.bb
>> >> >> index 0e3a8ac..db6280f 100644
>> >> >> --- a/recipes-qt/qt5/qtbase_git.bb
>> >> >> +++ b/recipes-qt/qt5/qtbase_git.bb
>> >> >> @@ -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"
>> >> >> --
>> >> >> 2.17.0
>> >> >>
>> >> >> --
>> >> >> _______________________________________________
>> >> >> Openembedded-devel mailing list
>> >> >> Openembedded-devel at lists.openembedded.org
>> >> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> >> >>
>> >> > --
>> >> > _______________________________________________
>> >> > Openembedded-devel mailing list
>> >> > Openembedded-devel at lists.openembedded.org
>> >> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> >
>> >
>
>



More information about the Openembedded-devel mailing list