Summary: | subversion-1.0.1 does not work properly with swig >= 1.3.20 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Luisser <mluisser> |
Component: | Current packages | Assignee: | Paul de Vrieze (RETIRED) <pauldv> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | gralves |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markus Luisser
2004-04-28 09:42:35 UTC
what about 1.0.2? The bug log shows that the last commit was in January, and 1.0.1 and 1.0.2 have come out since then... sorry - i missed that update - testing right now - i'll let you know how if it works. nope - same error... working: svn-1.0.1 and 1.0.2 with swig-1.3.19 not working: svn-1.0.1 and 1.0.2 with swig-1.3.21 i didnt test it with swig-1.3.20. The error is identical to the previous one including the line-numbers. It works for me with swig-1.3.21 and subversion-1.0.2 and viewcvs. swig-1.3.20 is broken as it does not compile certain key libraries. You got me, Paul - i can confirm that subversion-1.0.2 works with swig-1.3.21. But i needed to recompile subversion to get it to work. Without reemerging subversion i get exactly the same error. revdep-rebuild doesnt seem to catch this dependency - it came up blank after the swig upgrade. Oh and as you said, swig-1.3.20 is broken... Actually, subversion 1.0.2 fails to compile on my box with swig 1.3.21. The errors start with this: /bin/sh /var/tmp/portage/subversion-1.0.2/work/subversion-1.0.2/libtool --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 -mcpu=i686 -pipe -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/include -I. -I/usr/include/neon -I/usr/include/apache2 -I/usr/include/apache2 -o subversion/bindings/swig/swigutil_pl.lo -c /var/tmp/portage/subversion-1.0.2/work/subversion-1.0.2/subversion/bindings/swig/swigutil_pl.c /var/tmp/portage/subversion-1.0.2/work/subversion-1.0.2/subversion/bindings/swig/swigutil_pl.c:19:20: EXTERN.h: No such file or directory /var/tmp/portage/subversion-1.0.2/work/subversion-1.0.2/subversion/bindings/swig/swigutil_pl.c:20:18: perl.h: No such file or directory ... /var/tmp/portage/subversion-1.0.2/work/subversion-1.0.2/subversion/bindings/swig/swigutil_pl.c:1362: error: `SVt_PVGV' undeclared (first use in this function) make: *** [subversion/bindings/swig/swigutil_pl.lo] Error 1 !!! ERROR: dev-util/subversion-1.0.2 failed. !!! Function src_compile, Line 139, Exitcode 2 !!! Perl library building failed germane-software root # emerge search swig Searching... [ Results for search key : swig ] [ Applications found : 1 ] * dev-lang/swig Latest version available: 1.3.21 Latest version installed: 1.3.21 Size of downloaded files: 1,975 kB Homepage: http://www.swig.org Description: Simplied Wrapper and Interface Generator License: as-is This is on a server; we emerge world once every couple of months, and never install software except through emerge. USE="-X -gtk -gnome -alsa -xmms -xinerama -xface -Xaw3d -gtk -gtk2 -gtkhtml -nano -alsa -3dnow -sse -3dfx -voodoo3 -matrox -scanner -dga -quicktime -opengl -fbcon -directfb -gnome -bonobo -evo -gb -mysql -guil perl -python -slang -zeo -innodb -cjk -canna -freewnn -mule -xv ruby -arts -avi -qt -qtmt -wavelan -kamera pda oggvorbis pcmcia spell -gphoto2 -ggi -dvd -css -motif -kde png pam maildir -cups apache2 ldap kerberos krb4 -mozilla ssl gdbm" It seems that swig is not built properly. Has it been built with perl support? Alternatively you might try to merge subversion without perl support. USE="-perl" emerge subversion Just as a 'me too' I can't get subversion-1.0.4-r1 to build with swig-1.3.21 either. Same errors with the perl library building as Sean was getting. And swig on my machine is compiled with perl support. I'm going to try emerging subversion without perl support now. I think I figure out what is happening. The problem is with swig that does not honor python use flag unless the guile use flag is set. what about recent subversion-1.1.1-r3 seems to work for me :) Ok Guys. The solution is here http://forums.gentoo.org/viewtopic-t-306555-highlight-limits+amd64.html (about the 6th comment) You need to edit /usr/include/limits.h This is also a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=80177 thats not an issue anymore since we are at version 1.1.3 meanwhile. |