AnsweredAssumed Answered

imx-gst1.0-plugin 4.1.6 fetch and compile problem

Question asked by tugay ilbay on Mar 22, 2018
Latest reply on Jun 28, 2018 by Nebila Bako

Hi,

 

I am trying to build imx-gst1.0-plugin by executing this command:

bitbake imx-gst1.0-plugin

When I do that I get the following error:

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/user/Documents/fsl-community-bsp/build/tmp/work/imx6qdlsabresd-fslc-linux-gnueabi/imx-gst1.0-plugin/4.1.6-r0/temp/log.do_fetch.32598
ERROR: Task (/home/user/Documents/fsl-community-bsp/sources/meta-freescale/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb:do_fetch) failed with exit code '1'

 

When I took a look at the imx-gst1.0-plugin_4.1.6.bb file, I realized that SRCREV was not defined. So, I got the revision number of the latest commit of the branch nxp/MM_04.02.01_1705_L4.9.11_CONSOLIDATED_GA and passed it to SRCREV in imx-gst1.0-plugin_4.1.6.bb.

SRCREV = "ff75824b4444114de57ed61e885b14e6f003c3ab"

 

However after I resolved this issue by using the trick above, I got a compile error:

| In file included from ../../git/libs/device-2d/imx_2d_device_allocator.c:20:0:
| ../../git/libs/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.
| make[1]: *** [libgstfsl_1.0_la-imx_2d_device_allocator.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
| In file included from ../../git/libs/device-2d/imx_2d_device.h:25:0,
|                  from ../../git/libs/device-2d/imx_2d_device.c:20:
| ../../git/libs/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.
| make[1]: *** [libgstfsl_1.0_la-imx_2d_device.lo] Error 1
| make[1]: Leaving directory `/home/otokar/avalue_toolchain_rocko/tmp/work/imx6qrevsa01-fslc-linux-gnueabi/imx-gst1.0-plugin/4.1.6-r0/build/libs'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/otokar/avalue_toolchain_rocko/tmp/work/imx6qrevsa01-fslc-linux-gnueabi/imx-gst1.0-plugin/4.1.6-r0/temp/log.do_compile.1922)
ERROR: Task (/home/tilbay/workspace/fw/trunk/yocto/Avalue/4.1.15-1.2.0/sources/meta-freescale/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb:do_compile) failed with exit code '1'

 

Please tell me how I can solve this problem.

Best Regards.

Outcomes