Package Details: piper-voices-en-us 1.0.0-5

Git Clone URL: https://aur.archlinux.org/piper-voices-en-us.git (read-only, click to copy)
Package Base: piper-voices-en-us
Description: Voices for Piper text to speech system (en_US)
Upstream URL: https://huggingface.co/rhasspy/piper-voices
Keywords: piper-voices tts
Licenses: MIT
Groups: piper-voices
Conflicts: piper-voices-minimal
Provides: piper-voices
Submitter: AlphaJack
Maintainer: AlphaJack (mutlu_inek, manni, scotswolfie)
Last Packager: AlphaJack
Votes: 10
Popularity: 0.21
First Submitted: 2024-03-06 14:06 (UTC)
Last Updated: 2026-01-05 11:07 (UTC)

Dependencies (2)

Required by (1)

Sources (0)

Latest Comments

scotswolfie commented on 2025-12-21 04:56 (UTC)

The issue mentioned by @mutlu_inek and @manni affects this and other localised piper-voices packages. The proper way to fix this is to change the following line from:

 git lfs install

to:

 git lfs install --local

The default behaviour of git lfs install is to setup the LFS filters inside the global .gitconfig file. Adding --local makes it modify (or create) a .gitignore file inside the current repository, which in this case is the local copy of the piper-voices repo from huggingface.co, so it doesn't conflict with any constraints enforced by makepkg.

manni commented on 2025-12-20 20:27 (UTC) (edited on 2025-12-20 20:30 (UTC) by manni)

@mutlu_inek: I have run into the same problem, I guess it is a behaviour change form git-lfs. It chokes at the command "git lfs install" in prepare step, because somehow that wants to write the global .gitconfig[1], which arch's makepkg prevents by setting the environment variable "GIT_CONFIG_GLOBAL" to "/dev/null".

As a workaround I did:

  # convert specific lfs pointers into actual models
+ unset GIT_CONFIG_GLOBAL
  git lfs install

Best would be to rewrite the PKGBUILD to avoid git-lfs usage, eg. fetch from http directly if that is possible.

[1] it seems to add the following lines to ~/.gitconfig:

[filter "lfs"]
    process = git-lfs filter-process
    required = true
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f

mutlu_inek commented on 2025-12-17 15:05 (UTC)

It doesn't compile. I get the error "error: could not lock config file /dev/null: Permission denied'". Seems like git needs more than user permissions?

Anyone else running into this?

tuxayo commented on 2025-05-05 19:15 (UTC)

Licenses: MIT

Turns out it's a mess.

Like the repo is tagged as MIT but it seems most voices are in CC license.

And some are in CC BY-NC-SA which is not libre: https://huggingface.co/rhasspy/piper-voices/blob/main/en/en_US/ryan/low/MODEL_CARD

Even worse, there is a straight all right reserved one: https://huggingface.co/rhasspy/piper-voices/blob/main/en/en_GB/alan/low/MODEL_CARD https://github.com/MycroftAI/mimic3-voices/blob/master/voices/en_UK/apope_low/LICENSE

So without even considering the issue of without training data, there is not really a source code, the license of part of the models binaries is not libre and it might not even be redistributable.

AlphaJack commented on 2024-04-18 21:20 (UTC)

Thank you, fixed!

tleb commented on 2024-04-17 10:47 (UTC) (edited on 2024-04-17 10:48 (UTC) by tleb)

/usr/share/piper-voices/**/*.onnx files are all ASCII files of the form:

⟩ cat /usr/share/piper-voices/en/en_GB/alan/low/en_GB-alan-low.onnx
version https://git-lfs.github.com/spec/v1
oid sha256:a1f60584620a2bed203de823d08f5abb336fb15f3d6f33f8c341e3e2cabf5dde
size 63104526

Files are not the Protobuf binary data expected, but some git-lfs metadata. True for piper-voices-en-gb as well. Reason is found during prepare():

Skipping object checkout, Git LFS is not installed for this repository.
Consider installing it with 'git lfs install'.

I looked in git-lfs changelog but couldn't find anything relevant. This oneliner fixes it.

diff --git a/PKGBUILD b/PKGBUILD
index 5febe41..71692f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,6 +37,7 @@ prepare(){
  printf '%s\n' ${_models[*]}

  # convert specific lfs pointers into actual models
+ git lfs install
  git lfs pull --include $(IFS=,; echo "${_models[*]}")
 }