Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47739 - Subversion 1.0.1 won't compile
Summary: Subversion 1.0.1 won't compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 11:49 UTC by Håvard Korsvoll
Modified: 2004-04-15 15:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Håvard Korsvoll 2004-04-13 11:49:43 UTC
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"
Comment 1 Håvard Korsvoll 2004-04-13 12:43:20 UTC
Hi

I reprodused this bug when trying to compile subversion 1.0.0-r1.
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-04-13 13:37:30 UTC
I can NOT reproduce this bug. Need more information to progress this further
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-04-15 02:35:09 UTC
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
Comment 4 Håvard Korsvoll 2004-04-15 15:23:14 UTC
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.