Package Details: piper-tts 1.8.0-1

Git Clone URL: https://aur.archlinux.org/piper-tts.git (read-only, click to copy)
Package Base: piper-tts
Description: Fast and local neural text-to-speech engine
Upstream URL: https://github.com/OHF-Voice/piper1-gpl
Licenses: GPL-3.0-or-later
Conflicts: piper, piper-tts
Provides: piper-tts
Submitter: AUR-user
Maintainer: AUR-user
Last Packager: AUR-user
Votes: 14
Popularity: 1.52
First Submitted: 2025-08-01 21:17 (UTC)
Last Updated: 2026-09-05 08:57 (UTC)

Sources (1)

Pinned Comments

AUR-user commented on 2026-01-17 17:05 (UTC)

Both packages (piper and piper-tts) provide /usr/lib/python3.14/site-packages/piper/

I don't see a way to change the module name without breaking dependencies.

It might be best to contact upstream (https://github.com/OHF-voice/piper1-gpl) to solve the name conflict.

Latest Comments

1 2 3 Next › Last »

scott commented on 2026-10-07 10:11 (UTC) (edited on 2026-10-07 10:16 (UTC) by scott)

As the package is at present, git clone followed by makepkg -sri fails, because one of the tests fails. The test fails because it expects to have a voice model (a valid .onnx and onnx.json file) in the same directory as the test code (which is src/piper1-gpl/build/tests/CMakeFiles/piper_test.dir/ ); but there is none there. Instead, the files are at src/piper1-gpl/tests/. There are two work-arounds:
1. don't run any tests:

 git pull && makepkg -sri --nocheck

or
2. do a dance to download the source, then insert links to the voice model files, then the build succeeds:

git pull  
makepkg -o  
mkdir -p src/piper1-gpl/build/tests/CMakeFiles/piper_test.dir/  
ln -s ../../../../tests/test_voice.onnx src/piper1-gpl/build/tests/CMakeFiles/piper_test.dir/test_voice.onnx   
ln -s ../../../../tests/test_voice.onnx.json src/piper1-gpl/build/tests/CMakeFiles/piper_test.dir/test_voice.onnx.json   
makepkg -sri

then the tests should all pass.

AUR-user commented on 2026-10-04 10:16 (UTC)

These files are only used to test the build. If you do not need that, you can set PIPER_BUILD_TESTS to OFF in build().

musickiller commented on 2026-10-04 10:04 (UTC) (edited on 2026-10-04 10:07 (UTC) by musickiller)

***
adding 'piper/py.typed'
adding 'piper/voice.py'
adding 'piper/espeak-ng-data/ab_dict'
adding 'piper/espeak-ng-data/af_dict'
adding 'piper/espeak-ng-data/am_dict'
adding 'piper/espeak-ng-data/an_dict'
adding 'piper/espeak-ng-data/ar_dict'
adding 'piper/espeak-ng-data/as_dict'
adding 'piper/espeak-ng-data/az_dict'
adding 'piper/espeak-ng-data/ba_dict'
adding 'piper/espeak-ng-data/be_dict'
adding 'piper/espeak-ng-data/bg_dict'
adding 'piper/espeak-ng-data/bn_dict'
adding 'piper/espeak-ng-data/bpy_dict'
adding 'piper/espeak-ng-data/bs_dict'
adding 'piper/espeak-ng-data/ca_dict'
***
adding 'piper_tts-1.8.0.dist-info/licenses/COPYING'
adding 'piper_tts-1.8.0.dist-info/licenses/licenses/LICENSE.g2pW-Apache-2.0'
adding 'piper_tts-1.8.0.dist-info/METADATA'
adding 'piper_tts-1.8.0.dist-info/WHEEL'
adding 'piper_tts-1.8.0.dist-info/entry_points.txt'
adding 'piper_tts-1.8.0.dist-info/top_level.txt'
adding 'piper_tts-1.8.0.dist-info/RECORD'
removing _skbuild/linux-x86_64-3.14/setuptools/bdist.linux-x86_64/wheel
Successfully built piper_tts-1.8.0-cp39-abi3-linux_x86_64.whl
-- The C compiler identification is GNU 16.2.1
***
-- Parsed Piper Version: 1.8.0
-- Building piper tests
-- Downloading https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/lessac/medium/en_US-lessac-medium.onnx
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
***
-- [download 100% complete]
-- Downloading https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/lessac/medium/en_US-lessac-medium.onnx.json
-- [download 100% complete]
-- Downloading https://huggingface.co/rhasspy/piper-voices/resolve/main/uk/uk_UA/ukrainian_tts/medium/uk_UA-ukrainian_tts-medium.onnx
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
***

Then it goes on to download Chinese files and so on, which on my connection takes awhile, not to mention that I really don't want any extraneous files stored here.

[fixed the log]

AUR-user commented on 2026-10-04 09:59 (UTC)

@musickiller please explain, which onnx files are you talking about?

musickiller commented on 2026-10-04 09:53 (UTC)

The package drags lots of .onnx language files, which I totally don't need. Is there a way to block it I only need English, a small one

norby commented on 2026-09-29 11:02 (UTC) (edited on 2026-09-29 11:04 (UTC) by norby)

While building via paru its internal tests fail.

The following tests did not run:
      1 - WavFileTest.TextToWavFile (Skipped)
      3 - ProcessTest.ProcessInputStreamText (Skipped)
      4 - ProcessTest.ProcessInputStreamFileOutput (Skipped)
      5 - ProcessTest.ProcessInputStreamDirectoryOutput (Skipped)
      6 - ProcessTest.ProcessInputStreamJson (Skipped)

The following tests FAILED:
     17 - PiperTest.CreateNullConfigPath (Failed)
     18 - PiperTest.PiperSynthesis (Failed)
     19 - PiperTest.PiperSynthesisText (Failed)
     20 - PiperTest.DeterministicSynthesis (Failed)
     21 - PiperTest.DefaultSynthesizeOptions (Failed)
     22 - PiperTest.CustomSynthesizeOptions (Failed)
     23 - PiperTest.MultiSentence (Failed)
     24 - PiperTest.EmptyText (Failed)
     25 - PiperTest.CreateWithOptionsBasic (Failed)
     28 - PiperTest.CreateWithOptionsSmallStruct (Failed)
     29 - PiperTest.CreateWithOptionsDataDir (Failed)
     30 - PiperTest.CreateWithOptionsG2pwDirField (Failed)
     31 - PiperTest.CreateLegacyVsOptionsParity (Failed)
     36 - PinyinTest.DirectPinyin (Failed)
     37 - PinyinTest.HanziMonoFallback (Failed)
     38 - PinyinTest.MissingG2pwFallback (Failed)
     39 - PinyinTest.PolyphonicKnownLimitation (Failed)
     40 - PinyinTest.DataDirG2pwSubdir (Failed)
     41 - PinyinTest.DataDirRootDicts (Failed)
Errors while running CTest

AUR-user commented on 2026-05-17 18:47 (UTC)

@CapSel see https://aur.archlinux.org/packages/piper-tts#comment-1055766

CapSel commented on 2026-05-08 09:05 (UTC)

this package conflicts with extra/piper - a mouse configuration tool. can this be solved somehow?

acerix commented on 2026-04-18 20:40 (UTC)

The build error with the vowel asset happens if the full path of the asset file is too long, so it fails when building in a directory with a long path. As Schlaefer mentioned, there's an upstream bug report for this: https://github.com/OHF-Voice/piper1-gpl/issues/126

The build fails using an AUR builder like paru which builds packages under a path like ~/.cache/paru/clone/piper-tts/piper1-gpl/ sice that makes the file paths too long. The package builds if it's built in to a shorter path like ~/piper-tts/.

AUR-user commented on 2026-04-07 18:22 (UTC)

@kagetora13, try to build in a clean environment (extra-x86_64-build) without AUR helper.

To install dependencies not in the repository, you can use -I, e.g. extra-x86_64-build -- -I ../python-pathvalidate/python-pathvalidate-3.3.1-1-any.pkg.tar.zst.