Package Details: python-vosk 0.3.50-2

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

Dependencies (23)

Sources (8)

Latest Comments

1 2 3 Next › Last »

milkii commented on 2024-07-06 23:16 (UTC)

Thanks for checking. I moved to python-srt-git and now this one builds!

dbermond commented on 2024-07-03 16:18 (UTC)

@milkii I have just checked, and the package is building fine. It looks like that you have some problem with your python-srt package. Make sure that your python-srt is installed and properly built against the current python 3.12.

milkii commented on 2024-07-02 23:48 (UTC) (edited on 2024-07-02 23:48 (UTC) by milkii)

Getting this, first time install, both for this and for -git, same message;

BUILD SUCCESSFUL in 2s
7 actionable tasks: 6 executed, 1 up-to-date
generating ./vosk/vosk_cffi.py
* Getting build dependencies for wheel...
Adding library /home/milk/.cache/yay/vosk-api-git/src/vosk-api/src/libvosk.so

ERROR Missing dependencies:
    srt
==> ERROR: A failure occurred in build().
    Aborting...

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.