Bitbake -k meta-toolchain-qt5 fails

Ubuntu 14.04 installed in VM. Following steps per OpenEmbedded (core) and Setup Qt Creator for Cross Compile, the build fails. Here are the steps I’m following:

# Install needed shell tools
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath libsdl1.2-dev xterm

# Install build tools
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install g++-4.8-multilib
sudo apt-get install chrpath curl gawk g++-multilib gcc-multilib lib32z1-dev libcrypto++9:i386 libcrypto++-dev:i386 liblzo2-dev:i386 libsdl1.2-dev libstdc++-4.8-dev:i386 libusb-1.0-0:i386 libusb-1.0-0-dev:i386 texinfo uuid-dev:i386
cd /usr/lib; sudo ln -s

# Install repo to help with git repo management
sudo curl > repo
mv repo /usr/local/bin/repo
chmod a+x /usr/local/bin/repo

# Retrieve BSP source
mkdir oe-core
cd oe-core
repo init -u -b LinuxImageV2.6
repo sync

# Setup build environment (do this for any new shell to be used for building oe-core)
. export

# Adapt build/conf/local.conf to your needs
MACHINE ?= "colibri-imx7"
# Accept NXP stuff/meta-fsl-arm/EULA for iMX6 (possibly iMX7)

# Build image containing qt5. Execute this from oe-core/build directory, with . export environment active
bitbake -k meta-toolchain-qt5

Errors follow:

| linking ../../lib/
| /home/mnelson/oe-core/build/out-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/ error: cannot find -lqtfreetype
| /home/mnelson/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp:204: error: undefined reference to 'FT_New_Memory_Face'
| /home/mnelson/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/git/src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp:236: error: undefined reference to 'FT_Get_Sfnt_Table'

and, several of these types of warnings…

WARNING: QA Issue: qttools: /qttools-dbg/usr/src/debug/qttools/5.5.1+gitAUTOINC+0240288756-r0/git/src/qtpaths/qtpaths.cpp is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Thanks for any help you can give.


Please check this community thread for a fix.

The host-user-contaminated warnings are unrelated. We submitted a patch upstream addressing them.

You could add the following to local.conf to no longer have them reported:
WARN_QA_remove = “host-user-contaminated”