Bug 1747650
| Summary: | pocketsphinx fails to build with Python 3.8 on Fedora 32+ | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | pocketsphinx | Assignee: | W. Michael Petullo <redhat> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | loganjerry, mike, redhat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-17 11:01:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1750908, 1750909, 1686977 | ||
|
Description
Miro Hrončok
2019-08-31 12:59:09 UTC
I think that this package shall be retired. It has dependencies missing for couple releases. WDYT? It looks like sphinxbase will be easy to fix; a patch follows. If we make this change and unorphan sphinxbase, then I should be able to fix pocketsphinx too. The problem seems to follow from pulling Python 2 out of Fedora.
diff --git a/sphinxbase.spec b/sphinxbase.spec
index 5d8efc9..3a3fbce 100644
--- a/sphinxbase.spec
+++ b/sphinxbase.spec
@@ -1,6 +1,6 @@
Name: sphinxbase
Version: 5prealpha
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Common library for CMU Sphinx voice recognition products
License: BSD
@@ -81,6 +81,7 @@ done
%build
export CPPFLAGS="-I %{_includedir}/openblas"
+export PYTHON="python3"
%configure --disable-static --with-python=%{__python3}
# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
@@ -144,6 +145,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{python3_sitearch}/*
%changelog
+* Sun Oct 13 2019 W. Michael Petullo <mike> - 5prealpha-6
+- More work to switch to Python 3
+
* Sun Feb 03 2019 Fedora Release Engineering <releng> - 5prealpha-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
See also https://pagure.io/releng/issue/8898. I just brought sphinxbase back into Rawhide, so this should be fixed soon. I am waiting on the sphinxbase package to become available in the build system. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |