[yocto] bitbake freezes at recipe qt4-x11-free-1_4.8.5-r0: task do_compile: Started

Alvin D.M. DIZON adm.dizon at pciltd.com.sg
Wed Jan 14 00:01:09 PST 2015


Hello,

I am building an image using the "bitbake fsl-image-x11" command. Bitbake seems to run through all the tasks but the output freezes at "recipe qt4-x11-free-1_4.8.5-r0: task do_compile: Started". I have tried stopping bitbake and rebuilding, but it always stops at the same task. I am using a Ubuntu 12.04 LTS VM running on Oracle Virtualbox. Here is my local.conf:

MACHINE ??= 'imx6qsabresd'
DISTRO ?= 'poky'
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 \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '16'
PARALLEL_MAKE = '-j 16'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""
INHERIT += "rm_work"

This is my build configuration:

Build Configuration:
BB_VERSION        = "1.20.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5.3"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-oe
meta-fsl-arm
meta-fsl-arm-extra
meta-fsl-demos
meta-fsl-arm
meta-fsl-demos
meta-browser
meta-gnome
meta-networking   = "branch:e9f640dce8c13e99ab4d6eecb574d34e26dda958"


I also viewed the log.do_compile for Qt, and saw lots of errors like these:


In file included from ../JavaScriptCore/wtf/PossiblyNull.h:29:0,
                 from ../JavaScriptCore/wtf/FastMalloc.h:25,
                 from ./config.h:153,
                 from dom/DOMStringMap.cpp:26:
../JavaScriptCore/wtf/StdLibExtras.h: In function 'TO WTF::bitwise_cast(FROM)':
../JavaScriptCore/wtf/Assertions.h:326:47: warning: typedef 'dummyWTF_bitwise_cast_sizeof_casted_types_is_equal' locally defined but not used [-Wunused-local-typedefs]
 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
                                               ^
../JavaScriptCore/wtf/StdLibExtras.h:96:5: note: in expansion of macro 'COMPILE_ASSERT'
     COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal);
     ^
../JavaScriptCore/wtf/StdLibExtras.h: In function 'size_t WTF::roundUpToMultipleOf(size_t)':
../JavaScriptCore/wtf/Assertions.h:326:47: warning: typedef 'dummydivisor_is_a_power_of_two' locally defined but not used [-Wunused-local-typedefs]
 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
                                               ^
../JavaScriptCore/wtf/StdLibExtras.h:120:5: note: in expansion of macro 'COMPILE_ASSERT'
     COMPILE_ASSERT(divisor && !(divisor & (divisor - 1)), divisor_is_a_power_of_two);
     ^


I also saw these last lines which seem to point to the Qt Webkit library:


make[2]: Leaving directory `/home/alvin/yocto_branch/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore'
make[1]: *** [sub-WebCore-make_default-ordered] Error 2
make[1]: Leaving directory `/home/alvin/yocto_branch/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source'
make: *** [sub-webkit-make_default-ordered] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.


I am new to Linux and the Yocto Project, and have been trying to resolve this for days now, so any help would be appreciated.

Thanks,
Alvin
[PCI]

  Innovative Manufacturing Solutions. Professionally Delivered!

The information contained in this email is confidential and is intended for addressee(s) only. If you have received this email in error, please notify the originator immediately. Nothing in this email shall constitute an offer or acceptance leading to a legally binding contract which shall only arise from a formal written agreement between yourselves and ourselves in the form of a Purchase Order issued by us and accepted by you in writing. For the avoidance of doubt, this email shall not be construed in any way as a formal written agreement. We accept no liability for any damage arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. Please consider your environmental responsibility before printing this e-mail.



More information about the yocto mailing list