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

Bug 35439

Summary: kdevelop-3.0.0_beta2 produces an error in distutils_src_compile
Product: Gentoo Linux Reporter: Felix Riemann <friemann>
Component: [OLD] DevelopmentAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Felix Riemann 2003-12-09 06:22:27 UTC
Today I wanted to update kdevelop to 3.0.0_beta2. But after unpacking the
tarball emerge stops with an error in function "distutils_src_compile", because
python seems to be unable to open a file. I couldn't find setup.py in my tarball.


Reproducible: Always
Steps to Reproduce:
1. emerge kdevelop

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/kdevelop-3.0.0_beta2 to /
>>> md5 src_uri ;-) kdevelop-3.0.0b2.tar.bz2
>>> Unpacking source...
>>> Unpacking kdevelop-3.0.0b2.tar.bz2 to /var/tmp/portage/kdevelop-3.0.0_beta2/work
>>> Source unpacked.
python: can't open file 'setup.py'
 
!!! ERROR: dev-util/kdevelop-3.0.0_beta2 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 2
!!! compilation failed


Expected Results:  
kdevelop should emerge

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test10-love1)
=================================================================
System uname: 2.6.0-test10-love1 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-fexpensive-optimizations -march=athlon-xp -mcpu=athlon-xp -msse -m3dnow
-mmmx -O4 -fomit-frame-pointer -finline-functions -falign-jumps=4
-falign-loops=4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-fexpensive-optimizations -march=athlon-xp -mcpu=athlon-xp -msse
-m3dnow -mmmx -O4 -fomit-frame-pointer -finline-functions -falign-jumps=4
-falign-loops=4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts athlon avi berkdb cdr crypt cups dga dvd
encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde
libg++ libwww mad mikmod mmx mng motif mozilla moznocompose moznoirc moznomail
mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype
x86 xml xml2 xmms xv zlib"

Python is 2.3.2-r2
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2003-12-09 07:22:46 UTC
I've got the same error and I've python 2.3.2-r2 too. 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2003-12-09 08:03:29 UTC
Wrote a comment in bug 35440 how to fix this. The problem is that the distutils.eclass overrides functions provided by the kde.eclass and not the other way around.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-09 09:23:06 UTC

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