Re: Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus


Khem Raj
 

there should be a config.log file generated in the build dir of this
component. Can you share that ?

On Mon, Jan 30, 2023 at 3:19 AM Nikita Gupta <nikitagupta2509@...> wrote:

Hello Takayasu
Thanks for your suggestion, but after implementing i am facing same thing (see attached image).

Regards
Nikita Gupta

On Fri, 27 Jan 2023 at 17:55, Takayasu Ito <ito@...> wrote:

Hi Nikita

> *IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

If you do not put a space after the double quotation marks, the package names before and after will be attached to each other
during the merge.

See
https://docs.yoctoproject.org/bitbake/2.2/bitbake-user-manual/bitbake-user-manual-metadata.html#appending-and-prepending-override-style-syntax

On 2023/01/27 20:48, Nikita Gupta wrote:
Hello List,

As i earlier mentioned that i want to do some customisation in local.conf by adding few pkgs (below).
*IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly gstreamer1.0-libav imx-vpuwrap imx-gpu-g2d imx-gpu-viv gstreamer1.0-plugins-imx imx-gst1.0-plugin"
LICENSE_FLAGS_ACCEPTED = " commercial"
IMAGE_INSTALL:append = "kernel-devsrc"
IMAGE_INSTALL:append = "gstreamer1.0-rtsp-server gst-variable-rtsp-server"
IMAGE_INSTALL:append = " gtk+3"
CORE_IMAGE_EXTRA_INSTALL += " opencv libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev
libopencv-ml-dev"
#LICENSE_FLAGS_WHITELIST = " commercial"
IMAGE_ROOTFS_EXTRA_SPACE = "1048576 "*
and iafter bitbake m getting below errors.

nikita@nikita-HP-Laptop-15-bs0xx:~/Yocto/imx-yocto-bsp$ *bitbake imx-image-full*
Loading cache: 100% |##########################################################################################################|
Time: 0:00:01
Loaded 4736 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################|
Time: 0:00:02
Parsing of 3190 .bb files complete (3188 cached, 2 parsed). 4738 targets, 262 skipped, 3 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server' (but
/home/nikita/Yocto/imx-yocto-bsp/sources/meta-imx/meta-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full.bb
<http://imx-image-full.bb> RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server']
ERROR: Required build target 'imx-image-full' has no buildable providers.
Missing or unbuildable dependency chain was: ['imx-image-full', 'imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server']

Summary: There were 2 ERROR messages, returning a non-zero exit code.

These packages are needed i can not remove So please help me what can i do in this.

Thanks in Advance.

On Fri, 27 Jan 2023 at 17:00, Nikita Gupta <nikitagupta2509@... <mailto:nikitagupta2509@...>> wrote:

Hello Alex

When i run bitbake libimxvpuapi2 and it shows below error (images attached).
Can you please tell me that is "libimxvpuapi2" compatible with imx8mplus board?

Thanks in Advance

On Fri, 27 Jan 2023 at 14:35, Alexander Kanavin <alex.kanavin@... <mailto:alex.kanavin@...>> wrote:

The screenshot indicates the problem originates in libimxvpuapi2
recipe. So you should get more information by running 'bitbake
libimxvpuapi2'.

Alex

On Fri, 27 Jan 2023 at 07:46, Nikita Gupta <nikitagupta2509@... <mailto:nikitagupta2509@...>> wrote:
>
> Hello Alexander
>
> I am not getting your query . Can u please explain your question?
>
> Regards
> Nikita Gupta
>
> On Wed, Jan 25, 2023, 18:35 Alexander Kanavin <alex.kanavin@... <mailto:alex.kanavin@...>> wrote:
>>
>> What happens if you bitbake libimx… thingy directly?
>>
>> Alex
>>
>> On Wed 25. Jan 2023 at 13.47, Nikita Gupta <nikitagupta2509@... <mailto:nikitagupta2509@...>> wrote:
>>>
>>> Hello list,
>>>
>>> I was just making image for imx8mplus by adding few pkgs in my local.conf but encountered few errors so i am here
for your help.
>>> I added below pkgs in my local.conf file
>>>
>>> IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly gstreamer1.0-libav imx-vpuwrap imx-gpu-g2d imx-gpu-viv gstreamer1.0-plugins-imx
imx-gst1.0-plugin"
>>> LICENSE_FLAGS_WHITELIST = "commercial"
>>> IMAGE_INSTALL:append = "kernel-devsrc"
>>> IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server gst-variable-rtsp-server"
>>> IMAGE_INSTALL:append = " gtk+3"
>>> CORE_IMAGE_EXTRA_INSTALL += " opencv libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev
libopencv-objdetect-dev libopencv-ml-dev"
>>> IMAGE_ROOTFS_EXTRA_SPACE = "1048576 "
>>>
>>> So my local.conf file now looks like this
>>> So i am getting below error after baking my recipe ( Attached image).
>>>
>>> Please tell what should I need to do to resolve this.
>>>
>>> Thanks in advance
>>>
>>>
>>>




--
Takayasu Ito
Solution Department, Lineo Solutions, Inc.
https://www.lineo.co.jp/english/
Email: ito@...
Yocto Project Ambassador

Join yocto@lists.yoctoproject.org to automatically receive all group messages.