subversionと格闘

 このブログを運用しているサーバにsubversionを入れて、このブログのテンプレート(Movable Typeのテンプレート)やapacheの設定などをバージョン管理しているのですが、作業するのは家のパソコンと会社のパソコンなので、どちらかで作業してsvn ciしたときは、次に別のパソコンを開いたときにsvn updateして最新状態を保つようにしています。
 仕事中にふと、サーバ内に作業スペースを確保しておけば(svn coしておけば)2台のパソコンの両方で常に最新状態を保っているかどうか気にしなくていいじゃんと思い立ったのでやってみようとしたら、svnコマンドが実行できなくなってた。

root@~: svn
/libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r"

 みたいな感じでエラーが出るのです。ググってググってFreeBSDのportからkerberonを入れ直してみたり、subversionを入れ直してみたりしたのだけど改善されないので、ソースからsubversionを入れてみました。とりあえずsvnコマンドを実行することは出来たのですが、今度はダイアログメッセージが文字化け。
 ……というところで会社をあとにして、家に着いたのが11時過ぎ、コンビニで買った夜ごはんを食べてから再度チャレンジしてみました。screen立ち上げてるからすぐに続きができます。
 とりあえずsvnコマンド実行できるようにはなったから、この状態で再度portからsubversionを再インストールしてみました。これがビンゴで無事復旧しました。さっそくホームディレクトリに作業ディレクトリを作ってsvn coした。xhtmlとかcss書くにはMacのskEditが手放せないのですが、とりあえずサーバにも作業スペース確保したということで今日のところは判定勝ち。

root@~/tmp/subversion-1.3.2: make check
Running all tests in compat-test...success
Running all tests in config-test...success
Running all tests in diff-diff3-test...FAILURE
Running all tests in fs-test...success
Running all tests in hashdump-test...success
Running all tests in locks-test...success
Running all tests in opt-test...success
Running all tests in path-test...success
Running all tests in ra-local-test...success
Running all tests in random-test...success
Running all tests in repos-test...success
Running all tests in stream-test...success
Running all tests in string-test...success
Running all tests in time-test...success
Running all tests in translate-test...success
Running all tests in utf-test...success
Running all tests in target-test.py...success
Running all tests in getopt_tests.py...FAILURE
Running all tests in basic_tests.py...FAILURE
Running all tests in commit_tests.py...FAILURE
Running all tests in update_tests.py...FAILURE
Running all tests in switch_tests.py...FAILURE
Running all tests in prop_tests.py...FAILURE
Running all tests in schedule_tests.py...FAILURE
Running all tests in log_tests.py...FAILURE
Running all tests in copy_tests.py...FAILURE
Running all tests in diff_tests.py...FAILURE
Running all tests in export_tests.py...FAILURE
Running all tests in externals_tests.py...FAILURE
Running all tests in merge_tests.py...FAILURE
Running all tests in revert_tests.py...FAILURE
Running all tests in stat_tests.py...FAILURE
Running all tests in trans_tests.py...FAILURE
Running all tests in autoprop_tests.py...FAILURE
Running all tests in blame_tests.py...FAILURE
Running all tests in special_tests.py...FAILURE
Running all tests in svnadmin_tests.py...FAILURE
Running all tests in svnlook_tests.py...FAILURE
Running all tests in svnversion_tests.py...FAILURE
Running all tests in utf8_tests.py...success
Running all tests in history_tests.py...FAILURE
Running all tests in lock_tests.py...FAILURE
Running all tests in cat_tests.py...FAILURE
Running all tests in import_tests.py...FAILURE
Running all tests in authz_tests.py...FAILURE
Running all tests in changes-test...success
Running all tests in fs-base-test...success
Running all tests in key-test...success
Running all tests in skel-test...success
Running all tests in strings-reps-test...success
At least one test FAILED, checking /root/tmp/subversion-1.3.2/tests.log
FAIL:  diff-diff3-test 2: 2-way unified diff and trivial merge
FAIL:  getopt_tests.py 1: run svn with no arguments
FAIL:  getopt_tests.py 2: run svn --version
FAIL:  getopt_tests.py 4: run svn --help
FAIL:  getopt_tests.py 5: run svn help
FAIL:  getopt_tests.py 6: run svn help --version
FAIL:  getopt_tests.py 7: run svn help bogus-cmd
FAIL:  getopt_tests.py 8: run svn help log switch
FAIL:  basic_tests.py 1: basic checkout of a wc
FAIL:  commit_tests.py 1: commit one file
FAIL:  update_tests.py 1: update a locally-modified binary file
FAIL:  switch_tests.py 1: test some basic switching operations
FAIL:  prop_tests.py 1: write/read props in wc only (ps, pl, pdel)
FAIL:  schedule_tests.py 1: schedule: add some files
FAIL:  log_tests.py 1: 'svn log', no args, top of wc
FAIL:  copy_tests.py 1: basic copy and move commands -- on files only
FAIL:  diff_tests.py 1: update a file
FAIL:  export_tests.py 1: export an empty directory
FAIL:  externals_tests.py 1: test checkouts with externals
FAIL:  merge_tests.py 1: performing a merge, with mixed results
FAIL:  revert_tests.py 1: revert reexpands manually contracted keyword
FAIL:  stat_tests.py 1: status on unversioned file in current directory
FAIL:  trans_tests.py 1: commit new files with keywords active from birth
FAIL:  autoprop_tests.py 1: add: config=no,  commandline=none
FAIL:  blame_tests.py 1: annotate a file whose name contains a space
FAIL:  special_tests.py 1: general symlink handling
FAIL:  svnadmin_tests.py 1: loading of dumpstream with extra headers
FAIL:  svnadmin_tests.py 2: load success on oversized Content-length
FAIL:  svnadmin_tests.py 4: 'svnadmin dump' on copied directory
FAIL:  svnlook_tests.py 1: test miscellaneous svnlook features
FAIL:  svnversion_tests.py 1: test 'svnversion' on wc and other dirs
FAIL:  history_tests.py 1: verify that 'svn cat' traces renames
FAIL:  lock_tests.py 1: lock a file and verify that it's locked
FAIL:  cat_tests.py 1: cat a local directory
FAIL:  import_tests.py 1: import of executable files
FAIL:  authz_tests.py 1: authz issue #2486 - open root
At least one test was SKIPPED, checking /root/tmp/subversion-1.3.2/tests.log
SKIP:  utf8_tests.py 1: conversion of paths and logs to/from utf8
*** Error code 1

Stop in /root/tmp/subversion-1.3.2.
comments powered by Disqus