On Sun, Nov 07, 2010 at 09:07:33AM -0800, Daniel Trebbien wrote: > On Sun, Nov 7, 2010 at 8:01 AM, Stefan Sperling <s...@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.