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

subversion cross compile (arm)

From: Takács András <wakoond_at_gmail.com>
Date: Tue, 30 Nov 2010 20:36:55 +0100

Hi All,

I have problem with cross-compiling of subversion for arm. I'm using
codesourcery toolchain. (See build details below).

My test method (after flashing my developement board):
# svnadmin create /var/svn/testrepo
# svnserve --config-file /etc/svnserve.cfg -d -r /var/svn
# svn co svn://wakoond@
# cd testrepo/
# svn mkdir xxx
# svn ci -m "aa"
Authentication realm: <svn://>
Password for 'root':
Authentication realm: <svn://>
Username: wakoond
Password for 'wakoond':

ATTENTION! Your password for authentication realm:

   <svn://> 1bef6e06-1dd2-11b2-866e-650b8393a604

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
Store password unencrypted (yes/no)? yes
Adding xxx
svn: Commit failed (details follow):
svn: Corrupt node-revision '0.0.t0-0'
svn: Malformed text representation offset line in node-rev

Could you please help me? What's the problem? Is it a build/configure
or a toolchain/libc problem?
Did anybody cross-compiled subversion for arm4t platform previously?

Thanks a lot! Really, I'm very thankful for everything!



Toolchain: arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu
Cross gcc: arm-none-linux-gnueabi-gcc
Cross cflags: -march=armv4t -mtune=arm920t

Apr configure:
                ./configure \
                        --prefix=/usr \
                        --host=$(CROSS_COMPILE) \
                        ac_cv_file__dev_zero="yes" \
                        ac_cv_func_setpgrp_void="yes" \
                        apr_cv_process_shared_works="yes" \
                        apr_cv_mutex_robust_shared="no" \
                        apr_cv_tcp_nodelay_with_cork="yes" \
                        ac_cv_sizeof_struct_iovec="8" \
                        apr_cv_mutex_recursive="yes" \
                        CFLAGS=$(CROSS_CFLAGS) \

Apr-utils configure:
                ./configure \
                        --with-apr=<MY_APR_BUILD_DIR> \
                        --prefix=/usr \
                        --host=$(CROSS_COMPILE) \
                        CFLAGS=$(CROSS_CFLAGS) \
                        LDFLAGS=$(CROSS_LDFLAGS); \

Subversion configure:
        ./configure \
                --with-apr=$(PACKAGES_DIR)/apr/$(TARGET_PACKAGE)/apr \
                --with-apr-util=$(PACKAGES_DIR)/apr-util/$(TARGET_PACKAGE)/apr-util \
                --with-sqlite="$(TARGET_DEV_ROOT)/usr" \
                --with-zlib="$(TARGET_DEV_ROOT)/usr" \
                --host=$(CROSS_COMPILE) \
                --prefix=/usr \
                CFLAGS=$(CROSS_CFLAGS) \

Other compiled libraries: sqlite3, zlib
I'm usung the latest, 1.6.15 subversion and subversion-deps packages.
(I compiled all libraries from subversion-deps, no other installed library)

Takács András
Skype: wakoond
GTalk: wakoond
MSN: wakoond_at_freestart.hu
Received on 2010-11-30 20:48:13 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.