Package Details: vosk-api 0.3.50-2

Git Clone URL: https://aur.archlinux.org/vosk-api.git (read-only, click to copy)
Package Base: vosk-api
Description: Offline speech recognition toolkit
Upstream URL: https://alphacephei.com/vosk/
Licenses: Apache-2.0
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 11
Popularity: 2.48
First Submitted: 2022-04-04 18:36 (UTC)
Last Updated: 2024-05-23 01:09 (UTC)

Dependencies (18)

Sources (8)

Latest Comments

1 2 3 Next › Last »

ThunderSquirrel commented on 2024-05-24 21:00 (UTC)

@dbermond It builds fine for me too. Thank you again!

ThunderSquirrel commented on 2024-05-24 05:33 (UTC)

@dbermond Many thanks, I'll try again...

dbermond commented on 2024-05-23 01:11 (UTC)

@ThunderSquirrel this is an issue due to gcc 14. I have pushed the fixes and now the package is building fine. Thanks for reporting.

ThunderSquirrel commented on 2024-05-21 15:57 (UTC)

Ran into errors while trying to build the last version, vosk-api 0.3.50-1. Relevant parts of the log file:


...
...
make[1]: Entering directory '/tmp/vosk-api/src/OpenBLAS-0.3.20/exports'
...
...
cc -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -ffat-lto-objects -O2 -DMAX_STACK_ALLOC=2048 -DUSE_LOCKING -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_LAPACK -DNO_LAPACKE -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.20\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2 -DSMALL_MATRIX_OPT -DMAX_STACK_ALLOC=2048 -DUSE_LOCKING -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_LAPACK -DNO_LAPACKE -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.20\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -w -o linktest linktest.c ../libopenblas-r0.3.20.so  && echo OK.
linktest.c: In function ‘main’:
linktest.c:2:1: error: implicit declaration of function ‘openblas_get_parallel_’ [-Wimplicit-function-declaration]
    2 | openblas_get_parallel_();
      | ^~~~~~~~~~~~~~~~~~~~~~
linktest.c:3:1: error: implicit declaration of function ‘openblas_get_num_procs_’ [-Wimplicit-function-declaration]
    3 | openblas_get_num_procs_();
      | ^~~~~~~~~~~~~~~~~~~~~~~
...
...
linktest.c:192:1: error: implicit declaration of function ‘openblas_set_num_threads’ [-Wimplicit-function-declaration]
  192 | openblas_set_num_threads();
      | ^~~~~~~~~~~~~~~~~~~~~~~~
linktest.c:193:1: error: implicit declaration of function ‘openblas_get_num_threads’ [-Wimplicit-function-declaration]
  193 | openblas_get_num_threads();
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:190: ../libopenblas-r0.3.20.so] Error 1
make[1]: Leaving directory '/tmp/vosk-api/src/OpenBLAS-0.3.20/exports'
make: *** [Makefile:122: shared] Error 2
make: Leaving directory '/tmp/vosk-api/src/OpenBLAS-0.3.20'
==> ERROR: A failure occurred in build().
    Aborting...

Has anyone encounter the same problem?

dbermond commented on 2024-05-04 15:03 (UTC)

@MaximGun Nice. Good to know it's working for you.

MaximGun commented on 2024-05-04 00:14 (UTC)

Thanks and apologies. I even knew about the jvm thing but forgot. It is building now with archlinux-java set java-17-openjdk.

dbermond commented on 2024-05-03 00:12 (UTC)

@MaximGun You are using an AUR helper, and this is not supported. Please use makepkg. Also, try to build without any custom java settings configured through the '_JAVA_OPTIONS' environment variable. And notice that the required java version to build (and run) the package is currently 17, so, make sure to have your jvm properly configured for this.

MaximGun commented on 2024-05-01 21:46 (UTC)

I am getting a build failure with 0.3.50:

make: Leaving directory '/home/maximgun/.cache/yay/vosk-api/src/vosk-api-0.3.50/src'
Picked up _JAVA_OPTIONS: -Djava.util.prefs.userRoot=/home/maximgun/.config/java
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
> Unsupported class file major version 66

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 2s
==> ERROR: A failure occurred in build().
    Aborting...
-> error making: vosk-api-exit status 4
-> Failed to install the following packages. Manual intervention is required:
vosk-api - exit status 4

fenugrec commented on 2024-03-04 19:07 (UTC)

@dbermond thanks for the clarification, makes sense.

dbermond commented on 2024-03-04 18:43 (UTC)

@fenugrec The models are not packaged. They are used for running the tests in the check() function. There are many models available for download at the upstream website, with different characteristics and different languages, including giga-sized model packs. If a user needs a model at runtime, it's up to the user to download the desired model and manage it accordingly. According to upstream, you can also train your own model.