Hi Dagobert,

Am 2021-09-08 um 12:50 schrieb Dagobert Michelsen via users:
Hi Franz,

Am 07.09.2021 um 10:54 schrieb Franz Sirl <[email protected]>:
FWIW, here my current patch for subversion that builds/tests/packages fine on 
Solaris11. On Solaris10 it builds and tests fine, but fails during packaging:

cd subversion/bindings/swig/perl/libsvn_swig_perl && /opt/csw/bin/bash 
"/home/fsirl/opencsw/subversion/trunk/work/build-isa-sparcv9-python_version-2.7/subversion-1.14.1/libtool"
 --tag=CC --silent --mode=link /opt/developerstudio12.6/bin/cc  -xO3 -m64 -xarch=sparc   -xO3 
-m64 -xarch=sparc  -m64 -xarch=sparc -L/opt/csw/bdb48/lib/64 -L/opt/csw/lib/64/64 
-L/opt/csw/lib/64 -lintl -liconv  -L/opt/csw/bdb48/lib/64 -L/opt/csw/lib -L/opt/csw/lib 
-L/opt/csw/lib  -rpath /opt/csw/lib/64 -version-info 0  -o libsvn_swig_perl-1.la  swigutil_pl.lo 
../../../../../subversion/libsvn_delta/libsvn_delta-1.la 
../../../../../subversion/libsvn_subr/libsvn_subr-1.la -L/opt/csw/lib/64 -laprutil-1 
-L/opt/csw/lib/64 -lapr-1   -lsocket
ld: fatal: file .libs/swigutil_pl.o: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to 
.libs/libsvn_swig_perl-1.so.0.0.0

This happens when something is available in 32 bit only: in this case the 
ffi-bindings.

The 64 bit tests for x86 works fine, but in sparcv9 I get one failed test:

START: ra-test
TEST ASSERTION FAILED: child_exit_code == 0
PASS:  ra-test 1: test svn_ra_get_location_segments
PASS:  ra-test 2: test ra_svn tunnel callback check
svn_tests: E200006: Test crashed (run in debugger with '--allow-segfaults')
FAIL:  ra-test 3: test ra_svn tunnel creation callbacks
FAIL:  ra-test: Unknown test failure; see tests.log.
END: ra-test
ELAPSED: ra-test 0:00:09.533302

Is this an artefact of the non-split apr headers between 32 and 64 bit?

After you installed the new apr, did you already rebuild and install aprutil and then libserf? If not, the apr fix did not take full effect yet.

regards,
Franz

Reply via email to