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.
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?
*** Bug 65424 has been marked as a duplicate of this bug. ***
hmm... no, I were wrong.... the problem remains...
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?
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.
Stale bug, reopen if this is still an issue with up-to-date subversion ebuilds.