Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 292917

Summary: dev-python/setuptools-0.6.4 build fail: IndentationError: unindent does not match any outer indentation level
Product: Gentoo Linux Reporter: Jakub Klawiter <jklawiter>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Jakub Klawiter 2009-11-12 14:21:19 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/setuptools-0.6.4/work/distribute-0.6.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/setuptools-0.6.4/work/distribute-0.6.4 ...
 * Building of dev-python/setuptools-0.6.4 with Python 2.6...
python2.6 setup.py build -b build-2.6
  File "setup.py", line 54
    return 'install' in sys.argv[1:] or _easy_install_marker()
                                                             ^
IndentationError: unindent does not match any outer indentation level
 * 
 * ERROR: dev-python/setuptools-0.6.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3071:  Called distutils_src_compile
 *             environment, line  709:  Called python_execute_function 'building'
 *             environment, line 2739:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *  The die message:
 *   Building failed with Python 2.6 in building() function


Reproducible: Always
Comment 1 Jakub Klawiter 2009-11-12 14:22:01 UTC
Created attachment 210028 [details]
emerge --info
Comment 2 Johan Bergström 2009-11-12 17:02:13 UTC
I can confirm this on Python 2.6.4 on amd64. Building setuptools 0.6.6 gives this error:

>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/setuptools-0.6.6/work/distribute-0.6.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/setuptools-0.6.6/work/distribute-0.6.6 ...
 * Building of dev-python/setuptools-0.6.6 with Python 2.6...
python2.6 setup.py build -b build-2.6
  File "setup.py", line 86
    if _buildout_marker():
                         ^
IndentationError: unindent does not match any outer indentation level
 * ERROR: dev-python/setuptools-0.6.6 failed:
 *   Building failed with Python 2.6 in building() function
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 3174:  Called distutils_src_compile
 *   environment, line  752:  Called python_execute_function 'building'
 *   environment, line 2833:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 <snip>
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-12 21:28:41 UTC

*** This bug has been marked as a duplicate of bug 292903 ***