Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42918 - Subversion apache module cannot be loaded due to missing symbol
Summary: Subversion apache module cannot be loaded due to missing symbol
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 12:49 UTC by Lars Trieloff
Modified: 2004-08-20 00:27 UTC (History)
1 user (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 Lars Trieloff 2004-02-25 12:49:31 UTC
I cannot get the subversion server apache module to run. 

Reproducible: Always
Steps to Reproduce:
1. emerge subversion
2. nano -w /etc/conf.d/apache2 (Add -D SVN and -D DAV to the options)
3. /etc/init.d/apache2 restart

Actual Results:  
 * Stopping apache2...                                                         
                                                                               
                               [ ok ] * Starting apache2...
Syntax error on line 3 of /etc/apache2/conf/modules.d/47_mod_dav_svn.conf:
Cannot load /etc/apache2/extramodules/mod_dav_svn.so into server:
/etc/apache2/extramodules/mod_dav_svn.so: undefined symbol:
svn_fs_file_md5_checksum                                         [ !! ]

Expected Results:  
Restart Apache with Subversion module installed


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r3,2.3.2-r9,
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.57-r1,sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.7.5-r2,sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm avi berkdb breakme cdr crypt cups curl encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg ldap libg++ libwww
mad maildir mikmod mmx mpeg mysql ncurses nls nptl oggvorbis opengl oss pam
pdflib perl png ppds python quicktime readline samba sasl sdl slang spell ssl
svga tcpd tiff truetype unicode usb x86 xml xml2 xmms xv zlib"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-27 01:09:24 UTC
Try to first unmerge subversion. Then merge it. Also make sure there are no stray files laying behind
Comment 2 Lars Trieloff 2004-03-04 13:22:59 UTC
I tried a fresh installation of subversion, but it will not compile against python2.3. Setting PYVER="2.2" from the command line will not work.

/bin/sh ./libtool --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  -DSWIGPYTHON -mcpu=athlon -O3 -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL  -I./subversion/bindings/swig -I./subversion/include -I/usr/lib/swig1.3 -DSVN_SWIG_VERSION=103021 -I/usr/include/apache2  -I/usr/include/apache2  -I/usr/include/python2.3 -I./subversion/include -I. -I/usr/include/neon -I/usr/include/apache2   -I/usr/include/apache2  -o subversion/bindings/swig/swigutil_py.lo -c ./subversion/bindings/swig/swigutil_py.c
cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc -L/var/tmp/portage/subversion-1.0.0/image//usr/lib -mcpu=athlon -O3 -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL  -L/usr/lib  -rpath /usr/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo date.lo error.lo hash.lo io.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.1 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl  -ldl
./libtool: ./libtool: No such file or directory
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127
make: *** Waiting for unfinished jobs....
In file included from /usr/include/python2.3/Python.h:8,
                 from subversion/bindings/swig/swigutil_py.c:20:
/usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined
<command line>:7:1: warning: this is the location of the previous definition
 
!!! ERROR: dev-util/subversion-1.0.0 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! make of subversion failed
 
trieloff root #
Comment 3 Lars Trieloff 2004-03-04 13:34:17 UTC
Adding USE="-python" on the command line brings breakage because libtool cannot be found.

USE="-python" emerge /usr/portage/dev-util/subversion/subversion-1.0.0.ebuild

...


gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  -mcpu=athlon -O3 -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL  -I./subversion/include -I. -I/usr/include/neon -I/usr/include/apache2   -I/usr/include/apache2  -o subversion/tests/libsvn_fs/strings-reps-test.o -c subversion/tests/libsvn_fs/strings-reps-test.c
cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc -L/var/tmp/portage/subversion-1.0.0/image//usr/lib -mcpu=athlon -O3 -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL  -L/usr/lib  -rpath /usr/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo date.lo error.lo hash.lo io.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.1 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl  -ldl
./libtool: ./libtool: No such file or directory
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127
make: *** Waiting for unfinished jobs....
 
!!! ERROR: dev-util/subversion-1.0.0 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! make of subversion failed
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-03-05 02:04:38 UTC
Python support should work if you rebuild swig (and all other packages) to use python-2.3 instead of python-2.2
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2004-08-07 09:18:28 UTC
To use Subversion with Apache 2 you must set the apache2 USE flag. As far as the Python support being broken, it is dependant on your version of swig. It sounds like you need to run python-updater as well as revdep-rebuild and follow along. Doing all three of these will solve the problem 100%
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 13:16:23 UTC
I guess this should be solved by now
Comment 7 Lars Trieloff 2004-08-20 00:27:27 UTC
It works with a later version of subversion.