meta_toolchain_qt5 fails, packages already installed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

meta_toolchain_qt5 fails, packages already installed

Jump to solution
1,020 Views
somlioy
Contributor II

Trying to bitbake meta-toolchain-qt on Ubuntu 14.04 virtualbox, but fails with "do_populate_sdk".

It says a bunch of packages is already installed and then it stops. See attached error-log.

bitbaking the fsl-image-qt5-validation-imx completes without any errors.

My steps:

repo init -u https://github.com/AplexOS/YOCTO-Projects.git -b morty 
repo sync
DISTRO=fsl-imx-x11 MACHINE=imx6dlsabresd source fsl-setup-release.sh -b build-x11  
bitbake fsl-image-qt5-validation-imx
bitbake meta-toolchain-qt


Labels (1)
0 Kudos
1 Solution
838 Views
somlioy
Contributor II

Changing PACKAGE_CLASSES = deb to PACKAGE_CLASSES = ipk seems to have solved the problem.

Atleast the bitbake succeeded. Will do a test on Qt.

View solution in original post

0 Kudos
4 Replies
839 Views
somlioy
Contributor II

Changing PACKAGE_CLASSES = deb to PACKAGE_CLASSES = ipk seems to have solved the problem.

Atleast the bitbake succeeded. Will do a test on Qt.

0 Kudos
838 Views
somlioy
Contributor II

Anyone?

0 Kudos
838 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Vegard,

Seems that something is wrong with PACKAGE_CLASSES = package_deb, maybe you can use PACKAGE_CLASSES = package_rpm ?

To do Qt development you will need a Qt enabled image built and installed on the target. 
Only after building a Qt enabled image you may also generate a Qt enabled toolchain.

BTW, This is not the NXP official repository, for the official repo you must download:
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m
imx-4.14.98-2.0.0_ga.xml

Regards


0 Kudos
838 Views
somlioy
Contributor II

Hi, thanks for your answer.

I'm aware its not the official NXP repository, but one provided by the supplier of my HMI-panel which is delivered with a Qt enabled image. But I need a SDK in order to compile my own Qt-applications, which isnt offered by the producer of the screen, or did they?

They provided the linux-kernel: GitHub - AplexOS/Linux-Kernel at SBC-7112S_Linux_Kernel-v4.9.88 and the U-BOOT: GitHub - AplexOS/U-Boot at SBC-7112S_Linux_Uboot-v2017.03-ga 

Can I generate an SDK from this? 

Anyway, it seems that the PACKAGE_CLASSES already is set to rpm in /<build_dir>/conf/local.conf:

MACHINE ??= 'imx6dlsabresd'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
      STOPTASKS,${TMPDIR},1G,100K \
      STOPTASKS,${DL_DIR},1G,100K \
      STOPTASKS,${SSTATE_DIR},1G,100K \
      STOPTASKS,/tmp,100M,100K \
      ABORT,${TMPDIR},100M,1K \
      ABORT,${DL_DIR},100M,1K \
      ABORT,${SSTATE_DIR},100M,1K \
      ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

0 Kudos