The build fails with the recently released python version 3.10. A commit on the project's Github repository fixes this:
https://github.com/cmusphinx/sphinxbase/commit/e0221880ccdd79ed9bf42937a56a4c319b013576
| Git Clone URL: | https://aur.archlinux.org/pocketsphinx.git (read-only, click to copy) |
|---|---|
| Package Base: | pocketsphinx |
| Description: | A small speech recognizer |
| Upstream URL: | https://cmusphinx.github.io |
| Keywords: | mobile recognition speech |
| Licenses: | MIT, BSD-3-Clause, BSD-2-Clause |
| Submitter: | None |
| Maintainer: | Martchus |
| Last Packager: | Martchus |
| Votes: | 102 |
| Popularity: | 0.000000 |
| First Submitted: | 2008-08-08 21:47 (UTC) |
| Last Updated: | 2026-06-07 12:15 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 15 Next › Last »
The build fails with the recently released python version 3.10. A commit on the project's Github repository fixes this:
https://github.com/cmusphinx/sphinxbase/commit/e0221880ccdd79ed9bf42937a56a4c319b013576
See https://aur.archlinux.org/packages/sphinxbase/#comment-838981 regarding the Python 3.10 rebuild.
It won't build against Python 3.10:
Please check your Python installation. The error was:
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
I've pushed a fix on https://github.com/Martchus/PKGBUILDs and my binary repo's staging already contains a rebuilt package. I'll update the AUR package once Python 3.10 enters the normal/official repositories.
@Martchus: I'd say it's long overdue to drop Python 2. Either way, both Python 2 & 3 modules should not be installed in the same package.
@tbjta Your build error is produced by the sphinxbase package. So please look at the comment section of that package - there are already relevant comments.
@idlusen pkgconf is in the group base-devel and must therefore not be added to makedepends (https://wiki.archlinux.org/index.php/PKGBUILD#makedepends).
I had to install pkgconf in order to have it built, maybe add that to makedepends.
@nathanielcwm See https://github.com/Martchus/PKGBUILDs/issues/112. And don't flag packages as out-of-date when you run into build errors.
Pinned Comments
Martchus commented on 2020-01-19 12:15 (UTC)
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff
Martchus commented on 2020-01-19 11:46 (UTC) (edited on 2020-01-19 12:14 (UTC) by Martchus)
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff