[meta-freescale] gst-fsl-plugin fails to compile in current master

Boszormenyi Zoltan zboszor at pr.hu
Mon May 5 03:16:53 PDT 2014


Hi,

for about a week now gst-fsl-plugin fails to compile.
"repo sync" was run several times since then.

The symptom of the problem is that the compiler complains about header files that do
exist, like:

/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/gst-fsl-plugins-3.0.11/libs/vss/mfw_gst_vss_common.c:52:23:
fatal error: fsl_debug.h: No such file or directory
 #include "fsl_debug.h"
                       ^
compilation terminated.

The problem is that a lot of Makefile.am files use relative addressing, like:
somelib_CFLAGS = -I../../../../inc/common

The proper term is -I$(top_srcdir)/inc/common, like in the attached patch.
Using this patch needs overriding do_configure():

do_configure() {
    (cd ${S} ; autoreconf)
    oe_runconf
}

Now, do_compile() succeeds. However, the package fails QA:

ERROR: QA Issue: gst-fsl-plugin: The install log indicates that host include and/or
library paths were used.
         Please check the log
'/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/temp/log.do_install'
for more information.
ERROR: QA Issue: package gst-fsl-plugin-libgplaycore contains bad RPATH
/home/zozo/fsl-community-bsp-retry/build-master/tmp/sysroots/imx6qsabresd/usr/lib in file
/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/packages-split/gst-fsl-plugin-libgplaycore/usr/lib/libgplaycore.so.0.0.1
ERROR: QA Issue: package gst-fsl-plugin-libgstfsl contains bad RPATH
/home/zozo/fsl-community-bsp-retry/build-master/tmp/sysroots/imx6qsabresd/usr/lib in file
/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/packages-split/gst-fsl-plugin-libgstfsl/usr/lib/libgstfsl-0.10.so.0.0.1
ERROR: QA Issue: package gst-fsl-plugin contains bad RPATH
/home/zozo/fsl-community-bsp-retry/build-master/tmp/sysroots/imx6qsabresd/usr/lib in file
/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/packages-split/gst-fsl-plugin/usr/lib/gstreamer-0.10/libmfw_gst_amrdec.so
ERROR: QA Issue: package gst-fsl-plugin contains bad RPATH
/home/zozo/fsl-community-bsp-retry/build-master/tmp/sysroots/imx6qsabresd/usr/lib in file
/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/packages-split/gst-fsl-plugin/usr/lib/gstreamer-0.10/libmfw_gst_mp3enc.so
ERROR: QA Issue: package gst-fsl-plugin contains bad RPATH
/home/zozo/fsl-community-bsp-retry/build-master/tmp/sysroots/imx6qsabresd/usr/lib in file
/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/packages-split/gst-fsl-plugin/usr/lib/gstreamer-0.10/libmfw_gst_audio_pp.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/zozo/fsl-community-bsp-retry/build-master/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/temp/log.do_package.4304
ERROR: Task 10
(/home/zozo/fsl-community-bsp-retry/sources/meta-fsl-arm/recipes-multimedia/gstreamer/gst-fsl-plugin_3.0.11.bb,
do_package) failed with exit code '1'

How can I fix these "bad RPATH" errors?

Thanks in advance,
Zoltán Böszörményi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-fsl-plugin-fix.patch
Type: text/x-patch
Size: 39073 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140505/c2fefddb/attachment-0001.bin>


More information about the meta-freescale mailing list