Package Details: python-vosk 0.3.45-1

Git Clone URL: (read-only, click to copy)
Package Base: vosk-api
Description: Python module for vosk-api
Upstream URL:
Licenses: Apache
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 4
Popularity: 1.26
First Submitted: 2022-04-04 18:36 (UTC)
Last Updated: 2022-12-15 21:09 (UTC)

Dependencies (23)

Sources (7)

Latest Comments

VorpalGun commented on 2022-12-19 20:15 (UTC)

@dbermond I use aurutils to build in a clean chroot too. However on a hunch, I also tested turning off distcc. That did it. Seems this package is incompatible with distcc. Of course that take much longer to build (8 cores instead of 38 cores)

I suggest either adding !distcc, or trying to figure out what went wrong.

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.

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

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
-Wl,--whole-archive ../libopenblas-r0.3.20.a -Wl,--no-whole-archive \
-Wl,-soname, -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: ../] 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:

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:

==> 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 with bsdtar
  -> Extracting with bsdtar
  -> Creating working copy of openfst git repo...
Cloning into 'openfst'...
Switched to a new branch 'makepkg'
  -> Creating working copy of kaldi git repo...
Cloning into 'kaldi'...
fatal: reference is not a tree: d8d84524c35506ff30514da5d062e341c1f62330
==> ERROR: Failure while creating working copy of kaldi git repo
 -> error making: vosk-api (vosk-api python-vosk)