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.
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.