Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Adam Duskett <adam.duskett@amarulasolutions.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 02/10] package/ivi-homescreen: fix dependencies for gstreamer plugin
Date: Wed, 7 Feb 2024 11:41:46 +0100	[thread overview]
Message-ID: <20240207114146.3335b6b8@windsurf> (raw)
In-Reply-To: <df16b2a080d81430777e362a57818411d1c57a94.1706448055.git.yann.morin.1998@free.fr>

On Sun, 28 Jan 2024 14:20:51 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> The gstreamer plugin select the EGL backend of gst1-plugins-base, but
> forgot to propagate all of its dependencies, notably the _HAS_API
> condition, causing unmet dependencies warnings (unfortunately, not
> errors), such as;
> 
>     $ KCONFIG_SEED=0x597D22A8 make randconfig
>     WARNING: unmet direct dependencies detected for BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
>       Depends on [n]: BR2_PACKAGE_GSTREAMER1 [=y] && BR2_PACKAGE_GST1_PLUGINS_BASE [=y] && BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL [=y] && BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API [=n] && BR2_PACKAGE_HAS_LIBEGL [=y]
>       Selected by [y]:
>       - BR2_PACKAGE_IVI_HOMESCREEN_GSTREAMER_EGL_PLUGIN [=y] && BR2_PACKAGE_IVI_HOMESCREEN [=y] && BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS [=y] && BR2_PACKAGE_HAS_LIBEGL [=y]
> 
> We can't select _HAS_API, because it is a symbol that represents a
> capability provided by other features of gst1-plugins-base; it's
> semantically like a virtual package: we can't select it, we can only
> depend on it.
> 
> Add this dependency to fix this situation.
> 
> This however causes circular (recursive) dependencies errors:
> 
>     package/gstreamer1/gst1-plugins-base/Config.in:135:error: recursive dependency detected!
>     package/gstreamer1/gst1-plugins-base/Config.in:135:     symbol BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL is selected by BR2_PACKAGE_IVI_HOMESCREEN_GSTREAMER_EGL_PLUGIN
>     package/ivi-homescreen/Config.in:221:   symbol BR2_PACKAGE_IVI_HOMESCREEN_GSTREAMER_EGL_PLUGIN depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
>     package/gstreamer1/gst1-plugins-base/Config.in:149:     symbol BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API is selected by BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL
>     package/gstreamer1/gst1-plugins-base/Config.in:152:     symbol BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
> 
> Indeed, _HAS_API is only even set when gstreamer1, gst1-plugins-base,
> and the gst1-plugins-base's lib-opengl support, are all already enabled.
> As such, the dependency on _HAS_API already implies those, and there is
> no need to select them.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Adam Duskett <adam.duskett@amarulasolutions.com>
> ---
>  package/ivi-homescreen/Config.in | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-02-07 10:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-28 13:20 [Buildroot] [PATCH 00/10] package: fix unmet dependencies (branch yem/misc-fixes) Yann E. MORIN
2024-01-28 13:20 ` [Buildroot] [PATCH 01/10] package/util-linux: propagate linux-pam dependencies Yann E. MORIN
2024-02-07 10:41   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 02/10] package/ivi-homescreen: fix dependencies for gstreamer plugin Yann E. MORIN
2024-02-03 13:01   ` Adam Duskett
2024-02-07 10:41   ` Thomas Petazzoni via buildroot [this message]
2024-01-28 13:20 ` [Buildroot] [PATCH 03/10] package/openssh: fix dependencies with refpolicy Yann E. MORIN
2024-02-07 11:27   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 04/10] package/re2: propagate dependencies from libabseil-cpp Yann E. MORIN
2024-02-07 11:50   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 05/10] package/petitboot: fix ordering of comments and sub-options Yann E. MORIN
2024-02-07 11:51   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 06/10] package/petitboot: propagate depednencies from kexec/kexec-lite Yann E. MORIN
2024-02-07 14:25   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 07/10] package/python-ml-dtypes: propagate dependencies from numpy, pybind Yann E. MORIN
2024-02-07 14:26   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 08/10] package/opencv4: propagate internal dependencies Yann E. MORIN
2024-02-07 14:55   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 09/10] package/opencv-contrib: propagate opencv4 dependencies Yann E. MORIN
2024-02-07 14:55   ` Thomas Petazzoni via buildroot
2024-01-28 13:20 ` [Buildroot] [PATCH 10/10] package/atkmm: propagate dependency from at-spi2-core Yann E. MORIN
2024-02-07 10:34   ` Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240207114146.3335b6b8@windsurf \
    --to=buildroot@buildroot.org \
    --cc=adam.duskett@amarulasolutions.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox