Package Details: pocketsphinx-git r185.769492d-2

Git Clone URL: https://aur.archlinux.org/python-pocketsphinx-git.git (read-only, click to copy)
Package Base: python-pocketsphinx-git
Description: Python interface to CMU SphinxBase and PocketSphinx libraries
Upstream URL: https://github.com/bambocher/pocketsphinx-python
Licenses: BSD
Conflicts: pocketsphinx
Provides: pocketsphinx
Submitter: ImNtReal
Maintainer: EndlessEden
Last Packager: EndlessEden
Votes: 3
Popularity: 0.000000
First Submitted: 2016-07-09 23:17 (UTC)
Last Updated: 2022-07-08 17:17 (UTC)

Required by (20)

Sources (3)

Pinned Comments

EndlessEden commented on 2022-07-08 17:18 (UTC)

Update: Unfortunately, upstream has removed python2 compatibility. So i have removed it as well. Id recommend some one make a python2 version, but backporting may be impossible.


I have tested this build in a clean chroot, it built for me on x86_64.

Latest Comments

daniel_shub commented on 2022-07-14 19:37 (UTC)

It still does not build for me in a clean chroot. I needed to add cmake as a makedepends since it is not part of the base-devel group (https://archlinux.org/groups/x86_64/base-devel/) but is called directly by the PKGBUILD. I also needed to install libpulse and alsa-lib to get it to build. I am assuming they are needed at runtime and therefore just regular depends.

EndlessEden commented on 2022-07-08 17:18 (UTC)

Update: Unfortunately, upstream has removed python2 compatibility. So i have removed it as well. Id recommend some one make a python2 version, but backporting may be impossible.


I have tested this build in a clean chroot, it built for me on x86_64.

SolarAquarion commented on 2022-07-02 21:53 (UTC) (edited on 2022-07-06 18:13 (UTC) by SolarAquarion)

The best idea is to move to a git commit before the move to cmake, and remove the python2 bindings

daniel_shub commented on 2022-02-10 17:49 (UTC)

This fails to build in a clean chroot

... checking for python3.10... (cached) /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... no configure: error: cannot import Python module "distutils". 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 ==> ERROR: A failure occurred in build(). Aborting...

I tried adding python2-distutils-extra and python-distutils-extra to makedepends and that did not help.

EndlessEden commented on 2021-08-21 04:14 (UTC)

@nashgul - Thank you for pointers/patch, i will include a notice of contribution when i clean this up more in the future.

EndlessEden commented on 2021-08-21 04:14 (UTC) (edited on 2021-08-21 05:00 (UTC) by EndlessEden)

Updated: added missing depends, fixed typos in conflicts, cleaned up provides, etc. cleaned up layout slightly. Will improve more at a later date.

justinkb commented on 2021-02-07 08:54 (UTC)

this set of packages is a mess, so many errors with the package. missing deps, build deps, typo in conflicts array. Please relinquish maintainership

nashgul commented on 2020-04-02 07:47 (UTC) (edited on 2020-04-02 07:50 (UTC) by nashgul)

I need to do this for compiling...

--- PKGBUILD    2020-04-02 09:42:19.521066981 +0200
+++ PKGBUILD.patch      2020-04-02 09:46:22.604392992 +0200
@@ -10,7 +10,7 @@
 arch=('i686' 'x86_64')
 url='https://github.com/bambocher/pocketsphinx-python'
 license=('BSD')
-depends=('python' 'swig')
+depends=('python' 'swig' 'python-setuptools' 'python2-setuptools')
 makedepends=('git' 'python' 'python2')
 # The Python bindings to pocketsphinx are made by bambocher. Dependencies are
 # stored as git submodules and are maintained by the CMU Sphinx project.
@@ -33,7 +33,7 @@
     git submodule init
     git config submodule.deps/pocketsphinx.url ${srcdir}/pocketsphinx
     git config submodule.deps/sphinxbase.url ${srcdir}/sphinxbase
-    git submodule update
+    git submodule update --remote

     # We want a python2 package as well. Let's copy the sources.
     cd "${srcdir}"

xantares commented on 2020-02-19 19:06 (UTC)

It fails to build unless using:

git submodule update --remote

Palshife commented on 2019-10-02 13:27 (UTC)

Likely missing a build dependency on python-setuptools.

murlakatamenka commented on 2019-04-19 16:28 (UTC)

It seems bison is missing as a dependency - https://www.archlinux.org/packages/core/x86_64/bison/. Build one, I guess.

wget commented on 2018-12-16 16:44 (UTC)

Package updated because I need it as a requirement to the alexa stack. I'm open to any improvement suggestions. Regards.

GrayHatter commented on 2018-05-27 02:56 (UTC)

be aware, the URI for the sources, and the listed upstream URL don't match...

hydranix commented on 2017-04-26 21:48 (UTC)

This package needs some attention. The description not the description for this package. Further, there are typos in the PKGBUILD that need to be rectified to ensure against breakage. Emailing maintainer, will give 1 week to respond before submitting deletion or orphan request.