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

Bug 65425

Summary: subversion-1.0.8 fails - cannot find -lswigpy
Product: Gentoo Linux Reporter: f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Component: [OLD] UnspecifiedAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: gentoo+bugs, m.debruijne
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-09-26 10:20:08 UTC
emerging subversion-1.0.8 fails with the following error:

checking for swig... /usr/bin/swig
checking swig version... 1.3.22
checking for swig library directory... /usr/share/swig/1.3.22
configure: "Configuring python swig binding"
checking if swig needs -L for its libraries... -L/usr/share/swig
checking for Python includes... -I/usr/include/python2.3
checking for compiling Python extensions... gcc -pthread -DNDEBUG -fPIC
checking for linking Python extensions... gcc -pthread -shared
....
cc -L/var/tmp/portage/subversion-1.0.8/image//usr/lib -O3 -march=i686 -funroll-loops -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL  -L/usr/lib  -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 /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/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....

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-09-26 10:50:01 UTC
re-emerging 'swig', this time with the 'python' USE flag set solved the problem... for this time it built the python bindings that subversion was missing on the last try...

but one question remains for me - why was subversion requiring those without the 'python' USE flag set?
Comment 2 Sven Wegener gentoo-dev 2004-09-26 11:13:00 UTC
*** Bug 65424 has been marked as a duplicate of this bug. ***
Comment 3 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-09-26 11:41:22 UTC
hmm... no, I were wrong.... the problem remains...
Comment 4 Harm Geerts 2004-09-26 12:32:12 UTC
Downgrading to swig-1.3.21 as I stated in http://bugs.gentoo.org/show_bug.cgi?id=65424 fixes the compile issues.

I think the problem is caused by the removal of some runtime stuff from the swig ebuild/package. Which I also reported in said bug.
So, why did mine get duped instead of this one?
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-26 13:32:33 UTC
Harm, I commented on the original bug (which is not a duplicate indeed), and we will fix swig. In the meantime I'll try to check out why python is required when it shouldn't.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 02:37:48 UTC
Stale bug, reopen if this is still an issue with up-to-date subversion ebuilds.