Assembla home | Assembla project page
 

PortLog: dev-util/subversion

http://subversion.tigris.org/

version 1.4.4

R5untested
BONEunstable
Haikuuntested

dependencies:

revision 1 (brecht) - [BONE]

I build subversion using the dependencies package (subversion-deps-1.4.4.tar.gz) provided on the subversion website.

On linking, gcc spits out errors like this one:

undefined reference to `svn_ra_local__init'

The libraries containing the referred functions have been built, but it seems the makefile somehow forgets to link them in. This is linked to the following warning:

libtool: link: warning: undefined symbols not allowed in i586-pc-beos shared libraries

The configure script can easily be modified to set -no-undefined for BeOS platforms, like it does for cygwin. At line 19979 in configure, add the part that's preceded with the '+' signs:

  echo "$as_me:$LINENO: checking whether libtool needs -no-undefined" >&5
  echo $ECHO_N "checking whether libtool needs -no-undefined... $ECHO_C" >&6
  case $host in
    *-*-cygwin*)
      echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
      LT_NO_UNDEFINED="-no-undefined"
      ;;
+   *-*-beos*)
+     echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+     LT_NO_UNDEFINED="-no-undefined"
+     ;;
+   *)
      echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
      LT_NO_UNDEFINED=""
      ;;
  esac

Normally, configure.in should be modified, not configure. I will create a patch for configure.in once I get autoconf ported.

You should not use the option --enable-dso, as it's broken on BeOS.

It's possible to build with SSL support using --with-ssl. Be sure to specify CPPFLAGS and LDFLAGS so that the OpenSSL headers and libs can be found. I successfully built subversion with OpenSSL 0.9.7j.

make check fails on:

  • file locking
    svn_tests: Can't get exclusive lock on file 'test-repo-commit-authz/db/transactions/0-1.txn/rev-lock': Invalid argument
    
  • most of the python test programs
    EXCEPTION: SVNRepositoryCopyFailure
    

These are also because of the broken locking.

there is no flock() in BeOS. Instead, flock_server (http://www.bebits.com/app/4030) can be used. dev-libs/apr needs to be adjusted to use it (ticket #37).

1.4.x branch (1.4.7)

R5unstable
BONEuntested
Haikuunstable

Dependencies:

work-in-progress (andreasf) - [Haiku]

Runs okay. When compiled with neon, runtime_loader outputs an error message that file libsvn_ra_serf-1.so.0 could not be loaded, but serf is the alternative to neon so can be ignored. Ticket

make check shows a failure in getopt_tests.py, basic_tests.py and reproducibly hangs in commit_tests.py.

According to tests.log, some failures resulted from the runtime_loader message to stderr. The patch supplied as part of above ticket avoids this, but still test failures remain, all related to EXCEPTION: SVNProcessTerminatedBySignal as seen in tests.log.