Package Details: python-vosk 0.3.50-1

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: 9
Popularity: 1.56
First Submitted: 2022-04-04 18:36 (UTC)
Last Updated: 2024-04-22 16:40 (UTC)

Dependencies (23)

Sources (7)

Latest Comments

« First ‹ Previous 1 2

dbermond commented on 2022-12-18 23:26 (UTC)

@VorpalGun I've just checked, and the package is building fine. It builds fine in a clean chroot, so there is no missing build time dependency. You can try to build it in this way. Please make sure to be using an up-to-date Arch Linux system (not an Arch derivative). The f77 thing is not a problem.

VorpalWay commented on 2022-12-18 20:18 (UTC) (edited on 2022-12-18 20:18 (UTC) by VorpalWay)

Seems like there is a missing dependency:

/bin/sh: line 1: f77: command not found
expr: syntax error: unexpected argument ‘4’
/bin/sh: line 1: f77: command not found
expr: syntax error: unexpected argument ‘5’
/bin/sh: line 1: f77: command not found
expr: syntax error: unexpected argument ‘7’

Also this (much later in the build):

perl ./gensymbol linktest  x86_64 _ 0 0 1 1 0 1 "" "" 1 0 1 1 1 1 > linktest.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -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=8 -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=8 -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 -flto=auto -shared -o ../libopenblas-r0.3.20.so \
-Wl,--whole-archive ../libopenblas-r0.3.20.a -Wl,--no-whole-archive \
-Wl,-soname,libopenblas.so.0 -lm -lm
make[2]: *** read jobs pipe: Is a directory.  Stop.
make[2]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
distcc[37124] ERROR: compile (null) on localhost failed
make[1]: *** [Makefile:189: ../libopenblas-r0.3.20.so] Error 1
make[1]: Leaving directory '/build/vosk-api/src/OpenBLAS-0.3.20/exports'
make: *** [Makefile:122: shared] Error 2
make: Leaving directory '/build/vosk-api/src/OpenBLAS-0.3.20'

I'm a software developer and I'm finding the build error confusing, so I uploaded the build log as I'm not quite sure what went wrong where: https://0x0.st/o5o_.log

dbermond commented on 2022-07-08 18:26 (UTC)

@jperry Thanks for reporting. Package updated.

jperry commented on 2022-07-08 18:06 (UTC)

Hi, it looks like clapack-3.2.1.tar.gz has changed upstream; the hash doesn't validate anymore.

dbermond commented on 2022-05-29 23:42 (UTC)

@m78 vosk-api is a dependency for python-vosk. So, if you wish to use python-vosk, you also need to install vosk-api. Use 'pacman -U' to install both (or use makepkg '-i' option to install both after building).

m78 commented on 2022-05-29 20:54 (UTC)

can someone help me with this dependency problem?

error: failed to prepare transaction (could not satisfy dependencies) :: unable to satisfy dependency 'vosk-api=0.3.38' required by python-vosk :: unable to satisfy dependency 'python-vosk' required by nerd-dictation-git

thanks for your help guys!

dbermond commented on 2022-04-28 03:13 (UTC)

@ideasman42 It looks like the vosk branch of the kaldi repository is frequently rebased, making the target commit to become out of tree. I pushed a change that (hopefully) fixes this. Thanks for reporting.

ideasman42 commented on 2022-04-28 02:15 (UTC) (edited on 2022-04-28 02:15 (UTC) by ideasman42)

Currently I'm running into this error building the package, this was reported to me as a bug here: https://github.com/ideasman42/nerd-dictation/issues/54

==> Extracting sources...
  -> Extracting vosk-api-0.3.32.tar.gz with bsdtar
  -> Extracting openblas-0.3.13.tar.gz with bsdtar
  -> Extracting clapack-3.2.1.tar.gz with bsdtar
  -> Extracting vosk-model-small-en-us-0.15.zip with bsdtar
  -> Extracting vosk-model-spk-0.4.zip with bsdtar
  -> Creating working copy of openfst git repo...
Cloning into 'openfst'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of kaldi git repo...
Cloning into 'kaldi'...
done.
fatal: reference is not a tree: d8d84524c35506ff30514da5d062e341c1f62330
==> ERROR: Failure while creating working copy of kaldi git repo
    Aborting...
 -> error making: vosk-api (vosk-api python-vosk)