Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384013 - app-doc/doxygen-1.7.3 html documentation build fails with Python3
Summary: app-doc/doxygen-1.7.3 html documentation build fails with Python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 20:28 UTC by Chris Mayo
Modified: 2012-02-14 14:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to ebuild (doxygen-1.7.4-python2.patch,850 bytes, text/plain)
2011-09-21 20:28 UTC, Chris Mayo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2011-09-21 20:28:20 UTC
Created attachment 287361 [details]
patch to ebuild

If default interpreter is Python3:
USE="-debug doc -latex -nodot qt4 -tcl" emerge doxygen

make[1]: Leaving directory `/var/tmp/portage/app-doc/doxygen-1.7.3/work/doxygen-1.7.3/examples'
cd doc ; /usr/bin/make
make[1]: Entering directory `/var/tmp/portage/app-doc/doxygen-1.7.3/work/doxygen-1.7.3/doc'
python translator.py
  File "translator.py", line 618
    elif tokenId == 'tilde':
                           ^
TabError: inconsistent use of tabs and spaces in indentation
make[1]: *** [language.doc] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-doc/doxygen-1.7.3/work/doxygen-1.7.3/doc'
make: *** [docs] Error 2
 * "make html docs" failed.

(and there are print's without brackets elsewhere in translator.py).


Same problem with doxygen-1.7.4 and a patch attached that gets it working for me. Does change python from an RDEPEND to a DEPEND, maybe that should be USE="doc" based. Might also fix Bug 308353.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-14 14:07:58 UTC
Should be fixed by this:

+  14 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> doxygen-1.7.6.1.ebuild:
+  Improve Python-related code wrt #308353 by Arfrever Frehtes Taifersar
+  Arahesis. Thanks to Ian Delaney <johneed@hotmail.com> for the patch
+