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: PYTHON= python on line 71. Changing this to PYTHON= python2 fixes the problem. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. On a RedHat Linux 7.3 system, make sure the python and python2 packages are installed. 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 Actual Results: Traceback (innermost last): File "tools/mkhowto", line 652, in ? main() File "tools/mkhowto", line 608, in main Job(options, path).build() File "tools/mkhowto", line 284, in build self.require_temps() File "tools/mkhowto", line 449, in require_temps self.build_aux(binary=binary) File "tools/mkhowto", line 325, in build_aux self.run("%s %s" % (binary, self.doc)) File "tools/mkhowto", line 506, in run if sys.platform.startswith("win"): AttributeError: 'string' object has no attribute 'startswith' make: *** [html/api/api.html] Error 1 Expected Results: It should have built the docs correctly. Additional info:
In Rawhide, python 2.2.1 is now the python package, thus fixing this problem as a sideffect.