I get this error in the middle of compiling subversion: <command line>:8:1: warning: this is the location of the previous definition cd subversion/bindings/swig/python && /bin/sh /var/tmp/portage/subversion-1.0.1/work/subversion-1.0.1/libtool --silent --mode=link gcc -pthread -shared -rpath /usr/lib/svn-python/libsvn -avoid-version -module -o _core.la core.lo -lswigpy ../../../../subversion/bindings/swig/libsvn_swig_py-1.la ../../../../subversion/libsvn_subr/libsvn_subr-1.la /var/tmp/portage/subversion-1.0.1/work/subversion-1.0.1/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lswigpy collect2: ld returned 1 exit status make: *** [subversion/bindings/swig/python/_client.la] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lswigpy collect2: ld returned 1 exit status make: *** [subversion/bindings/swig/python/_core.la] Error 1 !!! ERROR: dev-util/subversion-1.0.1 failed. !!! Function src_compile, Line 134, Exitcode 2 !!! subversion python bindings failed Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Pentium III (Katmai) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -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.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr crypt cups dga directfb dvd emacs encode fbcon flash foomaticdb gd gdbm ggi gif gphoto2 gpm gtk gtk2 imlib ipv6 java jpeg kde lcms libg++ libwww linguas_da linguas_mb linguas_nn linguas_se mad maildir mikmod mmx motif mozilla mpeg mule mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl png pnp postgres python qt quicktime readline samba sdl slang spell sse ssl svga tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv zlib"
Hi I reprodused this bug when trying to compile subversion 1.0.0-r1.
I can NOT reproduce this bug. Need more information to progress this further
You need to recompile the NEWEST swig with python support, the 1.3.20 version is broken in this respect as it does not create the library
Hi Thanks, it works for me now. I reemerged swig-1.3.21 and now subversion emerges. Python has probably been upgraded after swig was emerged.