Red Hat Bugzilla – Bug 65623
python2-docs makefile is broken
Last modified: 2008-05-01 11:38:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513
Description of problem:
The python2-docs makefile fails to build the documentation as shipped. My
system has both python and python2 installed, hence the python2 executable is
python2, not python. The makefile for the python2 docs has the line:
on line 71. Changing this to
fixes the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On a RedHat Linux 7.3 system, make sure the python and python2 packages are
2. Install the python2-docs package
3. Go to /usr/share/doc/python2-docs-2.2 and run 'make'
4. Edit the Makefile according to the description above.
5. Run 'make' again
Traceback (innermost last):
File "tools/mkhowto", line 652, in ?
File "tools/mkhowto", line 608, in main
File "tools/mkhowto", line 284, in build
File "tools/mkhowto", line 449, in require_temps
File "tools/mkhowto", line 325, in build_aux
self.run("%s %s" % (binary, self.doc))
File "tools/mkhowto", line 506, in run
AttributeError: 'string' object has no attribute 'startswith'
make: *** [html/api/api.html] Error 1
Expected Results: It should have built the docs correctly.
In Rawhide, python 2.2.1 is now the python package, thus fixing this problem as