Hide Forgot
Description of problem: while building docs for docker-io, python-sphinx isn't able to import extension sphinxcontrib.httpdomain Version-Release number of selected component (if applicable): 0.6.6 How reproducible: Always Steps to Reproduce: 1. rpmbuild -ba docker-io.spec (specifically: make -C docs/ man) Actual results: + make -C docs/ man make: Entering directory `/home/lsm5/repositories/rpmbuild/BUILD/docker-0.7-rc2/docs' sphinx-build -b man -d _build/doctrees sources _build/man Making output directory... Running Sphinx v0.6.6 Extension error: Could not import extension sphinxcontrib.httpdomain (exception: cannot import name XRefRole) make: *** [man] Error 1 make: Leaving directory `/home/lsm5/repositories/rpmbuild/BUILD/docker-0.7-rc2/docs' Expected results: This is the equivalent on Fedora rawhide + make -C docs/ man make: Entering directory `/home/lsm5/repositories/rpmbuild/BUILD/docker-0.7-rc2/docs' sphinx-build -b man -d _build/doctrees sources _build/man Making output directory... Running Sphinx v1.1.3 loading pickled environment... not yet created
Note, this is misfiled: 1) the version of sphinx that you are using comes from RHEL, not from EPEL. 2) part of the problem is the packaging of python-sphinxcontrib-httpdomain: The package in EPEL is lacking a Requires: python-sphinx10 3) Part of the problem is likely in the docker-io package. If you run the sphinx-0.6.6 version of the sphinx-build tool it will be unable to load the extension because the extension uses a feature of newer python-sphinx. Probably you need to patch the code to use sphinx-1.0-build Retargeting bug to python-sphinxcontrib-httpdomain for the Requires issue. To help with the docker-io build failure, I'd need to see the docker-io package you're building.
I've updated the Requires for python-sphinxcontrib-httpdomain although that won't stop people from trying to use it with Sphinx 0.6. I don't think there is any good way to do that.
python-sphinxcontrib-httpdomain-1.1.8-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-sphinxcontrib-httpdomain-1.1.8-3.el6
python-sphinxcontrib-httpdomain-1.1.8-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-sphinxcontrib-httpdomain-1.1.8-3.el5
python-sphinxcontrib-httpdomain-1.1.8-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
python-sphinxcontrib-httpdomain-1.1.8-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.