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

RE: Subversion Build Issues - 1.10.6

From: Sanad Majid <sanad.majid_at_LumaCyte.com>
Date: Thu, 25 Jun 2020 16:20:56 +0000

Thank you Thorsten. I was thinking like ‘apache2’ is enough, installed ‘apache2-dev’ and able to build Subversion. But when I try to create install it throws following error.

root_at_LCNAS:~/subversion-1.10.6# make install
/usr/bin/install -c -d /usr/local/lib /usr/local/share/pkgconfig
cd subversion/libsvn_subr ; /bin/bash "/root/subversion-1.10.6/libtool" --mode=install /usr/bin/install -c libsvn_subr-1.la /usr/local/lib/libsvn_subr-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_subr-1.so.0.0.0 /usr/local/lib/libsvn_subr-1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0 || { rm -f libsvn_subr-1.so.0 && ln -s libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_subr-1.so.0.0.0 libsvn_subr-1.so || { rm -f libsvn_subr-1.so && ln -s libsvn_subr-1.so.0.0.0 libsvn_subr-1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsvn_subr-1.lai /usr/local/lib/libsvn_subr-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_subr-1.a /usr/local/lib/libsvn_subr-1.a
libtool: install: chmod 644 /usr/local/lib/libsvn_subr-1.a
libtool: install: ranlib /usr/local/lib/libsvn_subr-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 subversion/libsvn_subr/libsvn_subr.pc /usr/local/share/pkgconfig/libsvn_subr.pc
cd subversion/libsvn_delta ; /bin/bash "/root/subversion-1.10.6/libtool" --mode=install /usr/bin/install -c libsvn_delta-1.la /usr/local/lib/libsvn_delta-1.la
libtool: warning: relinking 'libsvn_delta-1.la'
libtool: install: (cd /root/subversion-1.10.6/subversion/libsvn_delta; /bin/bash "/root/subversion-1.10.6/libtool" --tag CC --silent --mode=relink gcc -g -O2 -pthread -rpath /usr/local/lib -version-info 0 -Wl,--no-undefined -o libsvn_delta-1.la branch.lo branch_compat.lo branch_migrate.lo branch_nested.lo branch_repos.lo cancel.lo compat.lo compose_delta.lo debug_editor.lo default_editor.lo deprecated.lo depth_filter_editor.lo editor.lo element.lo path_driver.lo svndiff.lo text_delta.lo version.lo xdelta.lo ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib/arm-linux-gnueabi -laprutil-1 -L/usr/lib/arm-linux-gnueabi -lapr-1 -lz )
libtool: install: /usr/bin/install -c .libs/libsvn_delta-1.so.0.0.0T /usr/local/lib/libsvn_delta-1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_delta-1.so.0.0.0 libsvn_delta-1.so.0 || { rm -f libsvn_delta-1.so.0 && ln -s libsvn_delta-1.so.0.0.0 libsvn_delta-1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_delta-1.so.0.0.0 libsvn_delta-1.so || { rm -f libsvn_delta-1.so && ln -s libsvn_delta-1.so.0.0.0 libsvn_delta-1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsvn_delta-1.lai /usr/local/lib/libsvn_delta-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_delta-1.a /usr/local/lib/libsvn_delta-1.a
libtool: install: chmod 644 /usr/local/lib/libsvn_delta-1.a
libtool: install: ranlib /usr/local/lib/libsvn_delta-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 subversion/libsvn_delta/libsvn_delta.pc /usr/local/share/pkgconfig/libsvn_delta.pc
cd subversion/libsvn_fs_util ; /bin/bash "/root/subversion-1.10.6/libtool" --mode=install /usr/bin/install -c libsvn_fs_util-1.la /usr/local/lib/libsvn_fs_util-1.la
libtool: warning: relinking 'libsvn_fs_util-1.la'
libtool: install: (cd /root/subversion-1.10.6/subversion/libsvn_fs_util; /bin/bash "/root/subversion-1.10.6/libtool" --tag CC --silent --mode=relink gcc -g -O2 -pthread -rpath /usr/local/lib -version-info 0 -Wl,--no-undefined -o libsvn_fs_util-1.la fs-util.lo ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib/arm-linux-gnueabi -laprutil-1 -L/usr/lib/arm-linux-gnueabi -lapr-1 )
libtool: install: /usr/bin/install -c .libs/libsvn_fs_util-1.so.0.0.0T /usr/local/lib/libsvn_fs_util-1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_fs_util-1.so.0.0.0 libsvn_fs_util-1.so.0 || { rm -f libsvn_fs_util-1.so.0 && ln -s libsvn_fs_util-1.so.0.0.0 libsvn_fs_util-1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_fs_util-1.so.0.0.0 libsvn_fs_util-1.so || { rm -f libsvn_fs_util-1.so && ln -s libsvn_fs_util-1.so.0.0.0 libsvn_fs_util-1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsvn_fs_util-1.lai /usr/local/lib/libsvn_fs_util-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_fs_util-1.a /usr/local/lib/libsvn_fs_util-1.a
libtool: install: chmod 644 /usr/local/lib/libsvn_fs_util-1.a
libtool: install: ranlib /usr/local/lib/libsvn_fs_util-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 subversion/libsvn_fs_util/libsvn_fs_util.pc /usr/local/share/pkgconfig/libsvn_fs_util.pc
cd subversion/libsvn_fs_fs ; /bin/bash "/root/subversion-1.10.6/libtool" --mode=install /usr/bin/install -c libsvn_fs_fs-1.la /usr/local/lib/libsvn_fs_fs-1.la
libtool: warning: relinking 'libsvn_fs_fs-1.la'
libtool: install: (cd /root/subversion-1.10.6/subversion/libsvn_fs_fs; /bin/bash "/root/subversion-1.10.6/libtool" --tag CC --silent --mode=relink gcc -g -O2 -pthread -rpath /usr/local/lib -version-info 0 -Wl,--no-undefined -o libsvn_fs_fs-1.la cached_data.lo caching.lo dag.lo dump-index.lo fs.lo fs_fs.lo hotcopy.lo id.lo index.lo load-index.lo lock.lo low_level.lo pack.lo recovery.lo rep-cache.lo rev_file.lo revprops.lo stats.lo temp_serializer.lo transaction.lo tree.lo util.lo verify.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib/arm-linux-gnueabi -laprutil-1 -L/usr/lib/arm-linux-gnueabi -lapr-1 ../../subversion/libsvn_fs_util/libsvn_fs_util-1.la )
libtool: install: /usr/bin/install -c .libs/libsvn_fs_fs-1.so.0.0.0T /usr/local/lib/libsvn_fs_fs-1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_fs_fs-1.so.0.0.0 libsvn_fs_fs-1.so.0 || { rm -f libsvn_fs_fs-1.so.0 && ln -s libsvn_fs_fs-1.so.0.0.0 libsvn_fs_fs-1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_fs_fs-1.so.0.0.0 libsvn_fs_fs-1.so || { rm -f libsvn_fs_fs-1.so && ln -s libsvn_fs_fs-1.so.0.0.0 libsvn_fs_fs-1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsvn_fs_fs-1.lai /usr/local/lib/libsvn_fs_fs-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_fs_fs-1.a /usr/local/lib/libsvn_fs_fs-1.a
libtool: install: chmod 644 /usr/local/lib/libsvn_fs_fs-1.a
libtool: install: ranlib /usr/local/lib/libsvn_fs_fs-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 subversion/libsvn_fs_fs/libsvn_fs_fs.pc /usr/local/share/pkgconfig/libsvn_fs_fs.pc
cd subversion/libsvn_fs_x ; /bin/bash "/root/subversion-1.10.6/libtool" --mode=install /usr/bin/install -c libsvn_fs_x-1.la /usr/local/lib/libsvn_fs_x-1.la
libtool: warning: relinking 'libsvn_fs_x-1.la'
libtool: install: (cd /root/subversion-1.10.6/subversion/libsvn_fs_x; /bin/bash "/root/subversion-1.10.6/libtool" --tag CC --silent --mode=relink gcc -g -O2 -pthread -rpath /usr/local/lib -version-info 0 -o libsvn_fs_x-1.la batch_fsync.lo cached_data.lo caching.lo changes.lo dag.lo dag_cache.lo fs.lo fs_id.lo fs_x.lo hotcopy.lo id.lo index.lo lock.lo low_level.lo noderevs.lo pack.lo recovery.lo rep-cache.lo reps.lo rev_file.lo revprops.lo string_table.lo temp_serializer.lo transaction.lo tree.lo util.lo verify.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib/arm-linux-gnueabi -laprutil-1 -L/usr/lib/arm-linux-gnueabi -lapr-1 ../../subversion/libsvn_fs_util/libsvn_fs_util-1.la )
libtool: install: /usr/bin/install -c .libs/libsvn_fs_x-1.so.0.0.0T /usr/local/lib/libsvn_fs_x-1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_fs_x-1.so.0.0.0 libsvn_fs_x-1.so.0 || { rm -f libsvn_fs_x-1.so.0 && ln -s libsvn_fs_x-1.so.0.0.0 libsvn_fs_x-1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsvn_fs_x-1.so.0.0.0 libsvn_fs_x-1.so || { rm -f libsvn_fs_x-1.so && ln -s libsvn_fs_x-1.so.0.0.0 libsvn_fs_x-1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsvn_fs_x-1.lai /usr/local/lib/libsvn_fs_x-1.la
libtool: install: /usr/bin/install -c .libs/libsvn_fs_x-1.a /usr/local/lib/libsvn_fs_x-1.a
libtool: install: chmod 644 /usr/local/lib/libsvn_fs_x-1.a
libtool: install: ranlib /usr/local/lib/libsvn_fs_x-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 subversion/libsvn_fs_x/libsvn_fs_x.pc /usr/local/share/pkgconfig/libsvn_fs_x.pc
/usr/bin/install -c -d /usr/local/lib /usr/local/share/pkgconfig
cd subversion/libsvn_fs ; /bin/bash "/root/subversion-1.10.6/libtool" --mode=install /usr/bin/install -c libsvn_fs-1.la /usr/local/lib/libsvn_fs-1.la
libtool: warning: relinking 'libsvn_fs-1.la'
libtool: install: (cd /root/subversion-1.10.6/subversion/libsvn_fs; /bin/bash "/root/subversion-1.10.6/libtool" --tag CC --silent --mode=relink gcc -g -O2 -pthread -rpath /usr/local/lib -version-info 0 -Wl,--no-undefined -o libsvn_fs-1.la access.lo deprecated.lo editor.lo fs-loader.lo ../../subversion/libsvn_fs_util/libsvn_fs_util-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_fs_fs/libsvn_fs_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_fs_util/libsvn_fs_util-1.la ../../subversion/libsvn_fs_x/libsvn_fs_x-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_fs_util/libsvn_fs_util-1.la -L/usr/lib/arm-linux-gnueabi -laprutil-1 -L/usr/lib/arm-linux-gnueabi -lapr-1 )
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `ensure_revprop_namespace':
(.text+0xa84): undefined reference to `svn_atomic_namespace__create'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `ensure_revprop_generation':
(.text+0xb08): undefined reference to `svn_named_atomic__get'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `ensure_revprop_generation':
(.text+0xb1c): undefined reference to `svn_named_atomic__read'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `ensure_revprop_generation':
(.text+0xbb0): undefined reference to `svn_named_atomic__cmpxchg'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `has_revprop_cache':
(.text+0xc70): undefined reference to `svn_named_atomic__is_efficient'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `ensure_revprop_timeout':
(.text+0xd14): undefined reference to `svn_named_atomic__get'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `unparse_dir_entries':
(.text+0x153c): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `recover_find_max_ids':
(.text+0x1b18): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `revprop_generation_fixup':
(.text+0x34d4): undefined reference to `svn_named_atomic__read'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `revprop_generation_fixup':
(.text+0x3500): undefined reference to `svn_named_atomic__add'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `recover_body':
(.text+0x7b48): undefined reference to `svn_atomic_namespace__cleanup'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `hotcopy_body':
(.text+0x8a40): undefined reference to `svn_atomic_namespace__cleanup'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `read_revprop_generation':
(.text+0x8dec): undefined reference to `svn_named_atomic__read'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `read_revprop_generation':
(.text+0x8e2c): undefined reference to `svn_named_atomic__read'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `read_pack_revprop':
(.text+0x91a8): undefined reference to `svn__decompress'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `set_revision_proplist':
(.text+0x9b64): undefined reference to `svn_named_atomic__write'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `set_revision_proplist':
(.text+0x9ba0): undefined reference to `svn_named_atomic__add'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `set_revision_proplist':
(.text+0x9c1c): undefined reference to `svn_named_atomic__add'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `svn_fs_fs__rep_contents_dir':
(.text+0xc07c): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `svn_fs_fs__rep_contents_dir':
(.text+0xc088): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `commit_body':
(.text+0xdd18): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `svn_fs_fs__list_transactions':
(.text+0xff40): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `svn_fs_fs__list_transactions':
(.text+0xff4c): undefined reference to `svn__apr_hash_index_klen'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `copy_revprops':
(.text.unlikely+0x290): undefined reference to `svn__compress'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs_fs.o): In function `repack_revprops.isra.31':
(.text.unlikely+0x77c): undefined reference to `svn__compress'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(lock.o): In function `write_digest_file':
(.text+0x7a4): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(lock.o): In function `write_digest_file':
(.text+0x7b0): undefined reference to `svn__apr_hash_index_klen'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(lock.o): In function `walk_digest_files.constprop.5':
(.text+0x10a0): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `merge':
(.text+0x504): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `merge':
(.text+0x510): undefined reference to `svn__apr_hash_index_klen'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `merge':
(.text+0x520): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `merge':
(.text+0x5d0): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `merge':
(.text+0x5dc): undefined reference to `svn__apr_hash_index_klen'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `merge':
(.text+0x5f0): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `verify_node':
(.text+0xd28): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(tree.o): In function `crawl_directory_dag_for_mergeinfo':
(.text+0x21cc): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(fs.o): In function `svn_fs_fs__init':
(.text+0x80c): undefined reference to `svn_ver__check_list2'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(temp_serializer.o): In function `svn_fs_fs__serialize_properties':
(.text+0x6f0): undefined reference to `svn__apr_hash_index_key'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(temp_serializer.o): In function `svn_fs_fs__serialize_properties':
(.text+0x700): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(temp_serializer.o): In function `svn_fs_fs__serialize_dir_entries':
(.text+0xb30): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(temp_serializer.o): In function `svn_fs_fs__serialize_mergeinfo':
(.text+0x12ec): undefined reference to `svn__apr_hash_index_val'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(caching.o): In function `svn_fs_fs__initialize_caches':
(.text+0x360): undefined reference to `svn_named_atomic__is_efficient'
/usr/lib/arm-linux-gnueabi/libsvn_fs_fs-1.a(dag.o): In function `svn_fs_fs__dag_delete_if_mutable':
(.text+0x1024): undefined reference to `svn__apr_hash_index_val'
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'libsvn_fs-1.la' with the above command before installing it
build-outputs.mk:1303: recipe for target 'install-ramod-lib' failed
make: *** [install-ramod-lib] Error 1
root_at_LCNAS:~/subversion-1.10.6#

Thanks,
Sanad MM

From: Thorsten <tg_at_freigmbh.de>
Sent: Thursday, 25 June, 2020 10:58 AM
To: Sanad Majid <sanad.majid_at_LumaCyte.com>
Cc: users_at_subversion.apache.org
Subject: Re: Subversion Build Issues - 1.10.6

WARNING: This message originated from an external sender.

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.



Hello,

You are aware that apxs is in the "apache2-dev" package, but you installed the "apche2" package ?
Am 25/06/2020 um 16:53 schrieb Sanad Majid:

Hi Daniel,



Thank you for your response. Could you please give some more details as I am just a beginner in this.



1. I have installed libssl-dev, but how to add libssl-dev to libserf-dev's Depends?



root_at_LCNAS:~# apt-get install libssl-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

Recommended packages:

  libssl-doc

The following NEW packages will be installed:

  libssl-dev

0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.

Need to get 1,110 kB of archives.

After this operation, 5,104 kB of additional disk space will be used.

Get:1 http://security.debian.org jessie/updates/main armel libssl-dev armel 1.0.1t-1+deb8u12 [1,110 kB]

Fetched 1,110 kB in 0s (1,255 kB/s)

debconf: delaying package configuration, since apt-utils is not installed

Selecting previously unselected package libssl-dev:armel.

(Reading database ... 25150 files and directories currently installed.)

Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u12_armel.deb ...

Unpacking libssl-dev:armel (1.0.1t-1+deb8u12) ...

Setting up libssl-dev:armel (1.0.1t-1+deb8u12) ...

root_at_LCNAS:~#



2. Which package do I need to install to fix apxs issues? I have the latest version of apache2.



root_at_LCNAS:~# apt-get install apache2

Reading package lists... Done

Building dependency tree

Reading state information... Done

apache2 is already the newest version (2.4.25-3+deb9u6.netgear2).

0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.

root_at_LCNAS:~#



root_at_LCNAS:~# apt-file search bin/apxs

apache2-dev: /usr/bin/apxs

apache2-dev: /usr/bin/apxs2

root_at_LCNAS:~#



root_at_LCNAS:~/subversion-1.10.6#<mailto:root_at_LCNAS:~/subversion-1.10.6> ./configure --with-lz4=internal --with-utf8proc=internal --with-apxs=/usr/bin/apxs

configure: Configuring Subversion 1.10.6

configure: creating config.nice

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking if gcc accepts -std=c90... yes

checking if gcc accepts -w... yes

checking if gcc accepts -Werror=unknown-warning-option... no

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking if g++ accepts -std=c++98... yes

checking if g++ accepts -w... yes

checking if g++ accepts -Werror=unknown-warning-option... no

checking how to run the C preprocessor... gcc -E

checking for a sed that does not truncate output... /bin/sed

checking build system type... armv7l-unknown-linux-gnueabi

checking host system type... armv7l-unknown-linux-gnueabi

checking target system type... armv7l-unknown-linux-gnueabi

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking whether ln -s works... yes

checking for a BSD-compatible install... /usr/bin/install -c

configure: Apache Portable Runtime (APR) library configuration

checking for APR... yes

checking APR version... 1.5.1

configure: Apache Portable Runtime Utility (APRUTIL) library configuration

checking for APR-util... yes

checking APRUTIL version... 1.5.4

checking for pkg-config... no

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

configure: serf library configuration via pkg-config

checking was serf enabled... no



An appropriate version of serf could not be found, so libsvn_ra_serf

will not be built. If you want to build libsvn_ra_serf, please

install serf 1.3.4 or newer.



configure: looking for apr_memcache as part of apr-util

checking apr_memcache.h usability... yes

checking apr_memcache.h presence... yes

checking for apr_memcache.h... yes

checking for apr_memcache_create in -laprutil-1... yes

checking for Apache module support via DSO through APXS... ./configure: line 5869: /usr/bin/apxs: No such file or directory

configure: error: no - APXS refers to an old version of Apache

                      Unable to locate /mod_dav.h

root_at_LCNAS:~/subversion-1.10.6#<mailto:root_at_LCNAS:~/subversion-1.10.6>



3. Not able to install 'libutf8proc-dev'



root_at_LCNAS:~# apt-get install libutf8proc-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package libutf8proc-dev

root_at_LCNAS:~#

4. < Do you already have libsvn*.so files installed on your system? > Yes. Subversion was working till there was a firmware upgrade in NAS. It was configured by another person, but he left the company.



root_at_LCNAS:/usr/lib/apache2/modules# ls

httpd.exp mod_cgi.so mod_parp.so

libphp5.so mod_charset_lite.so mod_privsep.so

mod_access_compat.so mod_csrf.so mod_proxy_ajp.so

mod_actions.so mod_data.so mod_proxy_balancer.so

mod_alias.so mod_dav_fs.so mod_proxy_connect.so

mod_allowmethods.so mod_dav_lock.so mod_proxy_express.so

mod_asis.so mod_dav.so mod_proxy_fcgi.so

mod_auth_basic.so mod_dav_svn.so mod_proxy_fdpass.so

mod_auth_digest.so mod_dbd.so mod_proxy_ftp.so

mod_auth_form.so mod_deflate.so mod_proxy_hcheck.so

mod_authn_alias.so mod_dialup.so mod_proxy_html.so

mod_authn_anon.so mod_dir.so mod_proxy_http.so

mod_authn_core.so mod_disk_cache.so mod_proxy_scgi.so

mod_authn_dbd.so mod_dumpio.so mod_proxy.so

mod_authn_dbm.so mod_echo.so mod_proxy_wstunnel.so

mod_authn_default.so mod_env.so mod_ratelimit.so

mod_authn_file.so mod_expires.so mod_reflector.so

mod_authn_privsep.so mod_ext_filter.so mod_remoteip.so

mod_authn_socache.so mod_file_cache.so mod_reqtimeout.so

mod_authnz_external.so mod_filter.so mod_request.so

mod_authnz_fcgi.so mod_headers.so mod_rewrite.so

mod_authnz_ldap.so mod_heartbeat.so mod_sed.so

mod_auth_token.so mod_heartmonitor.so mod_session_cookie.so

mod_authz_core.so mod_ident.so mod_session_crypto.so

mod_authz_dbd.so mod_imagemap.so mod_session_dbd.so

mod_authz_dbm.so mod_include.so mod_session.so

mod_authz_default.so mod_info.so mod_setenvif.so

mod_authz_groupfile.so mod_lbmethod_bybusyness.so mod_slotmem_plain.so

mod_authz_host.so mod_lbmethod_byrequests.so mod_slotmem_shm.so

mod_authz_owner.so mod_lbmethod_bytraffic.so mod_socache_dbm.so

mod_authz_svn.so mod_lbmethod_heartbeat.so mod_socache_memcache.so

mod_authz_unixgroup.so mod_ldap.so mod_socache_shmcb.so

mod_authz_user.so mod_log_debug.so mod_speling.so

mod_autoindex.so mod_log_forensic.so mod_ssl.so

mod_bucketeer.so mod_lua.so mod_status.so

mod_buffer.so mod_macro.so mod_substitute.so

mod_cache_disk.so mod_mem_cache.so mod_suexec.so

mod_cache.so mod_mime_magic.so mod_unique_id.so

mod_cache_socache.so mod_mime.so mod_userdir.so

mod_case_filter_in.so mod_mpm_event.so mod_usertrack.so

mod_case_filter.so mod_mpm_prefork.so mod_vhost_alias.so

mod_cern_meta.so mod_mpm_worker.so mod_xml2enc.so

mod_cgid.so mod_negotiation.so

root_at_LCNAS:/usr/lib/apache2/modules#



Thanks,

Sanad MM



-----Original Message-----
From: Daniel Shahaf <d.s_at_daniel.shahaf.name><mailto:d.s_at_daniel.shahaf.name>
Sent: Thursday, 25 June, 2020 7:09 AM
To: Nathan Hartman <hartman.nathan_at_gmail.com><mailto:hartman.nathan_at_gmail.com>
Cc: Sanad Majid <sanad.majid_at_LumaCyte.com><mailto:sanad.majid_at_LumaCyte.com>; users_at_subversion.apache.org<mailto:users_at_subversion.apache.org>
Subject: Re: Subversion Build Issues - 1.10.6



WARNING: This message originated from an external sender.

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.







Nathan Hartman wrote on Wed, 24 Jun 2020 22:16 -0400:

> On Wed, Jun 24, 2020 at 9:13 AM Sanad Majid <sanad.majid_at_lumacyte.com<mailto:sanad.majid_at_lumacyte.com>>

> wrote:

>

> > I am trying to build Subverion 1.10.6 on our NAS (Netgear ReadyNAS

> > 104), but got following issues. Could anyone help me to resolve this

> > issue? Logs are given below.

> >

> (snip)

>

> > Q1. How to resolve serf issue?

> >

> > Q2. I couldn’t locate apxs script, but mod_dav_svn.so is present in

> > /usr/lib/apache2/modules. (for trying ./configure

> > --with-apxs=/usr/local/apache2/bin/apxs)

> >

> > Q3. How to resolve UTF8PROC Issues?

> >

> Have you tried:

>

> ./configure --with-serf=/path/to/serf --with-lz4=internal

> --with-utf8proc=internal

>

> That should help with Q1 and Q3. Not sure about Q2. There might be

> some other option(s) needed for configure, but let's try these first.



For Q1, you might be running into the bug that was fixed in version 1.3.9-3 of the libserf-dev Debian package:

.

    serf (1.3.9-3) unstable; urgency=medium



      * Add libssl-dev to libserf-dev's Depends, otherwise pkg-config can't

        provide information about serf.



     -- James McCoy <jamessan_at_debian.org<mailto:jamessan_at_debian.org>> Wed, 07 Jun 2017 23:09:48 -0400



Passing an argument to the --with-serf option will bypass pkg-config and sidestep the bug insofar as configure's detection of libserf is concerned, but you might want to install libssl-dev anyway if you'd like to be able to connect to repositories over https://.



For Q2, you might need to install the relevant package:

.

    % apt-file search bin/apxs

    apache2-dev: /usr/bin/apxs

    apache2-dev: /usr/bin/apxs2



The relevant configure option is --with-apxs, but you will likely not need to specify it explicitly once the package is installed.



For Q3, an alternative solution is to install libutf8proc-dev.



And if these guesses are correct, then for future reference see «apt-get build-dep subversion».



Do you already have libsvn*.so files installed on your system? On Debian derivatives there may be linker errors (at the end of the build) due to confusion between the installed libsvn*.so and the ones being built.



Cheers,



Daniel
Received on 2020-06-25 18:21:17 CEST

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.