@ackalker. I tried the fixed PKGBUILD you were kind of to link to but it's still failing to build on my system. Getting an a**whack of cython errors, log file here http://www.privatepaste.com/eea930330b
Search Criteria
Package Details: python-pocketsphinx 5.1.1-1
Package Actions
| 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) |
Dependencies (12)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- python
- python-sounddeviceAUR
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cython (cython-gitAUR) (make)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- python-build (make)
- python-installer (make)
- python-scikit-build-core (make)
- python-sounddeviceAUR (make)
Required by (3)
- jelvis
- python-speechrecognition (check)
- python-speechrecognition (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 Next › Last »
sysfu commented on 2013-11-06 03:53 (UTC)
marcs commented on 2013-11-05 19:06 (UTC)
Thank you ackalker.
I've Updated the package to rel 2 with your suggestion.
ackalker commented on 2013-11-05 18:17 (UTC)
@srf21c
There is an easy fix for that (As mentioned on the forums and the 'net, CPPFLAGS is the culprit): in the build() function, under the "find -type f" lines, add the line:
sed -i '/cython/s/$(CPPFLAGS) //' python/Makefile.am
Link to fixed PKGBUILD: http://pastie.org/private/vh8dwy6gsldmmwr3bfmrka
sysfu commented on 2013-09-24 06:06 (UTC)
Build failing with this error:
make[1]: Entering directory `/home/user/Downloads/pocketsphinx/src/pocketsphinx-0.8/python'
cython -o pocketsphinx.c pocketsphinx.pyx -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/sphinxbase -I/python
Unknown compiler flag: -D_FORTIFY_SOURCE=2
make[1]: *** [pocketsphinx.c] Error 1
make[1]: Leaving directory `/home/user/Downloads/pocketsphinx/src/pocketsphinx-0.8/python'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
marcs commented on 2013-09-15 14:29 (UTC)
I've included cython2 in the depends array.
Thank you for the info.
Anthony25 commented on 2013-09-15 14:00 (UTC)
Sources for my previous post : http://sourceforge.net/p/cmusphinx/bugs/284/#b6ea
Anthony25 commented on 2013-09-15 13:59 (UTC)
In fact cython should be a depends, because if you don't have it, some source files are not recompiled and you get an error when you try to import sphinxbase in python.
Thank you for the PKGBUILD update, it's working now with cython installed !
marcs commented on 2013-09-15 13:13 (UTC)
Ok now it should work if cython or cython2 is installed or both.
marcs commented on 2013-09-15 12:30 (UTC)
The problem appears only if i'm installing from yaourt. Using makepkg everything works fine. Thank you Anthony for spotting the problem. I'll try to fix it.
marcs commented on 2013-09-15 11:59 (UTC)
Added bison the the makedepends array.
I've tried to install cython and/or cython2 but i didn't have any compilation 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