ftbfs with python2.7 / sphinx 1.0

Bug #685180 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cvxopt (Ubuntu)
Fix Released
Medium
Barry Warsaw
nipy (Ubuntu)
Fix Released
Medium
Barry Warsaw
scikit-learn (Ubuntu)
Fix Released
Medium
Barry Warsaw

Bug Description

http://launchpadlibrarian.net/60074293/buildlog_ubuntu-natty-i386.nipy_0.1.2%2B20100526-2build1_FAILEDTOBUILD.txt.gz

Build API docs finished.
mkdir -p build/html build/doctrees
sphinx-build -b html -d build/doctrees . build/html
Running Sphinx v1.0.1
WARNING: extension 'ipython_console_highlighting' has no setup() function; is it really a Sphinx extension module?

Exception occurred:
  File "/build/buildd/nipy-0.1.2+20100526/doc/sphinxext/numpydoc.py", line 139, in get_directive
    raise RuntimeError("No directive named '%s' found" % name)
RuntimeError: No directive named 'function' found
The full traceback has been saved in /tmp/sphinx-err-otZJqo.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!

Related branches

Revision history for this message
Matthias Klose (doko) wrote :

cvxopt:

Running Sphinx v1.0.1
loading pickled environment... not yet created
building [latex]: all documents
updating environment: 13 added, 0 changed, 0 removed
reading sources... [ 7%] blas
reading sources... [ 15%] c-api
reading sources... [ 23%] coneprog
reading sources... [ 30%] copyright
reading sources... [ 38%] fftw
reading sources... [ 46%] index
reading sources... [ 53%] intro
reading sources... [ 61%] lapack
reading sources... [ 69%] matrices
reading sources... [ 76%] modeling
reading sources... [ 84%] printing
reading sources... [ 92%] solvers
reading sources... [100%] spsolvers

/build/buildd/cvxopt-1.1.2/doc/source/c-api.rst:: WARNING: using old C markup; please migrate to new-style markup (e.g. c:function instead of cfunction), see http://sphinx.pocoo.org/domains.html
/build/buildd/cvxopt-1.1.2/doc/source/modeling.rst:622: WARNING: duplicate object description of tofile, other instance in /build/buildd/cvxopt-1.1.2/doc/source/matrices.rst, use :noindex: for one of them
/build/buildd/cvxopt-1.1.2/doc/source/modeling.rst:629: WARNING: duplicate object description of fromfile, other instance in /build/buildd/cvxopt-1.1.2/doc/source/matrices.rst, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
processing CVXOPT.tex... index copyright intro matrices blas lapack fftw spsolvers coneprog solvers modeling c-api printing
resolving references...

Exception occurred:
  File "/usr/lib/pymodules/python2.6/sphinx/domains/python.py", line 624, in <genexpr>
    ', '.join(match[0] for match in matches)),
TypeError: 'NoneType' object is unsubscriptable
The full traceback has been saved in /tmp/sphinx-err-RfwOip.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make[1]: *** [latex] Error 1
make[1]: Leaving directory `/build/buildd/cvxopt-1.1.2/doc'
make: *** [debian/stamp-docs] Error 2

Revision history for this message
Matthias Klose (doko) wrote :

scikit-learn

: # Build Documentation
export PYTHONPATH=`/bin/ls -d $PWD/build/lib.*2.6` MPLCONFIGDIR=/build/buildd/scikit-learn-0.4/build HOME=/build/buildd/scikit-learn-0.4/build; \
  cd doc; /usr/bin/make html
make[2]: Entering directory `/build/buildd/scikit-learn-0.4/doc'
sphinx-build -b html -d _build/doctrees . _build/html
Making output directory...
Running Sphinx v1.0.1

Exception occurred:
  File "/build/buildd/scikit-learn-0.4/doc/sphinxext/numpydoc.py", line 136, in get_directive
    raise RuntimeError("No directive named '%s' found" % name)
RuntimeError: No directive named 'function' found
The full traceback has been saved in /tmp/sphinx-err-Indd_S.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make[2]: *** [html] Error 1
make[2]: Leaving directory `/build/buildd/scikit-learn-0.4/doc'

Revision history for this message
Barry Warsaw (barry) wrote :

No failure seen when building nipy on a natty amd64 chroot. Hmm...

Changed in nipy (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
status: New → In Progress
Revision history for this message
Barry Warsaw (barry) wrote :

I can now reproduce this in my local sbuild. Upstream bug 413776 seems relevant.

Revision history for this message
Barry Warsaw (barry) wrote :

The cvxopt failure is different than the other two. I'm still working on them, but in the meantime, upgrading to cvxopt 1.1.3 fixes (for me) that failure.

Barry Warsaw (barry)
Changed in cvxopt (Ubuntu):
status: New → In Progress
assignee: nobody → Barry Warsaw (barry)
milestone: none → natty-alpha-2
importance: Undecided → Medium
Barry Warsaw (barry)
Changed in nipy (Ubuntu):
status: In Progress → Confirmed
assignee: Barry Warsaw (barry) → nobody
importance: Undecided → Medium
Changed in scikit-learn (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Barry Warsaw (barry) wrote :

After discussion with Matthias, here's what we're going to do. We'll disable the docs for both nipy and scikit-learn to get past the ftbfs, and open individual new bugs for each package on the sphinx problems. I suspect that they are related to bug 664397 in which the numpy docs have been disabled. AFAICT right now, both nipy and scikit-learn docs depend on sphinx extensions built in numpy.

Barry Warsaw (barry)
Changed in cvxopt (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Barry Warsaw (barry) wrote :

Bug 689810 tracks re-enabling the documentation for nipy.

Revision history for this message
Barry Warsaw (barry) wrote :

Bug 689823 tracks re-enabling the documentation for scikit-learn.

Changed in nipy (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
Changed in scikit-learn (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
Changed in nipy (Ubuntu):
milestone: none → natty-alpha-2
Changed in scikit-learn (Ubuntu):
milestone: none → natty-alpha-2
status: Confirmed → In Progress
Changed in nipy (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nipy - 0.1.2+20100526-2ubuntu1

---------------
nipy (0.1.2+20100526-2ubuntu1) natty; urgency=low

  * Temporarily disable the documentation. (LP: #685180)
 -- Barry Warsaw <email address hidden> Mon, 13 Dec 2010 13:49:09 -0500

Changed in nipy (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package scikit-learn - 0.4-3ubuntu1

---------------
scikit-learn (0.4-3ubuntu1) natty; urgency=low

  * Temporarily disable documentation. (LP: #685180)
 -- Barry Warsaw <email address hidden> Mon, 13 Dec 2010 14:26:10 -0500

Changed in scikit-learn (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.