Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65424 - subversion: swig-1.3.22 breaks subversion compile
Summary: subversion: swig-1.3.22 breaks subversion compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 10:15 UTC by Harm Geerts
Modified: 2005-06-23 14:48 UTC (History)
8 users (show)

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 Harm Geerts 2004-09-26 10:15:08 UTC
after upgrading to swig-1.3.22 subversion fails to compile with:


cd subversion/bindings/swig && /bin/sh /var/tmp/portage/subversion-1.0.8/work/subversion-1.0.8/libtool --silent --mode=link gcc  -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL   -rpath /usr/lib -o libsvn_swig_py-1.la swigutil_py.lo -lswigpy ../../../subversion/libsvn_subr/libsvn_subr-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la /var/tmp/portage/subversion-1.0.8/work/subversion-1.0.8/apr-util/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /var/tmp/portage/subversion-1.0.8/work/subversion-1.0.8/apr/libapr-0.la -lrt -lm -lcrypt -lnsl  -lpthread -ldl
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lswigpy
collect2: ld returned 1 exit status
make: *** [subversion/bindings/swig/libsvn_swig_py-1.la] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-util/subversion-1.0.8 failed.
!!! Function src_compile, Line 134, Exitcode 2
!!! make of subversion failed


downgrading back to swig-1.3.21 solves the missing -lswigpy error.
this might be related to the removal of runtime stuff from swig-1.3.22
http://bugs.gentoo.org/show_bug.cgi?id=64587

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge info
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.3.20040420-r1,
2.4.27-mh1 i686)
=================================================================
System uname: 2.4.27-mh1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ALSA_CARDS="emu10k1"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CC="gcc"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden"
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_DIR="/var/tmp/portage/.distcc"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GLIBC_SSP_CHECKED="1"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HISTCONTROL="ignoreboth"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info"
JAVAC="/opt/sun-jdk-1.4.2.05/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.05"
JDK_HOME="/opt/sun-jdk-1.4.2.05"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAKEOPTS="-j3"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man:/usr/share/man::/opt/sun-jdk-1.4.2.05/man:/usr/qt/3/doc/man"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/usr/lib/ccache/bin:/usr/lib/distcc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.05/bin:/opt/sun-jdk-1.4.2.05/jre/bin:/opt/sun-jdk-1.4.2.05/jre/javaws:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="16091"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
USE="3dnow X aalib acpi alsa apm arts avi berkdb bitmap-fonts bluetooth cddb cdr
crypt cups dga dvd dvdr encode faac faad fbcon flac foomaticdb gd gdbm gif
gimpprint gpm gtk gtk2 guile icc-pgo imap imlib imlib2 innodb irda irmc java
jpeg kde libg++ libwww mad maildir matroska mikmod mmx mng mpeg ncurses nls
offensive oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime
readline ruby samba scanner sdl slang spell sse ssl stroke svga tcltk tcpd tiff
truetype usb wmf x86 xinerama xml xml2 xmms xprint xv xvid yv12 zlib"
USER="root"
USERLAND="GNU"
_="/usr/bin/emerge"
Comment 1 Sven Wegener gentoo-dev 2004-09-26 11:13:00 UTC

*** This bug has been marked as a duplicate of 65425 ***
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-26 13:26:36 UTC
This is indeed not a duplicate, reopening
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-26 13:28:02 UTC
Heinrich, this problem is caused by your update of swig. The ebuild had install-runtime in it for a reason. To be able to use swig this is essential, so please put it back in.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-26 13:34:46 UTC
the problem is that install-runtime is no longer provided, so i can't add it
Comment 5 Harm Geerts 2004-09-26 14:48:45 UTC
From the swig-1.3.22 README
SWIG used to include a set of runtime libraries for some languages for working
with multiple modules. These are no longer built during the installation stage.
However, users can build them just like any wrapper module as described in
the documentation, Doc/Manual/Modules.html. The CHANGES file also lists some
examples which build the runtime library.

http://www.swig.org/Doc1.3/Modules.html

Can this be applied?
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-29 04:58:53 UTC
maybe you can post a patch for this, masking for now
Comment 7 Francisco José Cañizares Santofimia 2005-03-19 14:25:55 UTC
At present, swig 1.2.2 is not in portage. 
Shouldn't this bug be closed?
Comment 8 Francisco José Cañizares Santofimia 2005-04-07 10:22:10 UTC
Not only the latest comment.
Also, latest swig in portage (1.3.24) compiles with latest subversion in portage (1.1.4).
Comment 9 Christian Parpart (RETIRED) gentoo-dev 2005-04-20 00:55:50 UTC
TLF, sorry, I'm busy at work. querying at IRC doesn't help there much, sorry.

pauldv, this bug might interest you maybe, as it's regarding subversion ;)
Comment 10 Paul de Vrieze (RETIRED) gentoo-dev 2005-04-20 01:37:02 UTC
From the perspective of subversion newer versions of swig could be enabled. I'll change the dependency information for that. Newer swig versions could then (from the subversion point of view) be unmasked as desired.
Comment 11 Francisco José Cañizares Santofimia 2005-04-20 11:42:51 UTC
No problem Cristhian.

Paul: Well, as at this moment in portage only exists swig 1.3.21 and 1.3.24 and both compile in subversion >= 1.1.4, i think we should change the swig dependancies to >=swig-1.3.21

Do you agree with this?

Thanks.
Comment 12 Francisco José Cañizares Santofimia 2005-04-20 15:03:35 UTC
Oh, and please not that swig 1.3.22 and 1.3.23 do NOT compile with subversion >=1.1.4 
Thanks.
Comment 13 Paul de Vrieze (RETIRED) gentoo-dev 2005-04-21 05:58:30 UTC
I've changed the dependencies accordingly. I assume that .22 and .23 swig releases will never get in the tree, or people will not use them.
Comment 14 Francisco José Cañizares Santofimia 2005-06-23 10:18:38 UTC
But, could you please delete the message that says:
# Presently subversion doesn't build with swig-1.3.22, bug 65424
in all subversion ebuilds >=1.1.4

Thanks.
Comment 15 Paul de Vrieze (RETIRED) gentoo-dev 2005-06-23 14:26:49 UTC
Well the issue is still there. It's just a little less relevant. I'll remove it
when swig-1.3.21 is no longer sufficient. It's just a comment anyway.
Comment 16 Francisco José Cañizares Santofimia 2005-06-23 14:48:16 UTC
Well, Ok, thanks :-)
Simply I have though that the comment says swig 1.3.22 it could gave any
confussion to people.

Thanks again :-)