[meta-freescale] imx-gpu-viv_5.0.11.p4.1-hfp: the apitrace utility links with X11 libraries

Jacob Kroon jacob.kroon at gmail.com
Wed Feb 4 09:28:09 PST 2015


Hi,

On Wed, Feb 4, 2015 at 6:24 PM, Neena Busireddy <
neena.busireddy at freescale.com> wrote:

> Hi Otavio
>
> -----Original Message-----
> From: otavio.salvador at gmail.com [mailto:otavio.salvador at gmail.com] On
> Behalf Of Otavio Salvador
> Sent: Wednesday, February 04, 2015 11:01 AM
> To: meta-freescale at yoctoproject.org; Busireddy Neena-B45787
> Cc: Post Lauren-RAA013
> Subject: imx-gpu-viv_5.0.11.p4.1-hfp: the apitrace utility links with X11
> libraries
>
> Hello folks,
>
> I've been running some tests on the packages part of the 3.10.53 GA
> release.
>
> One of those tests was to build with different set of distro features.
> While doing that (for a Framebuffer based distro) I noticed following
> warning:
>
> WARNING: QA Issue: imx-gpu-viv-tools-apitrace requires libX11.so.6, but no
> providers in its RDEPENDS [file-rdeps]
>
> So basically the apitrace utility is linking with X11 libraries. It seems
> unexpected and I want to know how to deal with this.
>
> Apitrace is supported only for x11 backend in 3.10.53 GA release. If you
> check packagegroup-fsl-tools-gpu.bb, we are installing
> apitrace only for x11 backend.
>
>
FWIW, I have this small change in my queue for meta-fsl-arm, in order to
get rid of the warning:

--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -202,6 +202,12 @@ do_install () {
         rm ${D}${libdir}/libGL.*
     fi

+    # skip packaging X11 specific tools if no X11 support is requested
+    if [ "${USE_X11}" = "no" ]; then
+        rm ${D}${bindir}/glretrace
+        rm ${D}${bindir}/eglretrace
+    fi
+
     # skip packaging wayland libraries if no support is requested
     if [ "${USE_WL}" = "no" ]; then
         rm ${D}${libdir}/libgc_wayland_protocol.*
-- 
2.1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150204/cfc827eb/attachment-0001.html>


More information about the meta-freescale mailing list