SunOS 5.10, Subversion 1.5.0rc11, trying to install inside of home directory.
Dependencies (apr, apr-util, ...) have already been installed into the same
prefix ($prefix). This used to work with 1.4.6, even the test suite. However,
with 1.5.0rc11, the test suite fails.
I configure with:
./configure --prefix="${prefix?}" --with-apr="${prefix?}" --with-apr-util="${prefix?}" \
--without-neon --enable-static=no --enable-shared=yes
During make, warnings appear:
ld: warning: file ../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/libsvn_subr/.libs/libsvn_subr-1.so: attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_fs/.libs/libsvn_fs-1.so: linked to /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/libsvn_fs/.libs/libsvn_fs-1.so: attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/libsvn_delta/.libs/libsvn_delta-1.so: attempted multiple inclusion of file
...and many more of these. The make still runs through, and binaries seem
to work. But I feel very uncomfortable using that installation in production,
especially because the test suite fails:
Running all tests in client-test [1/56]...success
Running all tests in compat-test [2/56]...success
Running all tests in config-test [3/56]...success
Running all tests in diff-diff3-test [4/56]...success
Running all tests in error-test [5/56]...success
Running all tests in fs-test [6/56]...success
Running all tests in hashdump-test [7/56]...success
Running all tests in locks-test [8/56]...success
Running all tests in mergeinfo-test [9/56]...success
Running all tests in opt-test [10/56]...success
Running all tests in path-test [11/56]...success
Running all tests in ra-local-test [12/56]...FAILURE
Running all tests in random-test [13/56]...success
Running all tests in repos-test [14/56]...success
Running all tests in revision-test [15/56]...success
Running all tests in stream-test [16/56]...success
Running all tests in string-test [17/56]...success
Running all tests in time-test [18/56]...success
Running all tests in translate-test [19/56]...success
Running all tests in utf-test [20/56]...success
Running all tests in target-test.py [21/56]...success
Running all tests in getopt_tests.py [22/56]...FAILURE
Running all tests in basic_tests.py [23/56]...FAILURE
Running all tests in checkout_tests.py [24/56]...FAILURE
From now on, it's only FAILURE for all the remaining tests. A look inside
/tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/tests.log reveals:
START: ra-local-test
ld.so.1: ra-local-test: fatal: relocation error: file /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/tests/.libs/libsvn_test-1.so.0: symbol svn_cmdline__getopt_init: referenced symbol not found
FAIL: ra-local-test: Unknown test failure see tests.log.
START: getopt_tests.py
CMD: /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/svn/svn import -m "Log message for revision 1." svn-test-work/local_tmp/greekfiles file:///tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/tests/cmdline/svn-test-work/local_tmp/repos --config-dir /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/tests/cmdline/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom exited with 137
CMD: svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync <TIME = 0.160716>
CMD: svn import -m "Log message for revision 1." svn-test-work/local_tmp/greekfiles file:///tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/tests/cmdline/svn-test-work/local_tmp/repos --config-dir /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/tests/cmdline/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.226332>
ld.so.1: svn: fatal: relocation error: file /tmp/compile.XXXXXXFxa4lk/subversion-1.5.0-rc11/subversion/libsvn_client/.libs/libsvn_client-1.so.0: symbol svn_sort_compare_ranges: referenced symbol not found
Killed
...and many more like these.
I tried many combinations using cc and gcc and using LD_RUN_PATH. I also
tried the exact combination that works for 1.4.6. I am lost at this
point, any help will be welcome.
- application/pgp-signature attachment: stored
Received on 2008-06-13 21:03:28 CEST