Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292903 - dev-python/setuptools-0.6.{3-r3,4,6} IndentationError: unindent does not match any outer indentation level
Summary: dev-python/setuptools-0.6.{3-r3,4,6} IndentationError: unindent does not matc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 292917 (view as bug list)
Depends on:
Blocks: 291915
  Show dependency tree
 
Reported: 2009-11-12 11:30 UTC by Marcin Mirosław
Modified: 2009-11-12 21:28 UTC (History)
2 users (show)

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


Attachments
Don't use newlines in sed scripts (setuptools-0.6.6-292903.patch,779 bytes, patch)
2009-11-12 15:25 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2009-11-12 11:30:13 UTC
emerge -1 =dev-python/setuptools-0.6.4 

>>> Preparing source in /var/tmp/portage/dev-python/setuptools-0.6.4/work/distribute-0.6.4 ...
 * Applying setuptools-0.6_rc7-noexe.patch ...                                                                                        [ ok ]
>>> 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 3137:  Called distutils_src_compile
 *             environment, line  729:  Called python_execute_function 'building'
 *             environment, line 2796:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *  The die message:
 *   Building failed with Python 2.6 in building() function
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/setuptools-0.6.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools-0.6.4/temp/environment'.
 

Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 12 Nov 2009 10:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/
udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-s -Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclud
e=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups device-mapper dri fortran gdbm glibc-omitfp gpm iconv mmx mmxext modules mudflap
 multilib ncurses nls nptl nptlonly openmp openssl pam pcre perl pppd python readline reflection session slang smp snmp spl sse sse2 sse3 ss
l ssse3 sysfs tcpd threads threadsafe truetype unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci em
u10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PL
UGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null
plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz
_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_http rewrite
setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVIC
ES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mac
h64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PO
RTDIR_OVERLAY
Comment 1 Marcin Mirosław 2009-11-12 11:34:15 UTC
The same for 0.6.6 . Setuptools-0.6.8 installs without this problem.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-12 13:41:53 UTC
jer: Please revert indentation breakage.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-12 14:49:45 UTC
(In reply to comment #2)
> jer: Please revert indentation breakage.

Sorry I broke it. Please do it yourself.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-12 15:25:56 UTC
Created attachment 210032 [details, diff]
Don't use newlines in sed scripts

This stops repoman complaining, is sed compliant and afaik it works exactly the same as with a real newline.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-12 15:55:48 UTC
Comment on attachment 210032 [details, diff]
Don't use newlines in sed scripts

No, that didn't quite do it. But a good fix is in the tree now.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-12 21:28:41 UTC
*** Bug 292917 has been marked as a duplicate of this bug. ***