I tried reinstalling, but no help. Can anyone reproduce? This happens in some form in every invocation I've tried, but the cleanest failure was the form:
espeak -f file.txt -w file.wav
I believe it updated a while ago, but this is the first time I've tried to use it since then. It was working before.
Sorry, I forgot to say it was running in Lollipop on arm.
I was able to reproduce the error on my arm device.
The error disappeared when building with debug symbols, so it is most likely the -Oz flag that is causing this and a patch similar to the one in texlive-bin probably solves it.
I can test it and open a pull request tomorrow unless you or someone else beats me to it
(feel free to beat me to it).
Thanks to @Grimler91 the updated 1.49.2-1 version of the espeak package should now be fixed - update to it with pkg up!
Thank you! I confirmed it's working again!
With espeak_1.49.2-2_arm.deb I get..
$ espeak <<< hello
Floating point exception
$
So do I. Android version doesn't seem to matter. (I tried on 5 and 7.) It could be the same problem come back, but it could be something new. Maybe we should start a new issue, since this one was resolved?
@Grimler91, any insights? I'm currently not set up to try building.
@Quasic This can be a regression introduced after 49c62a86dbd5507ea2c321cc5f77b7262b041977 + 32de55cecea124fcf38c86487d94ef28b0ea8e68. Espeak is build with -Oz for now, previously was -Os.
I pushed https://github.com/termux/termux-packages/commit/c004c92cc459fa3b990029f3b74c501ce7587ff7, so updated android-7 package will be available soon.
@Quasic Could you try espeak 1.49.2-3 (android 7) ?
With my new Android 9.0 it works without errors out of the box. However I cannot hear a thing.
It works for me, too, thanks!
@pschwede, the espeak <<<hello command specifies no output. Try espeak --stdout <<<hello|play - (For some reason, I had to install cmus before that worked. I wonder if a dependency is missing from Sox.)
Most helpful comment
It works for me, too, thanks!
@pschwede, the
espeak <<<hellocommand specifies no output. Tryespeak --stdout <<<hello|play -(For some reason, I had to install cmus before that worked. I wonder if a dependency is missing from Sox.)