This is solved using the master-next branch.

 

From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Diaz de Grenu, Jose
Sent: Friday, December 29, 2017 1:43 PM
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] Problems fetching and compiling imx-gst1.0-plugin_4.1.6.bb

 

Hi,

 

I am using Yocto 2.4 and compiling for a i.MX6QP platform. On the rocko branch I get the following ERROR trying to fetch the package:

 

ERROR: imx-gst1.0-plugin-4.1.6-r0 do_fetch: Fetcher failure for URL: 'git://source.codeaurora.org/external/imx/gst1.0-plugins-fsl.git;protocol=https;branch=nxp/MM_04.02.01_1705_L4.9.11_CONSOLIDATED_GA'. Please

set a valid SRCREV for url ['SRCREV_default_pn-imx-gst1.0-plugin', 'SRCREV_default', 'SRCREV_pn-imx-gst1.0-plugin', 'SRCREV'] (possible key names are git://source.codeaurora.org/external/imx/gst1.0-plugins-fsl.

git;protocol=https;branch=nxp/MM_04.02.01_1705_L4.9.11_CONSOLIDATED_GA, or use a ;rev=X URL parameter)

ERROR: imx-gst1.0-plugin-4.1.6-r0 do_fetch: Function failed: base_do_fetch

ERROR: Logfile of failure stored in: /home/jdepedro/workspaces-yocto/2.4/tmp/work/ccimx6sbc-dey-linux-gnueabi/imx-gst1.0-plugin/4.1.6-r0/temp/log.do_fetch.1756

ERROR: Task (/home/jdepedro/dey-2.4/sources/meta-freescale/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb:do_fetch) failed with exit code '1'

 

This gets solved just adding AUTOREV:

 

diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb

index 89a14d5df80d..46c3a0d40f9e 100644

--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb

+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb

@@ -29,6 +29,8 @@ SRC_URI = " \

     git://source.codeaurora.org/external/imx/gst1.0-plugins-fsl.git;protocol=https;branch=${SRCBRANCH} \

"

 

+SRCREV = "${AUTOREV}"

+

S = "${WORKDIR}/git"

 

 inherit autotools pkgconfig

 

I am not sure if SRCREV is really needed or I am missing something. Could you suggest?

 

On the other hand, after solving that, I get the following compilation error:

 

| In file included from ../../git/libs/overlaycompositionmeta/../device-2d/imx_2d_device.h:25:0,

|                  from ../../git/libs/overlaycompositionmeta/imxoverlaycompositionmeta.h:25,

|                  from ../../git/libs/overlaycompositionmeta/imxoverlaycompositionmeta.c:30:

| ../../git/libs/overlaycompositionmeta/../device-2d/imx_2d_device_allocator.h:24:10: fatal error: gst/allocators/gstallocatorphymem.h: No such file or directory

|  #include <gst/allocators/gstallocatorphymem.h>

|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

| compilation terminated.

 

Should this be fixed? Am I missing something?

 

Thank you.