All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build
@ 2022-04-17 21:58 Fabrice Fontaine
  2022-04-21 20:57 ` Arnout Vandecappelle
  2022-05-24 13:44 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-17 21:58 UTC (permalink / raw)
  To: buildroot; +Cc: Arnaud Aujon, Fabrice Fontaine

Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to
ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with
pulseaudio raised since the addition of the package in commit
10b6d10009c70262cfb492b2abaa3a091a8fb4aa:

>>> espeak 1.48.04 Installing to target
PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target" install
make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src'
g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \
-I. -D LIBRARY -c -fno-exceptions  wave.cpp  -o x_wave.o
g++  -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \
x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread
/usr/bin/ld: cannot find -lportaudio

Fixes:
 - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/espeak/espeak.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/espeak/espeak.mk b/package/espeak/espeak.mk
index d592673ac5..44893ac9be 100644
--- a/package/espeak/espeak.mk
+++ b/package/espeak/espeak.mk
@@ -37,7 +37,8 @@ define ESPEAK_BUILD_CMDS
 endef
 
 define ESPEAK_INSTALL_TARGET_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \
+		AUDIO="$(ESPEAK_AUDIO_BACKEND)" DESTDIR="$(TARGET_DIR)" install
 endef
 
 $(eval $(generic-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build
  2022-04-17 21:58 [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build Fabrice Fontaine
@ 2022-04-21 20:57 ` Arnout Vandecappelle
  2022-05-24 13:44 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-21 20:57 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Arnaud Aujon



On 17/04/2022 23:58, Fabrice Fontaine wrote:
> Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to
> ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with
> pulseaudio raised since the addition of the package in commit
> 10b6d10009c70262cfb492b2abaa3a091a8fb4aa:
> 
>>>> espeak 1.48.04 Installing to target
> PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target" install
> make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src'
> g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \
> -I. -D LIBRARY -c -fno-exceptions  wave.cpp  -o x_wave.o
> g++  -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \
> x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread
> /usr/bin/ld: cannot find -lportaudio
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/espeak/espeak.mk | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/espeak/espeak.mk b/package/espeak/espeak.mk
> index d592673ac5..44893ac9be 100644
> --- a/package/espeak/espeak.mk
> +++ b/package/espeak/espeak.mk
> @@ -37,7 +37,8 @@ define ESPEAK_BUILD_CMDS
>   endef
>   
>   define ESPEAK_INSTALL_TARGET_CMDS
> -	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install
> +	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \
> +		AUDIO="$(ESPEAK_AUDIO_BACKEND)" DESTDIR="$(TARGET_DIR)" install
>   endef
>   
>   $(eval $(generic-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build
  2022-04-17 21:58 [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build Fabrice Fontaine
  2022-04-21 20:57 ` Arnout Vandecappelle
@ 2022-05-24 13:44 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-24 13:44 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Arnaud Aujon, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Pass $(TARGET_CONFIGURE_OPTS) AUDIO="$(ESPEAK_AUDIO_BACKEND)" to
 > ESPEAK_INSTALL_TARGET_CMDS to avoid the following build failure with
 > pulseaudio raised since the addition of the package in commit
 > 10b6d10009c70262cfb492b2abaa3a091a8fb4aa:

 >>>> espeak 1.48.04 Installing to target
 > PATH="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/bin:/nvmedata/autobuild/instance-5/output-1/per-package/espeak/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
 > /usr/bin/make -j1 -C
 > /nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src
 > DESTDIR="/nvmedata/autobuild/instance-5/output-1/per-package/espeak/target"
 > install
 > make[1]: Entering directory '/nvmedata/autobuild/instance-5/output-1/build/espeak-1.48.04/src'
 > g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fPIC -fvisibility=hidden -pedantic \
 > -I. -D LIBRARY -c -fno-exceptions  wave.cpp  -o x_wave.o
 > g++  -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \
 > x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o
 > x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o
 > x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o
 > x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o
 > x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o
 > x_sonic.o -lstdc++ -lportaudio -lpthread
 > /usr/bin/ld: cannot find -lportaudio

 > Fixes:
 >  - http://autobuild.buildroot.org/results/a4a6e3203ad70cd724da8130ee1648141ab39a6a

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-24 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-17 21:58 [Buildroot] [PATCH 1/1] package/espeak: fix pulseaudio build Fabrice Fontaine
2022-04-21 20:57 ` Arnout Vandecappelle
2022-05-24 13:44 ` Peter Korsgaard

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.