PDA

View Full Version : Random QtMultmedia build issues with QtWebkit5 parallel builds



LEVY
16th September 2015, 13:04
Hi,

We have random issues when compiling Qt5Multimedia.
We use version version 5.4.1 of qtWebkit 5.
It seems there are some random issues in parallell build.

libQt5MultiMediaQuick_p is not found by qtmultimediaquicktools.

Here is the random error we have:


/local1/ref-erdk-BLD/build/tmp/sysroots/x86_64-linux/stbgcc/bin/../lib/gcc/arm-linux-gnueabihf/4.8.4/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lQt5MultimediaQuick_p
ln -s libQt5MultimediaQuick_p.so.5.4.1 libQt5MultimediaQuick_p.so
ln -s libQt5MultimediaQuick_p.so.5.4.1 libQt5MultimediaQuick_p.so.5
ln -s libQt5MultimediaQuick_p.so.5.4.1 libQt5MultimediaQuick_p.so.5.4

make[2]: Leaving directory `/local1/ref-erdk-BLD/build/tmp/work/cortexa15hf-vfp-linux-gnueabi/qtmultimedia/5.4.1-3.0-r0.0cmc/build/src/qtmultimediaquicktools'

is the first issue before :

collect2: error: ld returned 1 exit status
make[4]: *** [../../../../plugins/video/videonode/libeglvideonode.so] Error 1
make[4]: Leaving directory `/local1/ref-erdk-BLD/build/tmp/work/cortexa15hf-vfp-linux-gnueabi/qtmultimedia/5.4.1-3.0-r0.0cmc/build/src/plugins/videonode/egl'
make[3]: *** [sub-egl-make_first] Error 2

I found a similar issue in the web:

http://lists.qt-project.org/pipermail/ci-reports/2015-January/033704.html


qtmultimedia failed to compile :(
It seems that some project tried to link against libQt5MultimediaQuick_p before that library was built.
This could be caused by some missing dependencies in .pro file(s). If this is indeed the case, the error may be unstable, and will be easier to reproduce with a highly parallelized build.


Is it corrected ?
Is there a patch ?
What shall i change in the .pro file ? which one ?

thanks

Regards