Hello everybody,
I try to install the Yocto toolchain with Qt5 to cross-compile code for my Gumstix Overo board on my ubuntu 16.04 virtual machin.
I successfully passed the first step of build with bitbake core-image-sato
there but now I need to pass the Qt5 build with bitbake meta-toolchain-qt5
and that is my problem.
That is the error:
ERROR: meta-toolchain-qt5-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/sdk/image/etc/yum.repos.d --repofrompath=oe-repo,/home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/oe-sdk-repo --installroot=/home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/sdk/image --setopt=logdir=/home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/temp --nogpgcheck install nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-overo nativesdk-packagegroup-qt5-toolchain-host' returned 1:
Added oe-repo repo from /home/bschneider/overo/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/oe-sdk-repo
Last metadata expiration check: 0:00:01 ago on Fri 01 Jun 2018 02:46:23 PM UTC.
That is the all result:
bitbucket link
Someone can please help me to solve this problem. I tried many times to build that but now I have no more idee how to fix it.
Thanks you.
Asked
Active
Viewed 1,849 times
0

Celine Barrozo
- 5
- 2

falcon
- 51
- 8
-
http://lists.openembedded.org/pipermail/openembedded-devel/2018-April/117915.html – Oleksandr Kravchuk Jun 05 '18 at 17:23
2 Answers
0
-
@Oleksandr Kravchuk, Thank you for your answers ! I am not really sure about that but your both answer say the same thing, right ? If yes, how can I apply a patch on meta-qt5 ? One other thing, in the patch link there is an other "stackoverflow" question that is near of my problem and solved by change the "PACKAGE_CLASSES ?= "package_rpm"" into "PACKAGE_CLASSES ?= "package_ipk""... That is possible ? – falcon Jun 06 '18 at 07:25
0
@Khem, I tried to replace my nativesdk-qtbase_git.bb
by your proposal but that have only created an compatibility error....
Finaly I found a solution that is proposed in the second link that is in the patch there. I replace the PACKAGE_CLASSES ?= "package_rpm"
by PACKAGE_CLASSES ?= "package_ipk"
in the local.conf
file.
After that I recompile the toolchain with bitbacke meta-toolchain-qt5
and that works.
Thank you.

falcon
- 51
- 8