I've pushed the version which is fixed for Python 3.10 now that it is in the normal official repos.
@adsun I'm aware of the problem, see my previous comment. I also saw the patch but simply use PYTHONWARNINGS=ignore
for now.
Git Clone URL: | https://aur.archlinux.org/sphinxbase.git (read-only, click to copy) |
---|---|
Package Base: | sphinxbase |
Description: | Common library for sphinx speech recognition |
Upstream URL: | https://cmusphinx.sourceforge.net/ |
Keywords: | recognition speech |
Licenses: | BSD |
Submitter: | None |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 91 |
Popularity: | 1.04 |
First Submitted: | 2008-08-08 21:35 (UTC) |
Last Updated: | 2021-12-13 17:49 (UTC) |
I've pushed the version which is fixed for Python 3.10 now that it is in the normal official repos.
@adsun I'm aware of the problem, see my previous comment. I also saw the patch but simply use PYTHONWARNINGS=ignore
for now.
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
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.
@nathanielcwm See https://github.com/Martchus/PKGBUILDs/issues/112. And don't flag packages as out-of-date when you run into build errors.
I'm getting this error when trying to build.
! LaTeX Error: File `newunicodechar.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name: ! Undefined control sequence.
<recently read> \newunicodechar
l.6 \newunicodechar
{⁻}{${}^{-}$}% Superscript minus
? ^C! Interruption.
l.6 \newunicodechar
{⁻}{${}^{-}$}% Superscript minus
? Cleaning up...
Exiting...
make[1]: *** [Makefile:611: html/index.html] Error 1
make: *** [Makefile:478: all-recursive] Interrupt
Installing texlive-latexextra fixes that but I also need to remove doxygen or else it will have a different error while building
Martchus - Thanks! For time's sake I just uninstalled doxygen -- installed ffmpeg-full-nvenc which pulled in pocketsphinx/sphinxbase -- and everything compiled fine. Not sure what pulled in doxygen. I'll look into using makechrootpkg also. Thanks again!
@markginter31 By the way, "Clean install of Manjaro" is really not useful. If you want to specify your build environment, better provide the output of e.g. pacman -Q
. A "clean" build environment is generally a build environment with only the required packages for the build and packages belonging to the base-devel
group: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot
I could reproduce the problem by installing doxygen
into the build root. If it is installed the build system automatically detects it and tries to build the documentation which fails. I couldn't find a configure option to disable that behavior. However, it is recommended anyways to use makechrootpkg
to build in a clean chroot so I won't put any effort into it. If someone wants to provide a patch I'd incorporate it of course.
but anytime I try to compile sphinxbase-git it fails
Note that this is sphinxbase
, not sphinxbase-git
(although both package have the same problem).
Same error as arekishi ... tried with python3.6 and python3.8 -- but always fails at doc creation. Everything appears to compile fine. Clean install of Manjaro -- ran into the failure when compiling ffmpeg-full-nvenc. I was able to comment out the pocketsphinx references in ffmpeg -- but anytime I try to compile sphinxbase-git it fails.
Possibly related?? https://bugzilla.redhat.com/show_bug.cgi?id=1793503 (same error - but with python 3.9)...
Pinned Comments
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