fails to build: Python 2.6 no longer provides mkhowto

Bug #356684 reported by Colin Watson
4
Affects Status Importance Assigned to Milestone
albatross (Ubuntu)
Fix Released
High
Colin Watson
Jaunty
Fix Released
High
Colin Watson

Bug Description

albatross failed to build during a test rebuild of Jaunty. Here's the log:

  http://launchpadlibrarian.net/24883143/buildlog_ubuntu-jaunty-i386.albatross_1.36-5_FAILEDTOBUILD.txt.gz

/usr/lib/python2.6/doc/tools/mkhowto --pdf --a4 albatross.tex
make[1]: /usr/lib/python2.6/doc/tools/mkhowto: Command not found
make[1]: *** [pdf] Error 127
make[1]: Leaving directory `/build/buildd/albatross-1.36/doc'
make: *** [build-doc-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

See http://lists.debian.org/debian-python/2003/06/msg00000.html for background. albatross provides LaTeX documentation along the lines of what Python used to provide. However, Python switched to an RST-based documentation system in 2.6, and so no longer provides the mkhowto tool; this breaks albatross.

I suspect that the most practical solution for the time being would be to build-depend explicitly on python2.5-dev and use /usr/lib/python2.5/doc/tools/mkhowto for this.

Related branches

Colin Watson (cjwatson)
Changed in albatross (Ubuntu):
importance: Undecided → High
Revision history for this message
Alessio Treglia (quadrispro) wrote :

I tried to apply this patch, but without success.

Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I think it'd be better to set PYTHON=python2.5 in debian/rules when building the documentation, and explicitly build-depend on python2.5-dev. I'm looking into that now.

Revision history for this message
Colin Watson (cjwatson) wrote :

OK, the other failure is fairly simple to fix too (broken by a change in Python 2.5). I'll do that ...

Changed in albatross (Ubuntu Jaunty):
assignee: nobody → Colin Watson (cjwatson)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package albatross - 1.36-5ubuntu1

---------------
albatross (1.36-5ubuntu1) jaunty; urgency=low

  * Use python2.5 for mkhowto, for now (LP: #356684).
  * __import__ now takes an optional level argument; account for this in
    SessionBase.decode_session.
  * Use --install-layout=deb to account for python2.6 transition.

 -- Colin Watson <email address hidden> Sat, 11 Apr 2009 11:22:40 +0100

Changed in albatross (Ubuntu Jaunty):
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.