[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 1.5.0-rc9: build question + serf => segfaults

From: Kylo Ginsberg <kylo.ginsberg_at_gmail.com>
Date: Thu, 12 Jun 2008 08:04:12 -0700

To answer my own questions for posterity:
1) My build script works fine. There may be a simpler way.
2) I don't see segfaults with http-library = serf under rc11.

There's still the disparity in output when accessing non-existent
directories; e.g.

~/tryrc11> vi ~/.subversion/servers # set http-library = neon
~/tryrc11> svn ls http://svn.collab.net/repos/svn/trunk/snorf
svn: URL 'http://svn.collab.net/repos/svn/trunk/snorf' non-existent in
that revision
~/tryrc11> vi ~/.subversion/servers # set http-library = serf
~/tryrc11> svn ls http://svn.collab.net/repos/svn/trunk/snorf
~/tryrc11>

This disparity isn't causing me any grief at this time, but might be a
canary for devs in the know.

Kylo

On Fri, Jun 6, 2008 at 12:22 PM, Kylo Ginsberg <kylo.ginsberg_at_gmail.com> wrote:
> I'm trying out 1.5.0-rc9 on a Fedora 7 x86_64 client. The server is
> svn 1.4.3, also on Fedora 7 x86_64.
>
> Two questions, possibly related:
>
> 1) Building this was a hassle, see below for the script I ended up
> with. I'm curious if others have built more easily on like platforms
> or see any problems with the script below. I'm not an experienced
> distro builder so I may well have missed something.
>
> 2) If I set http-library = serl, I see segfaults while checking out
> frequently (not always on the same file or revision though). I also
> get a segfault if I ls/co/etc a non-existent directory on my
> repository. If I access http://svn.collab.net/repo, I have yet to see
> a segfault, although if I access a non-existent directory there I do
> not get the expected "non-existent" msg, I just get no msg at all.
> And everything works great if http-library = neon. Before I get much
> further in debugging this: is a 1.5 serf client expected to behave
> well with older servers?
>
> Thanks for any help.
> Kylo
>
> ----------------------------------------------
> #!/bin/bash
>
> # derived in large part from
> # http://joemaller.com/2008/01/29/how-to-install-subversion-on-a-shared-host/
>
> svn_version=1.5.0-rc9
> install_dir=/opt/subversion-$svn_version
>
> log=`pwd`/svnbuild.log
> exec 3<> $log
> echo logging to $log
>
> # check if the two tarballs exist in ~/downloads
> pushd ~/downloads > /dev/null 2>&1
> if [ ! -f subversion-$svn_version.tar.bz2 ]; then
> echo downloading subversion-$svn_version.tar.bz2
> wget http://subversion.tigris.org/downloads/subversion-$svn_version.tar.bz2
> fi
> if [ ! -f subversion-deps-$svn_version.tar.bz2 ]; then
> echo downloading subversion-deps-$svn_version.tar.bz2
> wget http://subversion.tigris.org/downloads/subversion-deps-$svn_version.tar.bz2
> fi
> popd > /dev/null 2>&1
>
> echo untarring files
> tar xjvf ~/downloads/subversion-$svn_version.tar.bz2 >&3
> tar xjvf ~/downloads/subversion-deps-$svn_version.tar.bz2 >&3
>
> cd subversion-$svn_version
>
> cd apr
> echo configuring apr
> ./configure --enable-shared --prefix=$install_dir >&3
> echo building apr
> (make && make install) >&3
>
> cd ../apr-util
> echo configuring apr-util
> ./configure --enable-shared --prefix=$install_dir --with-expat=builtin
> --with-apr=$install_dir --without-berkeley-db >&3
> echo building apr-util
> (make && make install) >&3
>
> cd ../neon
> echo configuring neon
> ./configure --enable-shared --prefix=$install_dir
> --with-libs=$install_dir --with-ssl >&3
> echo building neon
> (make && make install) >&3
>
> cd ../serf
> echo configuring and building serf with its preferred tool
> ./serfmake --prefix=$install_dir --with-apr=$install_dir install >&3
>
> cd ..
> echo configuring subversion
> ./configure --prefix=$install_dir --with-apr=$install_dir
> --with-apr-util=$install_dir --with-neon=$install_dir
> --without-berkeley-db --with-serf=$install_dir
> --with-apxs=/usr/sbin/apxs >&3
> # need sudo for the make install b/c of the apache modules ...
> echo building subversion
> (make && sudo make install) >&3
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-12 17:04:39 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.