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

Re: Trouble building trunk: Undefined references to svn_repos_load_fs3() and svn_repos_get_fs_build_parser3()

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 7 Nov 2010 18:39:06 +0100

On Sun, Nov 07, 2010 at 09:07:33AM -0800, Daniel Trebbien wrote:
> On Sun, Nov 7, 2010 at 8:01 AM, Stefan Sperling <stsp_at_elego.de> wrote:
> > On Sun, Nov 07, 2010 at 07:56:51AM -0800, Daniel Trebbien wrote:
> >> I am having trouble building trunk. The make process always fails when
> >> linking libsvn_repos-1:
> >
> > Looks like the linker or libtool is picking up conflicting versions of
> > the same library. Try deinstalling your system subversion packages, if any.
> > Also try deleting anything within your trunk build installation prefix.
> > Also run make clean to make sure everything is recompiled.
> >
> > Stefan
>
> I tried your suggestion of removing the subversion and libsvn1
> packages (I'm running Debian Sid), running `make clean`, and
> recompiling, but I still have the same problem.

IIRC Debian has a specially patched libtool.
Subvesion trunk uses APR's libtool, as can be seen in your transcript:

  cd subversion/libsvn_repos && /usr/share/apr-1.0/build/libtool

Maybe the problem is that APR's libtool differs from Debian's?
I don't know. But Subversion trunk compiles fine for me (on OpenBSD),
so I suppose the problem you are seeing is either specific to your
machine or to Debian. I know there are other developers that compile
on Debian and it works for them.
One of our buildbots which is running Debian seems to be happy, too:
http://ci.apache.org/builders/svn-debian-x86_64-32%20shared%20gcc/builds/1897

If you're really stuck, try tools/dev/unix-build/, which is what I use
to compile Subversion builds for development. AFAIK it works on Debian.
It tries to avoid distribution-provided dependencies as much as possible.
Received on 2010-11-07 18:39:45 CET

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