* [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies'
@ 2017-05-07 20:38 Yann E. MORIN
2017-05-08 19:49 ` Thomas Petazzoni
2017-05-11 19:54 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2017-05-07 20:38 UTC (permalink / raw)
To: buildroot
On master 86b4eeccc4, espeak can generate spurious 'unmet dependencies'
messages:
$ make KCONFIG_SEED=0x7A85DEE0 randconfig
warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA) selects
BR2_PACKAGE_PORTAUDIO_CXX which has unmet directdependencies
(BR2_PACKAGE_PORTAUDIO && BR2_INSTALL_LIBSTDCPP)
However, the dpendency chain *is* correct. There is something that
causes the kconfig parser to get really confused...
Add a comment statng the issue is spurious, so noone tries to fix it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnaud Aujon <arnaud@intelibre.fr>
---
package/espeak/Config.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/espeak/Config.in b/package/espeak/Config.in
index aed627af92..6a8f1d4098 100644
--- a/package/espeak/Config.in
+++ b/package/espeak/Config.in
@@ -27,6 +27,9 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
bool "alsa via portaudio"
+ # Selecting portaudio generates spurious "unmet dependencies"
+ # warnings. Unless you are changing the dependencies of espeak
+ # or portaudio, just ignore those spurious warnings.
select BR2_PACKAGE_PORTAUDIO
select BR2_PACKAGE_PORTAUDIO_CXX
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies'
2017-05-07 20:38 [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies' Yann E. MORIN
@ 2017-05-08 19:49 ` Thomas Petazzoni
2017-05-08 20:46 ` Yann E. MORIN
2017-05-11 19:54 ` Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2017-05-08 19:49 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 7 May 2017 22:38:56 +0200, Yann E. MORIN wrote:
> On master 86b4eeccc4, espeak can generate spurious 'unmet dependencies'
> messages:
>
> $ make KCONFIG_SEED=0x7A85DEE0 randconfig
> warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA) selects
> BR2_PACKAGE_PORTAUDIO_CXX which has unmet directdependencies
> (BR2_PACKAGE_PORTAUDIO && BR2_INSTALL_LIBSTDCPP)
>
> However, the dpendency chain *is* correct. There is something that
> causes the kconfig parser to get really confused...
>
> Add a comment statng the issue is spurious, so noone tries to fix it.
Indeed, I don't see anything wrong in this dependency chain.
> config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
> bool "alsa via portaudio"
> + # Selecting portaudio generates spurious "unmet dependencies"
> + # warnings. Unless you are changing the dependencies of espeak
> + # or portaudio, just ignore those spurious warnings.
> select BR2_PACKAGE_PORTAUDIO
> select BR2_PACKAGE_PORTAUDIO_CXX
Perhaps we could simply add a "depends on BR2_INSTALL_LIBSTDCPP" here,
which most likely would silence the warning?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies'
2017-05-08 19:49 ` Thomas Petazzoni
@ 2017-05-08 20:46 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2017-05-08 20:46 UTC (permalink / raw)
To: buildroot
Thomas, All,
On 2017-05-08 21:49 +0200, Thomas Petazzoni spake thusly:
> Hello,
>
> On Sun, 7 May 2017 22:38:56 +0200, Yann E. MORIN wrote:
> > On master 86b4eeccc4, espeak can generate spurious 'unmet dependencies'
> > messages:
> >
> > $ make KCONFIG_SEED=0x7A85DEE0 randconfig
> > warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA) selects
> > BR2_PACKAGE_PORTAUDIO_CXX which has unmet directdependencies
> > (BR2_PACKAGE_PORTAUDIO && BR2_INSTALL_LIBSTDCPP)
> >
> > However, the dpendency chain *is* correct. There is something that
> > causes the kconfig parser to get really confused...
> >
> > Add a comment statng the issue is spurious, so noone tries to fix it.
>
> Indeed, I don't see anything wrong in this dependency chain.
>
> > config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
> > bool "alsa via portaudio"
> > + # Selecting portaudio generates spurious "unmet dependencies"
> > + # warnings. Unless you are changing the dependencies of espeak
> > + # or portaudio, just ignore those spurious warnings.
> > select BR2_PACKAGE_PORTAUDIO
> > select BR2_PACKAGE_PORTAUDIO_CXX
>
> Perhaps we could simply add a "depends on BR2_INSTALL_LIBSTDCPP" here,
> which most likely would silence the warning?
Nope, it does not work. The only thing that breaks the dependency chain
is that the select on portaudio be changed into a depends. I could well
provide a patch to that effect, but that not very user-firendly... :-/
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies'
2017-05-07 20:38 [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies' Yann E. MORIN
2017-05-08 19:49 ` Thomas Petazzoni
@ 2017-05-11 19:54 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-05-11 19:54 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 7 May 2017 22:38:56 +0200, Yann E. MORIN wrote:
> On master 86b4eeccc4, espeak can generate spurious 'unmet dependencies'
> messages:
>
> $ make KCONFIG_SEED=0x7A85DEE0 randconfig
> warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA) selects
> BR2_PACKAGE_PORTAUDIO_CXX which has unmet directdependencies
> (BR2_PACKAGE_PORTAUDIO && BR2_INSTALL_LIBSTDCPP)
>
> However, the dpendency chain *is* correct. There is something that
> causes the kconfig parser to get really confused...
>
> Add a comment statng the issue is spurious, so noone tries to fix it.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Arnaud Aujon <arnaud@intelibre.fr>
> ---
> package/espeak/Config.in | 3 +++
> 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-11 19:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-07 20:38 [Buildroot] [PATCH] package/espeak: add comment to ignore 'unmet dependencies' Yann E. MORIN
2017-05-08 19:49 ` Thomas Petazzoni
2017-05-08 20:46 ` Yann E. MORIN
2017-05-11 19:54 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox