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

Bug 45590

Summary: ERROR: dev-util/subversion-1.0.0-r1 failed.
Product: Gentoo Linux Reporter: roma1390
Component: Current packagesAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description roma1390 2004-03-24 04:50:51 UTC
....
/usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/subversion/bindings/swig/swigutil_py.c:1231: error: `Py_None' undeclared (first use in this function)
/usr/bin/swig -c -python -I/usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/subversion/bindings/swig -I/usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/subversion/include -I -DSVN_SWIG_VERSION=103016 -I/usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/apr/include -I/usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/apr-util/include -I/usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/apr-util/include   -o subversion/bindings/swig/python/svn_fs.c /usr/portage/tmp/portage/subversion-1.0.0-r1/work/subversion-1.0.0/subversion/bindings/swig/svn_fs.i
make: *** [subversion/bindings/swig/swigutil_py.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-util/subversion-1.0.0-r1 failed.
!!! Function src_compile, Line 131, Exitcode 2
!!! subversion python bindings failed


Reproducible: Always
Steps to Reproduce:




# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0)
=================================================================
System uname: 2.6.0 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apm avi berkdb crypt cups directfb encode esd
flash foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib ipv6 java jpeg libg++
libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss
pam pdflib perl plotutils png python qt quicktime readline samba sasl scpd sdl
slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms xosd xv zlib"

# emerge -p autoconf

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] sys-devel/autoconf-2.58-r1 [2.59-r3]
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-03-25 04:44:32 UTC
Which swig version do you use? Also ensure that swig uses the newest python version installed
Comment 2 roma1390 2004-03-25 04:57:20 UTC
$ emerge -p swig python

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-lang/swig-1.3.19 [1.3.16] 
[ebuild   R   ] dev-lang/python-2.3.3  
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-03-26 12:09:32 UTC
You will need to update swig. I have just updated the order of the dependencies in the 1.0.1 ebuild so that it will not flipflop so much
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 11:41:41 UTC
closing as fixed per above comment.