* [Buildroot] [PATCH v2,1/1] package/cukinia: fix dependency
@ 2020-10-08 17:13 Fabrice Fontaine
2020-10-08 19:48 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-10-08 17:13 UTC (permalink / raw)
To: buildroot
gawk can't be selected when busybox is not available as gawk needs
wchar:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_GAWK
Depends on [n]: BR2_USE_WCHAR [=n] && BR2_USE_MMU [=y] && BR2_PACKAGE_BUSYBOX_SHOW_OTHERS [=y]
Selected by [y]:
- BR2_PACKAGE_CUKINIA [=y] && !BR2_PACKAGE_BUSYBOX [=n]
So replace this "select" by a "depends on", as already done by
BR2_PACKAGE_APPARMOR_UTILS_EXTRA
Fixes:
- http://autobuild.buildroot.org/results/66dacfe7b0783c7df29052fff20f3e79ecbcf054
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Add a comment
package/cukinia/Config.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/cukinia/Config.in b/package/cukinia/Config.in
index 37373e9a08..20d0820a70 100644
--- a/package/cukinia/Config.in
+++ b/package/cukinia/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_CUKINIA
bool "cukinia"
- select BR2_PACKAGE_GAWK if !BR2_PACKAGE_BUSYBOX
+ depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_GAWK
help
Cukinia is designed to help Linux-based embedded firmware
developers run system-level validation tests on their product.
@@ -13,3 +13,6 @@ config BR2_PACKAGE_CUKINIA
integration with CI systems such as Jenkins.
https://github.com/savoirfairelinux/cukinia
+
+comment "cukinia needs busybox or gawk"
+ depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_GAWK)
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2,1/1] package/cukinia: fix dependency
2020-10-08 17:13 [Buildroot] [PATCH v2,1/1] package/cukinia: fix dependency Fabrice Fontaine
@ 2020-10-08 19:48 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-10-08 19:48 UTC (permalink / raw)
To: buildroot
On Thu, 8 Oct 2020 19:13:09 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> gawk can't be selected when busybox is not available as gawk needs
> wchar:
>
> WARNING: unmet direct dependencies detected for BR2_PACKAGE_GAWK
> Depends on [n]: BR2_USE_WCHAR [=n] && BR2_USE_MMU [=y] && BR2_PACKAGE_BUSYBOX_SHOW_OTHERS [=y]
> Selected by [y]:
> - BR2_PACKAGE_CUKINIA [=y] && !BR2_PACKAGE_BUSYBOX [=n]
>
> So replace this "select" by a "depends on", as already done by
> BR2_PACKAGE_APPARMOR_UTILS_EXTRA
>
> Fixes:
> - http://autobuild.buildroot.org/results/66dacfe7b0783c7df29052fff20f3e79ecbcf054
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v1 -> v2 (after review of Thomas Petazzoni):
> - Add a comment
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-08 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 17:13 [Buildroot] [PATCH v2,1/1] package/cukinia: fix dependency Fabrice Fontaine
2020-10-08 19:48 ` Thomas Petazzoni
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.