* [meta-gnome][dunfell][PATCH] sysprof: depend on polkit only if DISTRO_FEATURES has it
@ 2021-06-08 4:58 akash hadke
2021-06-08 6:54 ` [oe] " Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: akash hadke @ 2021-06-08 4:58 UTC (permalink / raw)
To: openembedded-devel; +Cc: nisha.parrakat, harpritkaur.bhandari, Mikko Rapeli
From: Mikko Rapeli <mikko.rapeli@bmw.de>
Fixes yocto-check-layer error:
ERROR: Nothing PROVIDES 'polkit' (but /home/builder/src/base/meta-openembedded/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb DEPENDS on or otherwise requires it)
polkit was skipped: missing required distro feature 'polkit' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: akash hadke <akash.hadke@kpit.com>
---
meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
index ad69ab6..87acb29 100644
--- a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
+++ b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
@@ -16,7 +16,10 @@ SRC_URI += "file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \
file://0001-libsysprof-ui-Rename-environ-to-sys_environ.patch \
"
-PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}"
+PACKAGECONFIG ?= " \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', 'polkit', 'sysprofd libsysprof', '', d)} \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \
+"
PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle"
PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit"
PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe] [meta-gnome][dunfell][PATCH] sysprof: depend on polkit only if DISTRO_FEATURES has it
2021-06-08 4:58 [meta-gnome][dunfell][PATCH] sysprof: depend on polkit only if DISTRO_FEATURES has it akash hadke
@ 2021-06-08 6:54 ` Martin Jansa
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2021-06-08 6:54 UTC (permalink / raw)
To: akash hadke
Cc: openembedded-devel, Nisha Parrakat, Harpritkaur Bhandari, Mikko Rapeli
[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]
Backport the commit from master instead:
https://git.openembedded.org/meta-openembedded/commit/?id=4ff5b43edd3dd5843d29b66d809cb5365e9f9857
On Tue, Jun 8, 2021 at 6:59 AM akash hadke <akash.hadke@kpit.com> wrote:
> From: Mikko Rapeli <mikko.rapeli@bmw.de>
>
> Fixes yocto-check-layer error:
>
> ERROR: Nothing PROVIDES 'polkit' (but
> /home/builder/src/base/meta-openembedded/meta-gnome/recipes-kernel/sysprof/
> sysprof_3.34.1.bb DEPENDS on or otherwise requires it)
> polkit was skipped: missing required distro feature 'polkit' (not in
> DISTRO_FEATURES)
> ERROR: Required build target 'meta-world-pkgdata' has no buildable
> providers.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
> Signed-off-by: akash hadke <akash.hadke@kpit.com>
> ---
> meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
> b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
> index ad69ab6..87acb29 100644
> --- a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
> +++ b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
> @@ -16,7 +16,10 @@ SRC_URI +=
> "file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \
> file://0001-libsysprof-ui-Rename-environ-to-sys_environ.patch
> \
> "
>
> -PACKAGECONFIG ?= "sysprofd libsysprof
> ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk',
> '', d)}"
> +PACKAGECONFIG ?= " \
> + ${@bb.utils.contains_any('DISTRO_FEATURES', 'polkit', 'sysprofd
> libsysprof', '', d)} \
> + ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}',
> 'gtk', '', d)} \
> +"
> PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3
> libdazzle"
> PACKAGECONFIG[sysprofd] =
> "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit"
> PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
> --
> 2.7.4
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3286 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [meta-gnome][dunfell][PATCH] sysprof: depend on polkit only if DISTRO_FEATURES has it
@ 2021-06-08 4:28 akash hadke
0 siblings, 0 replies; 3+ messages in thread
From: akash hadke @ 2021-06-08 4:28 UTC (permalink / raw)
To: openembedded-devel; +Cc: nisha.parrakat, harpritkaur.bhandari, Mikko Rapeli
From: Mikko Rapeli <mikko.rapeli@bmw.de>
Fixes yocto-check-layer error:
ERROR: Nothing PROVIDES 'polkit' (but /home/builder/src/base/meta-openembedded/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb DEPENDS on or otherwise requires it)
polkit was skipped: missing required distro feature 'polkit' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: akash hadke <akash.hadke@kpit.com>
---
meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
index ad69ab6..87acb29 100644
--- a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
+++ b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb
@@ -16,7 +16,10 @@ SRC_URI += "file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \
file://0001-libsysprof-ui-Rename-environ-to-sys_environ.patch \
"
-PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}"
+PACKAGECONFIG ?= " \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', 'polkit', 'sysprofd libsysprof', '', d)} \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \
+"
PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle"
PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit"
PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-08 6:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 4:58 [meta-gnome][dunfell][PATCH] sysprof: depend on polkit only if DISTRO_FEATURES has it akash hadke
2021-06-08 6:54 ` [oe] " Martin Jansa
-- strict thread matches above, loose matches on Subject: below --
2021-06-08 4:28 akash hadke
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.