Bug 1098098

Summary: Hawkey doesn't build with Sphinx built with Python 3.4
Product: [Fedora] Fedora Reporter: Bohuslav "Slavek" Kabrda <bkabrda>
Component: hawkeyAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, bkabrda, jzeleny, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-plugins-core-0.0.8-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-31 23:59:38 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: 1098109    
Bug Blocks:    

Description Bohuslav "Slavek" Kabrda 2014-05-15 10:00:11 UTC
Hawkey doesn't build with python3-sphinx built against Python 3.4, since it's build scripts hardcode sphinx-build-3.3 (should be sphinx-build-3.4 now).


Log from attempted scratch build [1]:
cd /builddir/build/BUILD/hawkey/py3/doc && PYTHONPATH=/builddir/build/BUILD/hawkey/py3/src/python sphinx-build-3.3 -b man /builddir/build/BUILD/hawkey/py3/doc /builddir/build/BUILD/hawkey/py3/doc
/bin/sh: sphinx-build-3.3: command not found
make[3]: Leaving directory `/builddir/build/BUILD/hawkey/py3'
make[3]: *** [doc/CMakeFiles/doc-man] Error 127
make[2]: *** [doc/CMakeFiles/doc-man.dir/all] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/hawkey/py3'
make[1]: *** [doc/CMakeFiles/doc-man.dir/rule] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/hawkey/py3'
make: *** [doc-man] Error 2


Note: to test, you can use "fedpkg scratch-build --target f21-python" till 2014-05-26.

[1] http://kojipkgs.fedoraproject.org//work/tasks/957/6850957/build.log

Comment 1 Ales Kozumplik 2014-05-15 10:07:19 UTC
Slavek, shouldn't there be a generic 'sphinx-build-3'? Thanks.

Comment 2 Bohuslav "Slavek" Kabrda 2014-05-15 10:22:38 UTC
You're right. This is a general problem of auto-generated setuptools wrappers; in python-sphinx specfile these are renamed to sphinx-build-%{python3_version}, but the ones in form of sphinx-build-MAJOR are missing, I opened bug 1098109 for this.

Comment 3 Ales Kozumplik 2014-05-27 14:55:02 UTC
Fixed by a56916e.

Comment 4 Fedora Update System 2014-05-28 12:11:01 UTC
dnf-plugins-core-0.0.8-2.fc20, libsolv-0.6.1-1.git6d968f1.fc20, hawkey-0.4.16-1.fc20, dnf-0.5.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libsolv-0.6.1-1.git6d968f1.fc20,hawkey-0.4.16-1.fc20,dnf-0.5.2-1.fc20,dnf-plugins-core-0.0.8-2.fc20

Comment 5 Fedora Update System 2014-05-28 23:50:59 UTC
Package dnf-plugins-core-0.0.8-2.fc20, libsolv-0.6.1-1.git6d968f1.fc20, hawkey-0.4.16-1.fc20, dnf-0.5.2-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.0.8-2.fc20 libsolv-0.6.1-1.git6d968f1.fc20 hawkey-0.4.16-1.fc20 dnf-0.5.2-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6789/libsolv-0.6.1-1.git6d968f1.fc20,hawkey-0.4.16-1.fc20,dnf-0.5.2-1.fc20,dnf-plugins-core-0.0.8-2.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-05-31 23:59:38 UTC
dnf-plugins-core-0.0.8-2.fc20, libsolv-0.6.1-1.git6d968f1.fc20, hawkey-0.4.16-1.fc20, dnf-0.5.2-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.