pocketsphinx failed to build from source in Fedora rawhide/f31 https://koji.fedoraproject.org/koji/taskinfo?taskID=36636933 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Please fix pocketsphinx at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, pocketsphinx will be orphaned. Before branching of Fedora 32, pocketsphinx will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1598641 [details] build.log
Created attachment 1598642 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1598643 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
Dear Maintainer, your package has not been built successfully in 31. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. Following the latest policy for such packages [2], your package can be orphaned if this bug remains in NEW state more than 8 weeks. A week before the mass branching of Fedora 32 according to the schedule [3], any packages which still have open FTBFS bugs from Fedora 31 will be retired. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedoraproject.org/wiki/Releases/32/Schedule
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